Package com.arangodb
Interface ArangoCollectionAsync
-
- All Superinterfaces:
ArangoSerdeAccessor
@ThreadSafe public interface ArangoCollectionAsync extends ArangoSerdeAccessor
Asynchronous version ofArangoCollection
-
-
Method Summary
-
Methods inherited from interface com.arangodb.ArangoSerdeAccessor
getSerde
-
-
-
-
Method Detail
-
db
ArangoDatabaseAsync db()
- Returns:
- database async API
-
name
String name()
- Returns:
- collection name
-
insertDocument
CompletableFuture<DocumentCreateEntity<Void>> insertDocument(Object value)
Asynchronous version ofArangoCollection.insertDocument(Object)
-
insertDocument
<T> CompletableFuture<DocumentCreateEntity<T>> insertDocument(T value, DocumentCreateOptions options)
Asynchronous version ofArangoCollection.insertDocument(Object, DocumentCreateOptions)
-
insertDocument
<T> CompletableFuture<DocumentCreateEntity<T>> insertDocument(T value, DocumentCreateOptions options, Class<T> type)
Asynchronous version ofArangoCollection.insertDocument(Object, DocumentCreateOptions, Class)
-
insertDocuments
CompletableFuture<MultiDocumentEntity<DocumentCreateEntity<Void>>> insertDocuments(RawData values)
Asynchronous version ofArangoCollection.insertDocuments(RawData)
-
insertDocuments
CompletableFuture<MultiDocumentEntity<DocumentCreateEntity<RawData>>> insertDocuments(RawData values, DocumentCreateOptions options)
Asynchronous version ofArangoCollection.insertDocuments(RawData, DocumentCreateOptions)
-
insertDocuments
CompletableFuture<MultiDocumentEntity<DocumentCreateEntity<Void>>> insertDocuments(Iterable<?> values)
Asynchronous version ofArangoCollection.insertDocuments(Iterable)
-
insertDocuments
CompletableFuture<MultiDocumentEntity<DocumentCreateEntity<Void>>> insertDocuments(Iterable<?> values, DocumentCreateOptions options)
Asynchronous version ofArangoCollection.insertDocuments(Iterable, DocumentCreateOptions)
-
insertDocuments
<T> CompletableFuture<MultiDocumentEntity<DocumentCreateEntity<T>>> insertDocuments(Iterable<? extends T> values, DocumentCreateOptions options, Class<T> type)
Asynchronous version ofArangoCollection.insertDocuments(Iterable, DocumentCreateOptions, Class)
-
importDocuments
CompletableFuture<DocumentImportEntity> importDocuments(Iterable<?> values)
Asynchronous version ofArangoCollection.importDocuments(Iterable)
-
importDocuments
CompletableFuture<DocumentImportEntity> importDocuments(Iterable<?> values, DocumentImportOptions options)
Asynchronous version ofArangoCollection.importDocuments(Iterable, DocumentImportOptions)
-
importDocuments
CompletableFuture<DocumentImportEntity> importDocuments(RawData values)
Asynchronous version ofArangoCollection.importDocuments(RawData)
-
importDocuments
CompletableFuture<DocumentImportEntity> importDocuments(RawData values, DocumentImportOptions options)
Asynchronous version ofArangoCollection.importDocuments(RawData, DocumentImportOptions)
-
getDocument
<T> CompletableFuture<T> getDocument(String key, Class<T> type)
Asynchronous version ofArangoCollection.getDocument(String, Class)
-
getDocument
<T> CompletableFuture<T> getDocument(String key, Class<T> type, DocumentReadOptions options)
Asynchronous version ofArangoCollection.getDocument(String, Class, DocumentReadOptions)
-
getDocuments
<T> CompletableFuture<MultiDocumentEntity<T>> getDocuments(Iterable<String> keys, Class<T> type)
Asynchronous version ofArangoCollection.getDocuments(Iterable, Class)
-
getDocuments
<T> CompletableFuture<MultiDocumentEntity<T>> getDocuments(Iterable<String> keys, Class<T> type, DocumentReadOptions options)
Asynchronous version ofArangoCollection.getDocuments(Iterable, Class, DocumentReadOptions)
-
replaceDocument
CompletableFuture<DocumentUpdateEntity<Void>> replaceDocument(String key, Object value)
Asynchronous version ofArangoCollection.replaceDocument(String, Object)
-
replaceDocument
<T> CompletableFuture<DocumentUpdateEntity<T>> replaceDocument(String key, T value, DocumentReplaceOptions options)
Asynchronous version ofArangoCollection.replaceDocument(String, Object, DocumentReplaceOptions)
-
replaceDocument
<T> CompletableFuture<DocumentUpdateEntity<T>> replaceDocument(String key, T value, DocumentReplaceOptions options, Class<T> type)
Asynchronous version ofArangoCollection.replaceDocument(String, Object, DocumentReplaceOptions, Class)
-
replaceDocuments
CompletableFuture<MultiDocumentEntity<DocumentUpdateEntity<Void>>> replaceDocuments(RawData values)
Asynchronous version ofArangoCollection.replaceDocuments(RawData)
-
replaceDocuments
CompletableFuture<MultiDocumentEntity<DocumentUpdateEntity<RawData>>> replaceDocuments(RawData values, DocumentReplaceOptions options)
Asynchronous version ofArangoCollection.replaceDocuments(RawData, DocumentReplaceOptions)
-
replaceDocuments
CompletableFuture<MultiDocumentEntity<DocumentUpdateEntity<Void>>> replaceDocuments(Iterable<?> values)
Asynchronous version ofArangoCollection.replaceDocuments(Iterable)
)}
-
replaceDocuments
CompletableFuture<MultiDocumentEntity<DocumentUpdateEntity<Void>>> replaceDocuments(Iterable<?> values, DocumentReplaceOptions options)
Asynchronous version ofArangoCollection.replaceDocuments(Iterable, DocumentReplaceOptions)
-
replaceDocuments
<T> CompletableFuture<MultiDocumentEntity<DocumentUpdateEntity<T>>> replaceDocuments(Iterable<? extends T> values, DocumentReplaceOptions options, Class<T> type)
Asynchronous version ofArangoCollection.replaceDocuments(Iterable, DocumentReplaceOptions, Class)
-
updateDocument
CompletableFuture<DocumentUpdateEntity<Void>> updateDocument(String key, Object value)
Asynchronous version ofArangoCollection.updateDocument(String, Object)
-
updateDocument
<T> CompletableFuture<DocumentUpdateEntity<T>> updateDocument(String key, T value, DocumentUpdateOptions options)
Asynchronous version ofArangoCollection.updateDocument(String, Object, DocumentUpdateOptions)
-
updateDocument
<T> CompletableFuture<DocumentUpdateEntity<T>> updateDocument(String key, Object value, DocumentUpdateOptions options, Class<T> returnType)
Asynchronous version ofArangoCollection.updateDocument(String, Object, DocumentUpdateOptions, Class)
-
updateDocuments
CompletableFuture<MultiDocumentEntity<DocumentUpdateEntity<Void>>> updateDocuments(RawData values)
Asynchronous version ofArangoCollection.updateDocuments(RawData)
-
updateDocuments
CompletableFuture<MultiDocumentEntity<DocumentUpdateEntity<RawData>>> updateDocuments(RawData values, DocumentUpdateOptions options)
Asynchronous version ofArangoCollection.updateDocuments(RawData, DocumentUpdateOptions)
-
updateDocuments
CompletableFuture<MultiDocumentEntity<DocumentUpdateEntity<Void>>> updateDocuments(Iterable<?> values)
Asynchronous version ofArangoCollection.updateDocuments(Iterable)
-
updateDocuments
CompletableFuture<MultiDocumentEntity<DocumentUpdateEntity<Void>>> updateDocuments(Iterable<?> values, DocumentUpdateOptions options)
Asynchronous version ofArangoCollection.updateDocuments(Iterable, DocumentUpdateOptions)
-
updateDocuments
<T> CompletableFuture<MultiDocumentEntity<DocumentUpdateEntity<T>>> updateDocuments(Iterable<?> values, DocumentUpdateOptions options, Class<T> returnType)
Asynchronous version ofArangoCollection.updateDocuments(Iterable, DocumentUpdateOptions, Class)
-
deleteDocument
CompletableFuture<DocumentDeleteEntity<Void>> deleteDocument(String key)
Asynchronous version ofArangoCollection.deleteDocument(String)
-
deleteDocument
CompletableFuture<DocumentDeleteEntity<Void>> deleteDocument(String key, DocumentDeleteOptions options)
Asynchronous version ofArangoCollection.deleteDocument(String, DocumentDeleteOptions)
-
deleteDocument
<T> CompletableFuture<DocumentDeleteEntity<T>> deleteDocument(String key, DocumentDeleteOptions options, Class<T> type)
Asynchronous version ofArangoCollection.deleteDocument(String, DocumentDeleteOptions, Class)
-
deleteDocuments
CompletableFuture<MultiDocumentEntity<DocumentDeleteEntity<Void>>> deleteDocuments(RawData values)
Asynchronous version ofArangoCollection.deleteDocuments(RawData)
-
deleteDocuments
CompletableFuture<MultiDocumentEntity<DocumentDeleteEntity<RawData>>> deleteDocuments(RawData values, DocumentDeleteOptions options)
Asynchronous version ofArangoCollection.deleteDocuments(RawData, DocumentDeleteOptions)
-
deleteDocuments
CompletableFuture<MultiDocumentEntity<DocumentDeleteEntity<Void>>> deleteDocuments(Iterable<?> values)
Asynchronous version ofArangoCollection.deleteDocuments(Iterable)
-
deleteDocuments
CompletableFuture<MultiDocumentEntity<DocumentDeleteEntity<Void>>> deleteDocuments(Iterable<?> values, DocumentDeleteOptions options)
Asynchronous version ofArangoCollection.deleteDocuments(Iterable, DocumentDeleteOptions)
-
deleteDocuments
<T> CompletableFuture<MultiDocumentEntity<DocumentDeleteEntity<T>>> deleteDocuments(Iterable<?> values, DocumentDeleteOptions options, Class<T> type)
Asynchronous version ofArangoCollection.deleteDocuments(Iterable, DocumentDeleteOptions, Class)
-
documentExists
CompletableFuture<Boolean> documentExists(String key)
Asynchronous version ofArangoCollection.documentExists(String)
-
documentExists
CompletableFuture<Boolean> documentExists(String key, DocumentExistsOptions options)
Asynchronous version ofArangoCollection.documentExists(String, DocumentExistsOptions)
-
getIndex
CompletableFuture<IndexEntity> getIndex(String id)
Asynchronous version ofArangoCollection.getIndex(String)
-
getInvertedIndex
CompletableFuture<InvertedIndexEntity> getInvertedIndex(String id)
Asynchronous version ofArangoCollection.getInvertedIndex(String)
-
deleteIndex
CompletableFuture<String> deleteIndex(String id)
Asynchronous version ofArangoCollection.deleteIndex(String)
-
ensurePersistentIndex
CompletableFuture<IndexEntity> ensurePersistentIndex(Iterable<String> fields, PersistentIndexOptions options)
Asynchronous version ofArangoCollection.ensurePersistentIndex(Iterable, PersistentIndexOptions)
-
ensureGeoIndex
CompletableFuture<IndexEntity> ensureGeoIndex(Iterable<String> fields, GeoIndexOptions options)
Asynchronous version ofArangoCollection.ensureGeoIndex(Iterable, GeoIndexOptions)
-
ensureFulltextIndex
@Deprecated CompletableFuture<IndexEntity> ensureFulltextIndex(Iterable<String> fields, FulltextIndexOptions options)
Deprecated.Asynchronous version ofArangoCollection.ensureFulltextIndex(Iterable, FulltextIndexOptions)
-
ensureTtlIndex
CompletableFuture<IndexEntity> ensureTtlIndex(Iterable<String> fields, TtlIndexOptions options)
Asynchronous version ofArangoCollection.ensureTtlIndex(Iterable, TtlIndexOptions)
-
ensureZKDIndex
@Deprecated CompletableFuture<IndexEntity> ensureZKDIndex(Iterable<String> fields, ZKDIndexOptions options)
Deprecated.since ArangoDB 3.12, useensureMDIndex(Iterable, MDIndexOptions)
orensureMDPrefixedIndex(Iterable, MDPrefixedIndexOptions)
instead.Asynchronous version ofArangoCollection.ensureZKDIndex(Iterable, ZKDIndexOptions)
-
ensureMDIndex
CompletableFuture<IndexEntity> ensureMDIndex(Iterable<String> fields, MDIndexOptions options)
Asynchronous version ofArangoCollection.ensureMDIndex(Iterable, MDIndexOptions)
-
ensureMDPrefixedIndex
CompletableFuture<IndexEntity> ensureMDPrefixedIndex(Iterable<String> fields, MDPrefixedIndexOptions options)
Asynchronous version ofArangoCollection.ensureMDPrefixedIndex(Iterable, MDPrefixedIndexOptions)
-
ensureInvertedIndex
CompletableFuture<InvertedIndexEntity> ensureInvertedIndex(InvertedIndexOptions options)
Asynchronous version ofArangoCollection.ensureInvertedIndex(InvertedIndexOptions)
-
getIndexes
CompletableFuture<Collection<IndexEntity>> getIndexes()
Asynchronous version ofArangoCollection.getIndexes()
-
getInvertedIndexes
CompletableFuture<Collection<InvertedIndexEntity>> getInvertedIndexes()
Asynchronous version ofArangoCollection.getInvertedIndexes()
-
exists
CompletableFuture<Boolean> exists()
Asynchronous version ofArangoCollection.exists()
-
truncate
CompletableFuture<CollectionEntity> truncate()
Asynchronous version ofArangoCollection.truncate()
-
truncate
CompletableFuture<CollectionEntity> truncate(CollectionTruncateOptions options)
Asynchronous version ofArangoCollection.truncate(CollectionTruncateOptions)
-
count
CompletableFuture<CollectionPropertiesEntity> count()
Asynchronous version ofArangoCollection.count()
-
count
CompletableFuture<CollectionPropertiesEntity> count(CollectionCountOptions options)
Asynchronous version ofArangoCollection.count(CollectionCountOptions)
-
create
CompletableFuture<CollectionEntity> create()
Asynchronous version ofArangoCollection.create()
-
create
CompletableFuture<CollectionEntity> create(CollectionCreateOptions options)
Asynchronous version ofArangoCollection.create(CollectionCreateOptions)
-
drop
CompletableFuture<Void> drop()
Asynchronous version ofArangoCollection.drop()
-
drop
CompletableFuture<Void> drop(boolean isSystem)
Asynchronous version ofArangoCollection.drop(boolean)
-
getInfo
CompletableFuture<CollectionEntity> getInfo()
Asynchronous version ofArangoCollection.getInfo()
-
getProperties
CompletableFuture<CollectionPropertiesEntity> getProperties()
Asynchronous version ofArangoCollection.getProperties()
-
changeProperties
CompletableFuture<CollectionPropertiesEntity> changeProperties(CollectionPropertiesOptions options)
Asynchronous version ofArangoCollection.changeProperties(CollectionPropertiesOptions)
-
rename
CompletableFuture<CollectionEntity> rename(String newName)
Asynchronous version ofArangoCollection.rename(String)
-
getResponsibleShard
CompletableFuture<ShardEntity> getResponsibleShard(Object value)
Asynchronous version ofArangoCollection.getResponsibleShard(Object)
-
getRevision
CompletableFuture<CollectionRevisionEntity> getRevision()
Asynchronous version ofArangoCollection.getRevision()
-
grantAccess
CompletableFuture<Void> grantAccess(String user, Permissions permissions)
Asynchronous version ofArangoCollection.grantAccess(String, Permissions)
-
revokeAccess
CompletableFuture<Void> revokeAccess(String user)
Asynchronous version ofArangoCollection.revokeAccess(String)
-
resetAccess
CompletableFuture<Void> resetAccess(String user)
Asynchronous version ofArangoCollection.resetAccess(String)
-
getPermissions
CompletableFuture<Permissions> getPermissions(String user)
Asynchronous version ofArangoCollection.getPermissions(String)
-
-