Package oracle.pgx.api
Class VertexCollection<ID>
- 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<PgxVertex<ID>,ID>
-
- oracle.pgx.api.VertexCollection<ID>
-
- Type Parameters:
ID- the vertex ID type.
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<PgxVertex<ID>>,oracle.pgx.common.IdentifiableCollection,oracle.pgx.common.IdentifiableVertexCollection
- Direct Known Subclasses:
ComponentCollection,VertexSequence,VertexSet
public abstract class VertexCollection<ID> extends GraphEntityCollection<PgxVertex<ID>,ID> implements oracle.pgx.common.IdentifiableVertexCollection
A collection of vertices.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAllById(ID... ids)Replaces#addAll(Object[]).IdTypegetIdType()Gets the ID type of the element type.voidremoveAllById(ID... 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<PgxVertex<ID>,ID>- Returns:
- the ID type of the element type.
-
addAllById
@SafeVarargs public final void addAllById(ID... ids) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
Description copied from class:GraphEntityCollectionReplaces#addAll(Object[]).- Specified by:
addAllByIdin classGraphEntityCollection<PgxVertex<ID>,ID>- Parameters:
ids- elements to add- Throws:
java.util.concurrent.ExecutionExceptionjava.lang.InterruptedException
-
removeAllById
@SafeVarargs public final void removeAllById(ID... ids) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
Description copied from class:GraphEntityCollectionReplaces#removeAll(Object[]).- Specified by:
removeAllByIdin classGraphEntityCollection<PgxVertex<ID>,ID>- Parameters:
ids- elements to remove- Throws:
java.util.concurrent.ExecutionExceptionjava.lang.InterruptedException
-
-