public class ArangoDatabaseAsyncImpl extends com.arangodb.internal.InternalArangoDatabase<ArangoDBAsyncImpl,ArangoExecutorAsync> implements ArangoDatabaseAsync
Modifier and Type | Method and Description |
---|---|
CompletableFuture<StreamTransactionEntity> |
abortStreamTransaction(String id)
Aborts a Stream Transaction.
|
ArangoSearchAsync |
arangoSearch(String name)
Returns a
ArangoSearchAsync instance for the given ArangoSearch view name. |
CompletableFuture<StreamTransactionEntity> |
beginStreamTransaction(StreamTransactionOptions options)
Begins a Stream Transaction.
|
CompletableFuture<Void> |
clearQueryCache()
Clears the AQL query cache
|
CompletableFuture<Void> |
clearSlowQueries()
Clears the list of slow AQL queries
|
ArangoCollectionAsync |
collection(String name)
Returns a handler of the collection by the given name
|
CompletableFuture<StreamTransactionEntity> |
commitStreamTransaction(String id)
Commits a Stream Transaction.
|
CompletableFuture<Boolean> |
create()
Creates the database
|
CompletableFuture<AnalyzerEntity> |
createAnalyzer(AnalyzerEntity options)
Creates an Analyzer
|
CompletableFuture<Void> |
createAqlFunction(String name,
String code,
AqlFunctionCreateOptions options)
Create a new AQL user function
|
CompletableFuture<ViewEntity> |
createArangoSearch(String name,
ArangoSearchCreateOptions options)
Creates a ArangoSearch view with the given
options , then returns view information from the server. |
CompletableFuture<CollectionEntity> |
createCollection(String name)
Creates a collection
|
CompletableFuture<CollectionEntity> |
createCollection(String name,
CollectionCreateOptions options)
Creates a collection
|
CompletableFuture<GraphEntity> |
createGraph(String name,
Collection<EdgeDefinition> edgeDefinitions)
Create a new graph in the graph module.
|
CompletableFuture<GraphEntity> |
createGraph(String name,
Collection<EdgeDefinition> edgeDefinitions,
GraphCreateOptions options)
Create a new graph in the graph module.
|
CompletableFuture<ViewEntity> |
createSearchAlias(String name,
SearchAliasCreateOptions options)
Creates a SearchAlias view with the given
options , then returns view information from the server. |
CompletableFuture<SearchAnalyzer> |
createSearchAnalyzer(SearchAnalyzer analyzer)
Creates an Analyzer
|
CompletableFuture<ViewEntity> |
createView(String name,
ViewType type)
Creates a view of the given
type , then returns view information from the server. |
<T> CompletableFuture<ArangoCursorAsync<T>> |
cursor(String cursorId,
Class<T> type)
Return an cursor from the given cursor-ID if still existing
|
CompletableFuture<Void> |
deleteAnalyzer(String name)
Deletes an Analyzer
|
CompletableFuture<Void> |
deleteAnalyzer(String name,
AnalyzerDeleteOptions options)
Deletes an Analyzer
|
CompletableFuture<Integer> |
deleteAqlFunction(String name,
AqlFunctionDeleteOptions options)
Remove an existing AQL user function
|
CompletableFuture<String> |
deleteIndex(String id)
Deletes an index
|
CompletableFuture<Void> |
deleteSearchAnalyzer(String name)
Deletes an Analyzer
|
CompletableFuture<Void> |
deleteSearchAnalyzer(String name,
AnalyzerDeleteOptions options)
Deletes an Analyzer
|
CompletableFuture<Boolean> |
drop()
Drop an existing database
|
<V,E> CompletableFuture<TraversalEntity<V,E>> |
executeTraversal(Class<V> vertexClass,
Class<E> edgeClass,
TraversalOptions options)
Execute a server-side traversal
|
CompletableFuture<Boolean> |
exists()
Checks whether the database exists
|
CompletableFuture<AqlExecutionExplainEntity> |
explainQuery(String query,
Map<String,Object> bindVars,
AqlQueryExplainOptions options)
Explain an AQL query and return information about it
|
CompletableFuture<Collection<String>> |
getAccessibleDatabases()
Retrieves a list of all databases the current user can access
|
CompletableFuture<AnalyzerEntity> |
getAnalyzer(String name)
Gets information about an Analyzer
|
CompletableFuture<Collection<AnalyzerEntity>> |
getAnalyzers()
Retrieves all analyzers definitions.
|
CompletableFuture<Collection<AqlFunctionEntity>> |
getAqlFunctions(AqlFunctionGetOptions options)
Gets all reqistered AQL user functions
|
CompletableFuture<Collection<CollectionEntity>> |
getCollections()
Returns all collections
|
CompletableFuture<Collection<CollectionEntity>> |
getCollections(CollectionsReadOptions options)
Returns all collections
|
CompletableFuture<Collection<QueryEntity>> |
getCurrentlyRunningQueries()
Returns a list of currently running AQL queries
|
<T> CompletableFuture<T> |
getDocument(String id,
Class<T> type)
Reads a single document
|
<T> CompletableFuture<T> |
getDocument(String id,
Class<T> type,
DocumentReadOptions options)
Reads a single document
|
CompletableFuture<ArangoDBEngine> |
getEngine()
Returns the name of the used storage engine.
|
CompletableFuture<Collection<GraphEntity>> |
getGraphs()
Lists all graphs known to the graph module
|
CompletableFuture<IndexEntity> |
getIndex(String id)
Returns an index
|
CompletableFuture<DatabaseEntity> |
getInfo()
Retrieves information about the current database
|
CompletableFuture<Permissions> |
getPermissions(String user)
Get specific database access level
|
CompletableFuture<QueryCachePropertiesEntity> |
getQueryCacheProperties()
Returns the global configuration for the AQL query cache
|
CompletableFuture<QueryTrackingPropertiesEntity> |
getQueryTrackingProperties()
Returns the configuration for the AQL query tracking
|
CompletableFuture<SearchAnalyzer> |
getSearchAnalyzer(String name)
Gets information about an Analyzer
|
CompletableFuture<Collection<SearchAnalyzer>> |
getSearchAnalyzers()
Retrieves all analyzers definitions.
|
CompletableFuture<Collection<QueryEntity>> |
getSlowQueries()
Returns a list of slow running AQL queries
|
CompletableFuture<StreamTransactionEntity> |
getStreamTransaction(String id)
Gets information about a Stream Transaction.
|
CompletableFuture<Collection<TransactionEntity>> |
getStreamTransactions()
Gets all the currently running Stream Transactions.
|
CompletableFuture<ArangoDBVersion> |
getVersion()
Returns the server name and version number.
|
CompletableFuture<Collection<ViewEntity>> |
getViews()
Fetches all views from the database and returns an list of view descriptions.
|
CompletableFuture<Void> |
grantAccess(String user)
Grants access to the database dbname for user user.
|
CompletableFuture<Void> |
grantAccess(String user,
Permissions permissions)
Grants access to the database dbname for user user.
|
CompletableFuture<Void> |
grantDefaultCollectionAccess(String user,
Permissions permissions)
Sets the default access level for collections within this database for the user
user . |
ArangoGraphAsync |
graph(String name)
Returns a handler of the graph by the given name
|
CompletableFuture<Void> |
killQuery(String id)
Kills a running query.
|
CompletableFuture<AqlParseEntity> |
parseQuery(String query)
Parse an AQL query and return information about it This method is for query validation only.
|
<T> CompletableFuture<ArangoCursorAsync<T>> |
query(String query,
AqlQueryOptions options,
Class<T> type)
Performs a database query using the given
query , then returns a new ArangoCursor instance for the
result list. |
<T> CompletableFuture<ArangoCursorAsync<T>> |
query(String query,
Class<T> type)
Performs a database query using the given
query , then returns a new ArangoCursor instance for the
result list. |
<T> CompletableFuture<ArangoCursorAsync<T>> |
query(String query,
Map<String,Object> bindVars,
AqlQueryOptions options,
Class<T> type)
Performs a database query using the given
query and bindVars , then returns a new
ArangoCursor instance for the result list. |
<T> CompletableFuture<ArangoCursorAsync<T>> |
query(String query,
Map<String,Object> bindVars,
Class<T> type)
Performs a database query using the given
query and bindVars , then returns a new
ArangoCursor instance for the result list. |
CompletableFuture<Void> |
reloadRouting()
Reload the routing table.
|
CompletableFuture<Void> |
resetAccess(String user)
Clear the database access level, revert back to the default access level.
|
CompletableFuture<Void> |
revokeAccess(String user)
Revokes access to the database dbname for user user.
|
ArangoRouteAsync |
route(String... path)
Returns a new
ArangoRouteAsync instance for the given path (relative to the database) that can be used to
perform arbitrary requests. |
SearchAliasAsync |
searchAlias(String name)
Returns a
SearchAliasAsync instance for the given view name. |
CompletableFuture<QueryCachePropertiesEntity> |
setQueryCacheProperties(QueryCachePropertiesEntity properties)
Changes the configuration for the AQL query cache.
|
CompletableFuture<QueryTrackingPropertiesEntity> |
setQueryTrackingProperties(QueryTrackingPropertiesEntity properties)
Changes the configuration for the AQL query tracking
|
<T> CompletableFuture<T> |
transaction(String action,
Class<T> type,
TransactionOptions options)
Execute a server-side transaction
|
ArangoViewAsync |
view(String name)
Returns a
ArangoViewAsync instance for the given view name. |
abortStreamTransactionRequest, arango, beginStreamTransactionRequest, clearQueryCacheRequest, clearSlowQueriesRequest, commitStreamTransactionRequest, createAnalyzerRequest, createAnalyzerRequest, createAqlFunctionRequest, createArangoSearchRequest, createCollectionRequest, createDropResponseDeserializer, createGraphRequest, createGraphResponseDeserializer, createSearchAliasRequest, createViewRequest, dbName, deleteAnalyzerRequest, deleteAqlFunctionRequest, deleteAqlFunctionResponseDeserializer, deserializeEdges, deserializeVertices, dropRequest, executeTraversalRequest, executeTraversalResponseDeserializer, explainQueryRequest, getAccessibleDatabasesRequest, getAnalyzerRequest, getAnalyzersRequest, getAnalyzersResponseDeserializer, getAqlFunctionsRequest, getAqlFunctionsResponseDeserializer, getCollectionsRequest, getCollectionsResponseDeserializer, getCurrentlyRunningQueriesRequest, getDatabaseResponseDeserializer, getEngineRequest, getGraphsRequest, getGraphsResponseDeserializer, getInfoRequest, getInfoResponseDeserializer, getPermissionsRequest, getPermissionsResponseDeserialzer, getQueryCachePropertiesRequest, getQueryTrackingPropertiesRequest, getSearchAnalyzersResponseDeserializer, getSlowQueriesRequest, getStreamTransactionRequest, getStreamTransactionsRequest, getVersionRequest, getViewsRequest, getViewsResponseDeserializer, grantAccessRequest, killQueryRequest, parseQueryRequest, queryCloseRequest, queryNextRequest, queryRequest, reloadRoutingRequest, resetAccessRequest, setQueryCachePropertiesRequest, setQueryTrackingPropertiesRequest, streamTransactionResponseDeserializer, transactionRequest, transactionResponseDeserializer, transactionsResponseDeserializer, updateUserDefaultCollectionAccessRequest
createPath, executor, request, util, util
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
arango, dbName, name
util, util
public CompletableFuture<ArangoDBVersion> getVersion()
ArangoDatabaseAsync
getVersion
in interface ArangoDatabaseAsync
public CompletableFuture<ArangoDBEngine> getEngine()
ArangoDatabaseAsync
getEngine
in interface ArangoDatabaseAsync
public CompletableFuture<Boolean> exists()
ArangoDatabaseAsync
exists
in interface ArangoDatabaseAsync
public CompletableFuture<Collection<String>> getAccessibleDatabases()
ArangoDatabaseAsync
getAccessibleDatabases
in interface ArangoDatabaseAsync
public ArangoCollectionAsync collection(String name)
ArangoDatabaseAsync
collection
in interface ArangoDatabaseAsync
name
- Name of the collectionpublic CompletableFuture<CollectionEntity> createCollection(String name)
ArangoDatabaseAsync
createCollection
in interface ArangoDatabaseAsync
name
- The name of the collectionpublic CompletableFuture<CollectionEntity> createCollection(String name, CollectionCreateOptions options)
ArangoDatabaseAsync
createCollection
in interface ArangoDatabaseAsync
name
- The name of the collectionoptions
- Additional options, can be nullpublic CompletableFuture<Collection<CollectionEntity>> getCollections()
ArangoDatabaseAsync
getCollections
in interface ArangoDatabaseAsync
public CompletableFuture<Collection<CollectionEntity>> getCollections(CollectionsReadOptions options)
ArangoDatabaseAsync
getCollections
in interface ArangoDatabaseAsync
options
- Additional options, can be nullpublic CompletableFuture<IndexEntity> getIndex(String id)
ArangoDatabaseAsync
getIndex
in interface ArangoDatabaseAsync
id
- The index-handlepublic CompletableFuture<String> deleteIndex(String id)
ArangoDatabaseAsync
deleteIndex
in interface ArangoDatabaseAsync
id
- The index handlepublic CompletableFuture<Boolean> create()
ArangoDatabaseAsync
create
in interface ArangoDatabaseAsync
public CompletableFuture<Boolean> drop()
ArangoDatabaseAsync
drop
in interface ArangoDatabaseAsync
public CompletableFuture<Void> grantAccess(String user, Permissions permissions)
ArangoDatabaseAsync
grantAccess
in interface ArangoDatabaseAsync
user
- The name of the userpermissions
- The permissions the user grantpublic CompletableFuture<Void> grantAccess(String user)
ArangoDatabaseAsync
grantAccess
in interface ArangoDatabaseAsync
user
- The name of the userpublic CompletableFuture<Void> revokeAccess(String user)
ArangoDatabaseAsync
revokeAccess
in interface ArangoDatabaseAsync
user
- The name of the userpublic CompletableFuture<Void> resetAccess(String user)
ArangoDatabaseAsync
resetAccess
in interface ArangoDatabaseAsync
user
- The name of the userpublic CompletableFuture<Void> grantDefaultCollectionAccess(String user, Permissions permissions)
ArangoDatabaseAsync
user
. You need
permission to the _system database in order to execute this call.grantDefaultCollectionAccess
in interface ArangoDatabaseAsync
user
- The name of the userpermissions
- The permissions the user grantpublic CompletableFuture<Permissions> getPermissions(String user)
ArangoDatabaseAsync
getPermissions
in interface ArangoDatabaseAsync
user
- The name of the userpublic <T> CompletableFuture<ArangoCursorAsync<T>> query(String query, Map<String,Object> bindVars, AqlQueryOptions options, Class<T> type)
ArangoDatabaseAsync
query
and bindVars
, then returns a new
ArangoCursor
instance for the result list.query
in interface ArangoDatabaseAsync
query
- contains the query string to be executedbindVars
- key/value pairs representing the bind parametersoptions
- Additional options, can be nulltype
- The type of the result (POJO class, VPackSlice, String for Json, or Collection/List/Map)public <T> CompletableFuture<ArangoCursorAsync<T>> query(String query, AqlQueryOptions options, Class<T> type)
ArangoDatabaseAsync
query
, then returns a new ArangoCursor
instance for the
result list.query
in interface ArangoDatabaseAsync
query
- contains the query string to be executedoptions
- Additional options, can be nulltype
- The type of the result (POJO class, VPackSlice, String for Json, or Collection/List/Map)public <T> CompletableFuture<ArangoCursorAsync<T>> query(String query, Map<String,Object> bindVars, Class<T> type)
ArangoDatabaseAsync
query
and bindVars
, then returns a new
ArangoCursor
instance for the result list.query
in interface ArangoDatabaseAsync
query
- contains the query string to be executedbindVars
- key/value pairs representing the bind parameterstype
- The type of the result (POJO class, VPackSlice, String for Json, or Collection/List/Map)public <T> CompletableFuture<ArangoCursorAsync<T>> query(String query, Class<T> type)
ArangoDatabaseAsync
query
, then returns a new ArangoCursor
instance for the
result list.query
in interface ArangoDatabaseAsync
query
- contains the query string to be executedtype
- The type of the result (POJO class, VPackSlice, String for Json, or Collection/List/Map)public <T> CompletableFuture<ArangoCursorAsync<T>> cursor(String cursorId, Class<T> type)
ArangoDatabaseAsync
cursor
in interface ArangoDatabaseAsync
cursorId
- The ID of the cursortype
- The type of the result (POJO class, VPackSlice, String for Json, or Collection/List/Map)public CompletableFuture<AqlExecutionExplainEntity> explainQuery(String query, Map<String,Object> bindVars, AqlQueryExplainOptions options)
ArangoDatabaseAsync
explainQuery
in interface ArangoDatabaseAsync
query
- the query which you want explainedbindVars
- key/value pairs representing the bind parametersoptions
- Additional options, can be nullpublic CompletableFuture<AqlParseEntity> parseQuery(String query)
ArangoDatabaseAsync
ArangoDatabaseAsync.query(String, Map, AqlQueryOptions, Class)
parseQuery
in interface ArangoDatabaseAsync
query
- the query which you want parsepublic CompletableFuture<Void> clearQueryCache()
ArangoDatabaseAsync
clearQueryCache
in interface ArangoDatabaseAsync
public CompletableFuture<QueryCachePropertiesEntity> getQueryCacheProperties()
ArangoDatabaseAsync
getQueryCacheProperties
in interface ArangoDatabaseAsync
public CompletableFuture<QueryCachePropertiesEntity> setQueryCacheProperties(QueryCachePropertiesEntity properties)
ArangoDatabaseAsync
setQueryCacheProperties
in interface ArangoDatabaseAsync
properties
- properties to be setpublic CompletableFuture<QueryTrackingPropertiesEntity> getQueryTrackingProperties()
ArangoDatabaseAsync
getQueryTrackingProperties
in interface ArangoDatabaseAsync
public CompletableFuture<QueryTrackingPropertiesEntity> setQueryTrackingProperties(QueryTrackingPropertiesEntity properties)
ArangoDatabaseAsync
setQueryTrackingProperties
in interface ArangoDatabaseAsync
properties
- properties to be setpublic CompletableFuture<Collection<QueryEntity>> getCurrentlyRunningQueries()
ArangoDatabaseAsync
getCurrentlyRunningQueries
in interface ArangoDatabaseAsync
public CompletableFuture<Collection<QueryEntity>> getSlowQueries()
ArangoDatabaseAsync
getSlowQueries
in interface ArangoDatabaseAsync
public CompletableFuture<Void> clearSlowQueries()
ArangoDatabaseAsync
clearSlowQueries
in interface ArangoDatabaseAsync
public CompletableFuture<Void> killQuery(String id)
ArangoDatabaseAsync
killQuery
in interface ArangoDatabaseAsync
id
- The id of the querypublic CompletableFuture<Void> createAqlFunction(String name, String code, AqlFunctionCreateOptions options)
ArangoDatabaseAsync
createAqlFunction
in interface ArangoDatabaseAsync
name
- the fully qualified name of the user functionscode
- a string representation of the function bodyoptions
- Additional options, can be nullpublic CompletableFuture<Integer> deleteAqlFunction(String name, AqlFunctionDeleteOptions options)
ArangoDatabaseAsync
deleteAqlFunction
in interface ArangoDatabaseAsync
name
- the name of the AQL user functionoptions
- Additional options, can be nullpublic CompletableFuture<Collection<AqlFunctionEntity>> getAqlFunctions(AqlFunctionGetOptions options)
ArangoDatabaseAsync
getAqlFunctions
in interface ArangoDatabaseAsync
options
- Additional options, can be nullpublic ArangoGraphAsync graph(String name)
ArangoDatabaseAsync
graph
in interface ArangoDatabaseAsync
name
- Name of the graphpublic CompletableFuture<GraphEntity> createGraph(String name, Collection<EdgeDefinition> edgeDefinitions)
ArangoDatabaseAsync
createGraph
in interface ArangoDatabaseAsync
name
- Name of the graphedgeDefinitions
- An array of definitions for the edgepublic CompletableFuture<GraphEntity> createGraph(String name, Collection<EdgeDefinition> edgeDefinitions, GraphCreateOptions options)
ArangoDatabaseAsync
createGraph
in interface ArangoDatabaseAsync
name
- Name of the graphedgeDefinitions
- An array of definitions for the edgeoptions
- Additional options, can be nullpublic CompletableFuture<Collection<GraphEntity>> getGraphs()
ArangoDatabaseAsync
getGraphs
in interface ArangoDatabaseAsync
public <T> CompletableFuture<T> transaction(String action, Class<T> type, TransactionOptions options)
ArangoDatabaseAsync
transaction
in interface ArangoDatabaseAsync
action
- the actual transaction operations to be executed, in the form of stringified JavaScript codetype
- The type of the result (POJO class, VPackSlice or String for Json)options
- Additional options, can be nullpublic CompletableFuture<StreamTransactionEntity> beginStreamTransaction(StreamTransactionOptions options)
ArangoDatabaseAsync
beginStreamTransaction
in interface ArangoDatabaseAsync
options
- Additional options, can be nullpublic CompletableFuture<StreamTransactionEntity> abortStreamTransaction(String id)
ArangoDatabaseAsync
abortStreamTransaction
in interface ArangoDatabaseAsync
public CompletableFuture<StreamTransactionEntity> getStreamTransaction(String id)
ArangoDatabaseAsync
getStreamTransaction
in interface ArangoDatabaseAsync
public CompletableFuture<Collection<TransactionEntity>> getStreamTransactions()
ArangoDatabaseAsync
getStreamTransactions
in interface ArangoDatabaseAsync
public CompletableFuture<StreamTransactionEntity> commitStreamTransaction(String id)
ArangoDatabaseAsync
commitStreamTransaction
in interface ArangoDatabaseAsync
public CompletableFuture<DatabaseEntity> getInfo()
ArangoDatabaseAsync
getInfo
in interface ArangoDatabaseAsync
public <V,E> CompletableFuture<TraversalEntity<V,E>> executeTraversal(Class<V> vertexClass, Class<E> edgeClass, TraversalOptions options)
ArangoDatabaseAsync
executeTraversal
in interface ArangoDatabaseAsync
vertexClass
- The type of the vertex documents (POJO class, VPackSlice or String for Json)edgeClass
- The type of the edge documents (POJO class, VPackSlice or String for Json)options
- Additional optionspublic <T> CompletableFuture<T> getDocument(String id, Class<T> type) throws ArangoDBException
ArangoDatabaseAsync
getDocument
in interface ArangoDatabaseAsync
id
- The id of the documenttype
- The type of the document (POJO class, VPackSlice or String for Json)ArangoDBException
public <T> CompletableFuture<T> getDocument(String id, Class<T> type, DocumentReadOptions options) throws ArangoDBException
ArangoDatabaseAsync
getDocument
in interface ArangoDatabaseAsync
id
- The id of the documenttype
- The type of the document (POJO class, VPackSlice or String for Json)options
- Additional options, can be nullArangoDBException
public CompletableFuture<Void> reloadRouting()
ArangoDatabaseAsync
reloadRouting
in interface ArangoDatabaseAsync
public ArangoRouteAsync route(String... path)
ArangoDatabaseAsync
ArangoRouteAsync
instance for the given path (relative to the database) that can be used to
perform arbitrary requests.route
in interface ArangoDatabaseAsync
path
- The database-relative URL of the routeArangoRouteAsync
public CompletableFuture<Collection<ViewEntity>> getViews()
ArangoDatabaseAsync
getViews
in interface ArangoDatabaseAsync
public ArangoViewAsync view(String name)
ArangoDatabaseAsync
ArangoViewAsync
instance for the given view name.view
in interface ArangoDatabaseAsync
name
- Name of the viewpublic ArangoSearchAsync arangoSearch(String name)
ArangoDatabaseAsync
ArangoSearchAsync
instance for the given ArangoSearch view name.arangoSearch
in interface ArangoDatabaseAsync
name
- Name of the viewpublic SearchAliasAsync searchAlias(String name)
ArangoDatabaseAsync
SearchAliasAsync
instance for the given view name.searchAlias
in interface ArangoDatabaseAsync
name
- Name of the viewpublic CompletableFuture<ViewEntity> createView(String name, ViewType type)
ArangoDatabaseAsync
type
, then returns view information from the server.createView
in interface ArangoDatabaseAsync
name
- The name of the viewtype
- The type of the viewpublic CompletableFuture<ViewEntity> createArangoSearch(String name, ArangoSearchCreateOptions options)
ArangoDatabaseAsync
options
, then returns view information from the server.createArangoSearch
in interface ArangoDatabaseAsync
name
- The name of the viewoptions
- Additional options, can be nullpublic CompletableFuture<ViewEntity> createSearchAlias(String name, SearchAliasCreateOptions options)
ArangoDatabaseAsync
options
, then returns view information from the server.createSearchAlias
in interface ArangoDatabaseAsync
name
- The name of the viewoptions
- Additional options, can be nullpublic CompletableFuture<AnalyzerEntity> createAnalyzer(AnalyzerEntity options)
ArangoDatabaseAsync
createAnalyzer
in interface ArangoDatabaseAsync
options
- AnalyzerEntitypublic CompletableFuture<SearchAnalyzer> createSearchAnalyzer(SearchAnalyzer analyzer)
ArangoDatabaseAsync
createSearchAnalyzer
in interface ArangoDatabaseAsync
analyzer
- SearchAnalyzerpublic CompletableFuture<AnalyzerEntity> getAnalyzer(String name)
ArangoDatabaseAsync
getAnalyzer
in interface ArangoDatabaseAsync
name
- of the Analyzer without database prefixpublic CompletableFuture<SearchAnalyzer> getSearchAnalyzer(String name)
ArangoDatabaseAsync
getSearchAnalyzer
in interface ArangoDatabaseAsync
name
- of the Analyzer without database prefixpublic CompletableFuture<Collection<AnalyzerEntity>> getAnalyzers()
ArangoDatabaseAsync
getAnalyzers
in interface ArangoDatabaseAsync
public CompletableFuture<Collection<SearchAnalyzer>> getSearchAnalyzers()
ArangoDatabaseAsync
getSearchAnalyzers
in interface ArangoDatabaseAsync
public CompletableFuture<Void> deleteAnalyzer(String name)
ArangoDatabaseAsync
deleteAnalyzer
in interface ArangoDatabaseAsync
name
- of the Analyzer without database prefixpublic CompletableFuture<Void> deleteAnalyzer(String name, AnalyzerDeleteOptions options)
ArangoDatabaseAsync
deleteAnalyzer
in interface ArangoDatabaseAsync
name
- of the Analyzer without database prefixoptions
- AnalyzerDeleteOptionspublic CompletableFuture<Void> deleteSearchAnalyzer(String name)
ArangoDatabaseAsync
deleteSearchAnalyzer
in interface ArangoDatabaseAsync
name
- of the Analyzer without database prefixpublic CompletableFuture<Void> deleteSearchAnalyzer(String name, AnalyzerDeleteOptions options)
ArangoDatabaseAsync
deleteSearchAnalyzer
in interface ArangoDatabaseAsync
name
- of the Analyzer without database prefixoptions
- AnalyzerDeleteOptionsCopyright © 2016–2022 ArangoDB GmbH. All rights reserved.