ID
- the vertex ID type.public abstract class VertexCollection<ID> extends GraphEntityCollection<PgxVertex<ID>,ID> implements oracle.pgx.common.IdentifiableVertexCollection
Modifier and Type | Method and Description |
---|---|
void |
addAllById(ID... ids)
Replaces
#addAll(Object[]) . |
IdType |
getIdType()
Gets the ID type of the element type.
|
void |
removeAllById(ID... ids)
Replaces
#removeAll(Object[]) . |
addAll, addAllById, addAllByIdAsync, addAllElementsAsync, containsAsync, removeAllById, removeAllByIdAsync, removeAllElementsAsync
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
equals, hashCode
close, destroy
@SafeVarargs public final void addAllById(ID... ids) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
GraphEntityCollection
#addAll(Object[])
.addAllById
in class GraphEntityCollection<PgxVertex<ID>,ID>
ids
- elements to addjava.util.concurrent.ExecutionException
java.lang.InterruptedException
public IdType getIdType()
PgxCollection
getIdType
in class PgxCollection<PgxVertex<ID>,ID>
@SafeVarargs public final void removeAllById(ID... ids) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
GraphEntityCollection
#removeAll(Object[])
.removeAllById
in class GraphEntityCollection<PgxVertex<ID>,ID>
ids
- elements to removejava.util.concurrent.ExecutionException
java.lang.InterruptedException