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 |
addAll(ID... ids) |
void |
addAllById(ID... ids)
Replaces
GraphEntityCollection.addAll(Object[]) . |
IdType |
getIdType()
Gets the ID type of the element type.
|
void |
removeAll(ID... ids) |
void |
removeAllById(ID... ids)
|
addAll, addAllAsync, addAllById, addAllByIdAsync, addAllElementsAsync, containsAsync, removeAllAsync, removeAllById, removeAllByIdAsync, removeAllElementsAsync
add, addAll, addAllAsync, addAllElements, clear, clearAsync, clone, clone, cloneAsync, cloneAsync, contains, destroyAsync, getCollectionType, getContentType, getGraph, getId, getName, isMutable, isMutableAsync, iterator, iteratorAsync, remove, removeAll, removeAllElements, size, sizeAsync, stream, toMutable, toMutable, toMutableAsync, toMutableAsync, toString
equals, hashCode
close, destroy
@SafeVarargs public final void addAll(ID... ids) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
addAll
in class GraphEntityCollection<PgxVertex<ID>,ID>
ids
- elements to addjava.util.concurrent.ExecutionException
java.lang.InterruptedException
@SafeVarargs public final void addAllById(ID... ids) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
GraphEntityCollection
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 removeAll(ID... ids) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
removeAll
in class GraphEntityCollection<PgxVertex<ID>,ID>
ids
- elements to removejava.util.concurrent.ExecutionException
java.lang.InterruptedException
@SafeVarargs public final void removeAllById(ID... ids) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
GraphEntityCollection
removeAllById
in class GraphEntityCollection<PgxVertex<ID>,ID>
ids
- elements to removejava.util.concurrent.ExecutionException
java.lang.InterruptedException