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 void
addAllById(java.lang.Long... ids)
Replaces#addAll(Object[])
.IdType
getIdType()
Gets the ID type of the element type.void
removeAllById(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:PgxCollection
Gets the ID type of the element type.- Specified by:
getIdType
in 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.InterruptedException
Description copied from class:GraphEntityCollection
Replaces#addAll(Object[])
.- Specified by:
addAllById
in classGraphEntityCollection<PgxEdge,java.lang.Long>
- Parameters:
ids
- elements to add- Throws:
java.util.concurrent.ExecutionException
java.lang.InterruptedException
-
removeAllById
public void removeAllById(java.lang.Long... ids) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
Description copied from class:GraphEntityCollection
Replaces#removeAll(Object[])
.- Specified by:
removeAllById
in classGraphEntityCollection<PgxEdge,java.lang.Long>
- Parameters:
ids
- elements to remove- Throws:
java.util.concurrent.ExecutionException
java.lang.InterruptedException
-
-