Package oracle.pgx.api
Class EdgeCollection
- java.lang.Object
-
- oracle.pgx.api.internal.ApiObject
-
- oracle.pgx.api.Destroyable
-
- oracle.pgx.api.PgxManagedObject
-
- oracle.pgx.api.PgxCollection<E,ID>
-
- oracle.pgx.api.GraphEntityCollection<PgxEdge,java.lang.Long>
-
- oracle.pgx.api.EdgeCollection
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<PgxEdge>,oracle.pgx.common.IdentifiableCollection,oracle.pgx.common.IdentifiableEdgeCollection
- Direct Known Subclasses:
EdgeSequence,EdgeSet
public abstract class EdgeCollection extends GraphEntityCollection<PgxEdge,java.lang.Long> implements oracle.pgx.common.IdentifiableEdgeCollection
A collection of edges.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAllById(java.lang.Long... ids)Replaces#addAll(Object[]).IdTypegetIdType()Gets the ID type of the element type.voidremoveAllById(java.lang.Long... ids)Replaces#removeAll(Object[]).-
Methods inherited from class oracle.pgx.api.GraphEntityCollection
addAll, addAllById, addAllByIdAsync, addAllElementsAsync, containsAsync, removeAllById, removeAllByIdAsync, removeAllElementsAsync
-
Methods inherited from class oracle.pgx.api.PgxCollection
add, addAllAsync, addAllElements, clear, clearAsync, clone, clone, cloneAsync, cloneAsync, contains, destroyAsync, getCollectionType, getContentType, getGraph, getId, getName, isMutable, isMutableAsync, iterator, iteratorAsync, remove, removeAllElements, size, sizeAsync, stream, toMutable, toMutable, toMutableAsync, toMutableAsync, toString
-
Methods inherited from class oracle.pgx.api.PgxManagedObject
equals, hashCode
-
Methods inherited from class oracle.pgx.api.Destroyable
close, destroy
-
-
-
-
Method Detail
-
getIdType
public IdType getIdType()
Description copied from class:PgxCollectionGets the ID type of the element type.- Specified by:
getIdTypein classPgxCollection<PgxEdge,java.lang.Long>- Returns:
- the ID type of the element type.
-
addAllById
public void addAllById(java.lang.Long... ids) throws java.util.concurrent.ExecutionException, java.lang.InterruptedExceptionDescription copied from class:GraphEntityCollectionReplaces#addAll(Object[]).- Specified by:
addAllByIdin classGraphEntityCollection<PgxEdge,java.lang.Long>- Parameters:
ids- elements to add- Throws:
java.util.concurrent.ExecutionExceptionjava.lang.InterruptedException
-
removeAllById
public void removeAllById(java.lang.Long... ids) throws java.util.concurrent.ExecutionException, java.lang.InterruptedExceptionDescription copied from class:GraphEntityCollectionReplaces#removeAll(Object[]).- Specified by:
removeAllByIdin classGraphEntityCollection<PgxEdge,java.lang.Long>- Parameters:
ids- elements to remove- Throws:
java.util.concurrent.ExecutionExceptionjava.lang.InterruptedException
-
-