public class ComponentCollection<ID> extends VertexCollection<ID>
| Constructor and Description |
|---|
ComponentCollection(PgxGraph graph, oracle.pgx.common.PgxId collectionNamespace, long id) |
| Modifier and Type | Method and Description |
|---|---|
PgxFuture<java.lang.Void> |
addAllAsync(java.util.Collection<PgxVertex<ID>> source) |
PgxFuture<java.lang.Void> |
clearAsync()
Clear an existing collection
|
PgxFuture<PgxCollection<PgxVertex<ID>,ID>> |
cloneAsync(java.lang.String newName)
Clone an existing collection.
|
PgxFuture<java.lang.Boolean> |
containsAsync(PgxVertex<ID> element)
Returns
true if this collection contains the specified element. |
PgxFuture<java.lang.Void> |
destroyAsync()
Requests destruction of this object.
|
boolean |
isMutable()
Blocking version of
PgxCollection.isMutableAsync(). |
PgxFuture<java.lang.Boolean> |
isMutableAsync()
Checks whether an existing collection is mutable
|
PgxFuture<java.lang.Void> |
removeAllAsync(java.util.Collection<PgxVertex<ID>> source) |
PgxFuture<PgxCollection<PgxVertex<ID>,ID>> |
toMutableAsync(java.lang.String newName)
Create a mutable copy of an existing collection
|
addAll, addAllById, getIdType, removeAll, removeAllByIdaddAll, addAllById, addAllByIdAsync, addAllElementsAsync, removeAllById, removeAllByIdAsync, removeAllElementsAsyncadd, addAll, addAllAsync, addAllElements, clear, clone, clone, cloneAsync, contains, getCollectionType, getContentType, getGraph, getId, getName, iterator, iteratorAsync, remove, removeAll, removeAllElements, size, sizeAsync, stream, toMutable, toMutable, toMutableAsync, toStringequals, hashCodeclose, destroypublic ComponentCollection(PgxGraph graph, oracle.pgx.common.PgxId collectionNamespace, long id)
public PgxFuture<java.lang.Void> addAllAsync(java.util.Collection<PgxVertex<ID>> source)
addAllAsync in class GraphEntityCollection<PgxVertex<ID>,ID>source - elements to addpublic PgxFuture<java.lang.Void> clearAsync()
PgxCollectionclearAsync in class PgxCollection<PgxVertex<ID>,ID>public PgxFuture<PgxCollection<PgxVertex<ID>,ID>> cloneAsync(java.lang.String newName)
PgxCollectioncloneAsync in class PgxCollection<PgxVertex<ID>,ID>newName - name of the new collectionpublic PgxFuture<java.lang.Boolean> containsAsync(PgxVertex<ID> element)
PgxCollectiontrue if this collection contains the specified element.containsAsync in class GraphEntityCollection<PgxVertex<ID>,ID>element - element whose presence in this collection is to be testedtrue if this collection contains the specified elementpublic PgxFuture<java.lang.Void> destroyAsync()
DestroyabledestroyAsync in class PgxCollection<PgxVertex<ID>,ID>public boolean isMutable()
PgxCollectionPgxCollection.isMutableAsync(). Calls PgxCollection.isMutableAsync() and waits for the returned PgxFuture to complete.isMutable in class PgxCollection<PgxVertex<ID>,ID>public PgxFuture<java.lang.Boolean> isMutableAsync()
PgxCollectionisMutableAsync in class PgxCollection<PgxVertex<ID>,ID>true if the collection is mutable, false if it is immutablepublic PgxFuture<java.lang.Void> removeAllAsync(java.util.Collection<PgxVertex<ID>> source)
removeAllAsync in class GraphEntityCollection<PgxVertex<ID>,ID>source - elements to removepublic PgxFuture<PgxCollection<PgxVertex<ID>,ID>> toMutableAsync(java.lang.String newName)
PgxCollectiontoMutableAsync in class PgxCollection<PgxVertex<ID>,ID>newName - name of the new collection