Package | Description |
---|---|
com.arangodb | |
com.arangodb.entity | |
com.arangodb.http | |
com.arangodb.impl | |
com.arangodb.util |
Modifier and Type | Method and Description |
---|---|
void |
ArangoDriver.cancelBatchMode()
This method cancels the batch execution mode.
|
long |
ArangoDriver.checkDocument(long collectionId,
long documentId)
This method returns the current revision of a document.
|
long |
ArangoDriver.checkDocument(long collectionId,
String documentKey)
This method returns the current revision of a document.
|
long |
ArangoDriver.checkDocument(String documentHandle)
This method returns the current revision of a document.
|
long |
ArangoDriver.checkDocument(String collectionName,
long documentId)
This method returns the current revision of a document.
|
long |
InternalDocumentDriver.checkDocument(String database,
String documentHandle) |
long |
ArangoDriver.checkDocument(String collectionName,
String documentKey)
This method returns the current revision of a document.
|
void |
CursorResult.close()
Close cursor (removes cursor from database)
|
void |
BaseCursorProxy.close()
Close cursor (removes cursor from database)
|
void |
CursorResultSet.close() |
void |
CursorRawResult.close()
Close cursor (removes cursor from database)
|
<T> CursorEntity<T> |
ArangoDriver.continueQuery(long cursorId,
Class<?>... clazz)
Continues data retrieval for an existing cursor
|
<T> CursorEntity<T> |
InternalCursorDriver.continueQuery(String database,
long cursorId,
Class<?>... clazz) |
DefaultEntity |
ArangoDriver.createAqlFunction(String name,
String code)
Creates an AQL Function
|
DefaultEntity |
InternalAqlFunctionsDriver.createAqlFunction(String database,
String name,
String code) |
CollectionEntity |
ArangoDriver.createCollection(String name)
Creates a new collection.
|
CollectionEntity |
ArangoDriver.createCollection(String name,
CollectionOptions collectionOptions)
Creates a new collection.
|
CollectionEntity |
InternalCollectionDriver.createCollection(String database,
String name,
CollectionOptions collectionOptions) |
BooleanResultEntity |
InternalDatabaseDriver.createDatabase(String database,
UserEntity... users) |
BooleanResultEntity |
ArangoDriver.createDatabase(String database,
UserEntity... users)
This method creates a database
|
DocumentEntity<?> |
ArangoDriver.createDocument(long collectionId,
Object value)
Creates a document in the collection defined by The collection id
|
DocumentEntity<?> |
ArangoDriver.createDocument(long collectionId,
String documentKey,
Object value)
Creates a document in the collection defined by the collection's name.
|
DocumentEntity<?> |
ArangoDriver.createDocument(long collectionId,
String documentKey,
Object value,
Boolean waitForSync)
Creates a document in the collection defined by the collection's id.
|
<T> DocumentEntity<T> |
ArangoDriver.createDocument(long collectionId,
T value,
Boolean waitForSync)
Creates a document in the collection defined by The collection id.
|
<T> DocumentEntity<T> |
InternalDocumentDriver.createDocument(String database,
String collectionName,
String documentKey,
T value,
Boolean waitForSync) |
<T> DocumentEntity<T> |
ArangoDriver.createDocument(String collectionName,
String documentKey,
T value)
Creates a document in the collection defined by the collection's name.
|
<T> DocumentEntity<T> |
ArangoDriver.createDocument(String collectionName,
String documentKey,
T value,
Boolean waitForSync)
Creates a document in the collection defined by the collection's name.
|
<T> DocumentEntity<T> |
ArangoDriver.createDocument(String collectionName,
T value)
Creates a document in the collection defined by the collection's name
|
<T> DocumentEntity<T> |
ArangoDriver.createDocument(String collectionName,
T value,
Boolean waitForSync)
Creates a document in the collection defined by the collection's name.
|
protected String |
BaseArangoDriver.createDocumentEndpointUrl(String database,
Object... paths) |
protected String |
BaseArangoDriver.createDocumentHandle(String collectionName,
String documentKey) |
DocumentEntity<String> |
ArangoDriver.createDocumentRaw(String collectionName,
String rawJsonString,
Boolean waitForSync)
Creates a document in the collection defined by the collection's name
|
DocumentEntity<String> |
InternalDocumentDriver.createDocumentRaw(String database,
String collectionName,
String rawJsonString,
Boolean waitForSync) |
<T> EdgeEntity<T> |
InternalGraphDriver.createEdge(String database,
String graphName,
String edgeCollectionName,
String key,
String fromHandle,
String toHandle,
T value,
Boolean waitForSync) |
<T> EdgeEntity<T> |
InternalDocumentDriver.createEdge(String database,
String collectionName,
String documentKey,
T value,
String fromHandle,
String toHandle,
Boolean waitForSync) |
<T> EdgeEntity<T> |
ArangoDriver.createEdge(String collectionName,
String documentKey,
T value,
String fromHandle,
String toHandle,
Boolean waitForSync)
Create an edge in an edge collection.
|
<T> EdgeEntity<T> |
ArangoDriver.createEdge(String collectionName,
T value,
String fromHandle,
String toHandle,
Boolean waitForSync)
Create an edge in an edge collection.
|
GraphEntity |
InternalGraphDriver.createEdgeDefinition(String databaseName,
String graphName,
EdgeDefinitionEntity edgeDefinition)
Adds a new edge definition to an existing graph.
|
BooleanResultEntity |
InternalEndpointDriver.createEndpoint(String endpoint,
String... databases) |
BooleanResultEntity |
ArangoDriver.createEndpoint(String endpoint,
String... databases)
This method creates an endpoint.
|
protected String |
BaseArangoDriver.createEndpointUrl(String database,
Object... paths) |
protected String |
BaseArangoDriver.createEndpointUrl(String database,
String str,
Object... paths) |
protected <T extends BaseEntity> |
BaseArangoDriver.createEntity(HttpResponseEntity res,
Class<T> clazz) |
protected <T extends BaseEntity> |
BaseArangoDriver.createEntity(HttpResponseEntity res,
Class<T> clazz,
Class<?>... pclazz) |
protected <T extends BaseEntity> |
BaseArangoDriver.createEntity(HttpResponseEntity res,
Class<T> clazz,
Class<?>[] pclazz,
boolean validate)
Creates an entity object
|
protected <T> T |
BaseArangoDriver.createEntity(String str,
Class<T> clazz,
Class<?>... pclazz) |
protected <T> T |
BaseArangoDriver.createEntityImpl(HttpResponseEntity res,
Class<T> type) |
IndexEntity |
ArangoDriver.createFulltextIndex(long collectionId,
Integer minLength,
String... fields)
This method creates a full text index for a collection.
|
IndexEntity |
ArangoDriver.createFulltextIndex(long collectionId,
String... fields)
This method creates a full text index for a collection.
|
IndexEntity |
ArangoDriver.createFulltextIndex(String collectionName,
Integer minLength,
String... fields)
This method creates a full text index for a collection.
|
IndexEntity |
ArangoDriver.createFulltextIndex(String collectionName,
String... fields)
This method creates a full text index for a collection.
|
IndexEntity |
InternalIndexDriver.createFulltextIndex(String database,
String collectionName,
Integer minLength,
String... fields) |
IndexEntity |
ArangoDriver.createGeoIndex(String collectionName,
boolean unique,
String... fields)
This method creates a geo index for a collection.
|
protected String |
BaseArangoDriver.createGharialEndpointUrl(String database,
Object... paths) |
GraphEntity |
ArangoDriver.createGraph(GraphEntity graph,
Boolean waitForSync)
Creates a graph.
|
GraphEntity |
ArangoDriver.createGraph(String graphName,
Boolean waitForSync)
Creates an empty graph.
|
GraphEntity |
ArangoDriver.createGraph(String graphName,
List<EdgeDefinitionEntity> edgeDefinitions,
List<String> orphanCollections,
Boolean waitForSync)
Creates a graph.
|
GraphEntity |
InternalGraphDriver.createGraph(String databaseName,
String graphName,
Boolean waitForSync)
Creates an empty graph.
|
GraphEntity |
InternalGraphDriver.createGraph(String databaseName,
String graphName,
List<EdgeDefinitionEntity> edgeDefinitions,
List<String> orphanCollections,
Boolean waitForSync)
Creates a graph.
|
IndexEntity |
ArangoDriver.createHashIndex(String collectionName,
boolean unique,
boolean sparse,
String... fields)
This method creates a hash index for a collection.
|
IndexEntity |
ArangoDriver.createHashIndex(String collectionName,
boolean unique,
String... fields)
This method creates a hash index for a collection.
|
IndexEntity |
ArangoDriver.createIndex(long collectionId,
IndexType type,
boolean unique,
boolean sparse,
String... fields)
This method creates an index for a collection.
|
IndexEntity |
ArangoDriver.createIndex(long collectionId,
IndexType type,
boolean unique,
String... fields)
This method creates an index for a collection.
|
IndexEntity |
ArangoDriver.createIndex(String collectionName,
IndexType type,
boolean unique,
boolean sparse,
String... fields)
This method creates an index for a collection.
|
IndexEntity |
ArangoDriver.createIndex(String collectionName,
IndexType type,
boolean unique,
String... fields)
This method creates an index for a collection.
|
IndexEntity |
InternalIndexDriver.createIndex(String database,
String collectionName,
IndexType type,
boolean unique,
boolean sparse,
String... fields) |
IndexEntity |
InternalIndexDriver.createIndex(String database,
String collectionName,
IndexType type,
boolean unique,
String... fields) |
protected String |
BaseArangoDriver.createIndexEndpointUrl(String database,
Object... paths) |
protected String |
BaseArangoDriver.createJobEndpointUrl(String database,
Object... paths) |
IndexEntity |
ArangoDriver.createPersistentIndex(String collectionName,
boolean unique,
boolean sparse,
String... fields)
It is possible to define a persistent index on one or more attributes (or
paths) of documents.
|
IndexEntity |
ArangoDriver.createSkipListIndex(String collectionName,
boolean unique,
boolean sparse,
String... fields)
This method creates a skip list index for a collection.
|
IndexEntity |
ArangoDriver.createSkipListIndex(String collectionName,
boolean unique,
String... fields)
This method creates a skip list index for a collection.
|
DefaultEntity |
InternalUsersDriver.createUser(String username,
String passwd,
Boolean active,
Map<String,Object> extra) |
DefaultEntity |
ArangoDriver.createUser(String username,
String passwd,
Boolean active,
Map<String,Object> extra)
Creates a database user.
|
protected String |
BaseArangoDriver.createUserEndpointUrl(Object... paths) |
<T> VertexEntity<T> |
InternalGraphDriver.createVertex(String database,
String graphName,
String collectionName,
String key,
T vertex,
Boolean waitForSync)
Stores a new vertex with the information contained within the document
into the given collection.
|
<T> VertexEntity<T> |
InternalGraphDriver.createVertex(String database,
String graphName,
String collectionName,
T vertex,
Boolean waitForSync)
Stores a new vertex with the information contained within the document
into the given collection.
|
GraphEntity |
InternalGraphDriver.createVertexCollection(String databaseName,
String graphName,
String collectionName) |
void |
ArangoDriver.deleteAllJobs()
Deletes all job from ArangoDB.
|
void |
InternalJobsDriver.deleteAllJobs(String database) |
DefaultEntity |
ArangoDriver.deleteAqlFunction(String name,
boolean isNameSpace)
Delete an AQL function.
|
DefaultEntity |
InternalAqlFunctionsDriver.deleteAqlFunction(String database,
String name,
boolean isNameSpace) |
CollectionEntity |
ArangoDriver.deleteCollection(long id)
Deletes a collection by id.
|
CollectionEntity |
ArangoDriver.deleteCollection(String name)
Deletes a collection by name.
|
CollectionEntity |
InternalCollectionDriver.deleteCollection(String database,
String name) |
BooleanResultEntity |
InternalDatabaseDriver.deleteDatabase(String database) |
BooleanResultEntity |
ArangoDriver.deleteDatabase(String database)
This method deletes a database
|
DocumentEntity<?> |
ArangoDriver.deleteDocument(long collectionId,
long documentId)
Deletes a document from the database.
|
DocumentEntity<?> |
ArangoDriver.deleteDocument(long collectionId,
long documentId,
Long rev)
Deletes a document from the database.
|
DocumentEntity<?> |
ArangoDriver.deleteDocument(long collectionId,
String documentKey)
Deletes a document from the database.
|
DocumentEntity<?> |
ArangoDriver.deleteDocument(long collectionId,
String documentKey,
Long rev)
Deletes a document from the database.
|
DocumentEntity<?> |
ArangoDriver.deleteDocument(String documentHandle)
Deletes a document from the database.
|
DocumentEntity<?> |
ArangoDriver.deleteDocument(String collectionName,
long documentId)
Deletes a document from the database.
|
DocumentEntity<?> |
ArangoDriver.deleteDocument(String documentHandle,
Long rev)
Deletes a document from the database.
|
DocumentEntity<?> |
ArangoDriver.deleteDocument(String collectionName,
long documentId,
Long rev)
Deletes a document from the database.
|
DocumentEntity<?> |
ArangoDriver.deleteDocument(String collectionName,
String documentKey)
Deletes a document from the database.
|
DocumentEntity<?> |
InternalDocumentDriver.deleteDocument(String database,
String documentHandle,
Long rev) |
DocumentEntity<?> |
ArangoDriver.deleteDocument(String collectionName,
String documentKey,
Long rev)
Deletes a document from the database.
|
DeletedEntity |
InternalGraphDriver.deleteEdge(String database,
String graphName,
String edgeCollectionName,
String key,
Boolean waitForSync,
Long rev,
Long ifMatchRevision)
Deletes an edge with the given id, if it is contained within the graph.
|
GraphEntity |
InternalGraphDriver.deleteEdgeDefinition(String databaseName,
String graphName,
String edgeName,
Boolean dropCollection)
Removes an existing edge definition from this graph.
|
BooleanResultEntity |
InternalEndpointDriver.deleteEndpoint(String endpoint) |
BooleanResultEntity |
ArangoDriver.deleteEndpoint(String endpoint)
This method deletes an endpoint
|
void |
ArangoDriver.deleteExpiredJobs(int timeStamp)
Deletes all jobs by a provided expiration date.
|
void |
InternalJobsDriver.deleteExpiredJobs(String database,
int timeStamp) |
DeletedEntity |
ArangoDriver.deleteGraph(String graphName)
Delete a graph by its name.
|
void |
ArangoDriver.deleteGraph(String graphName,
Boolean dropCollections)
Delete a graph by its name.
|
DeletedEntity |
InternalGraphDriver.deleteGraph(String databaseName,
String graphName,
Boolean dropCollections)
Delete a graph by its name.
|
IndexEntity |
ArangoDriver.deleteIndex(String indexHandle)
Deletes an index from a collection
|
IndexEntity |
InternalIndexDriver.deleteIndex(String database,
String indexHandle) |
void |
ArangoDriver.deleteJobById(String jobId)
Deletes a job from ArangoDB.
|
void |
InternalJobsDriver.deleteJobById(String database,
String jobId) |
DefaultEntity |
InternalQueryCacheDriver.deleteQueryCache() |
DefaultEntity |
ArangoDriver.deleteQueryCache()
Clears the AQL query cache (since ArangoDB 2.7)
|
DefaultEntity |
ArangoDriver.deleteSlowQueries()
Clears the list of slow AQL queries of the default database
|
DefaultEntity |
InternalCursorDriver.deleteSlowQueries(String database) |
DefaultEntity |
ArangoDriver.deleteSlowQueries(String database)
Clears the list of slow AQL queries of the default database
|
DefaultEntity |
InternalUsersDriver.deleteUser(String username) |
DefaultEntity |
ArangoDriver.deleteUser(String username)
Deletes a database user.
|
DeletedEntity |
InternalGraphDriver.deleteVertex(String database,
String graphName,
String collectionName,
String key,
Boolean waitForSync,
Long ifMatchRevision,
Long ifNoneMatchRevision)
Deletes a vertex with the given key, if it is contained within the graph.
|
DeletedEntity |
InternalGraphDriver.deleteVertexCollection(String databaseName,
String graphName,
String collectionName,
Boolean dropCollection) |
<T> CursorResult<T> |
ArangoDriver.executeAqlQuery(String query,
Map<String,Object> bindVars,
AqlQueryOptions aqlQueryOptions,
Class<T> clazz)
This method executes an AQL query and returns a CursorResult
|
<T> CursorResult<T> |
InternalCursorDriver.executeAqlQuery(String database,
String query,
Map<String,Object> bindVars,
AqlQueryOptions aqlQueryOptions,
Class<T> clazz) |
String |
ArangoDriver.executeAqlQueryJSON(String query,
Map<String,Object> bindVars,
AqlQueryOptions aqlQueryOptions)
Executes an AQL query and returns the raw JSON response
|
String |
InternalCursorDriver.executeAqlQueryJSON(String database,
String query,
Map<String,Object> bindVars,
AqlQueryOptions aqlQueryOptions) |
CursorRawResult |
ArangoDriver.executeAqlQueryRaw(String query,
Map<String,Object> bindVars,
AqlQueryOptions aqlQueryOptions)
This method executes an AQL query and returns a CursorRawResult.
|
CursorRawResult |
InternalCursorDriver.executeAqlQueryRaw(String database,
String query,
Map<String,Object> bindVars,
AqlQueryOptions aqlQueryOptions) |
<T,S extends DocumentEntity<T>> |
ArangoDriver.executeAqlQueryWithDocumentCursorResult(String query,
Map<String,Object> bindVars,
AqlQueryOptions aqlQueryOptions,
Class<S> classDocumentEntity,
Class<T> clazz)
This method executes an AQL query and returns a DocumentCursorResult
|
<T,S extends DocumentEntity<T>> |
InternalCursorDriver.executeBaseCursorQuery(String database,
String query,
Map<String,Object> bindVars,
AqlQueryOptions aqlQueryOptions,
Class<S> classDocumentEntity,
Class<T> clazz) |
DefaultEntity |
ArangoDriver.executeBatch()
This method sends all stacked requests as batch to ArangoDB.
|
<T> CursorEntity<T> |
ArangoDriver.executeCursorEntityQuery(String query,
Map<String,Object> bindVars,
Boolean calcCount,
Integer batchSize,
Boolean fullCount,
Class<?>... clazz)
This method executes an AQL query and returns a CursorEntity.
|
<T> CursorEntity<T> |
InternalCursorDriver.executeCursorEntityQuery(String database,
String query,
Map<String,Object> bindVars,
AqlQueryOptions aqlQueryOptions,
Class<?>... clazz) |
<T> DocumentCursor<T> |
ArangoDriver.executeDocumentQuery(String query,
Map<String,Object> bindVars,
AqlQueryOptions aqlQueryOptions,
Class<T> clazz)
This method executes an AQL query and returns a DocumentCursor
|
<T> EdgeCursor<T> |
ArangoDriver.executeEdgeQuery(String query,
Map<String,Object> bindVars,
AqlQueryOptions aqlQueryOptions,
Class<T> clazz)
Returns edges as an EdgeCursor by a given query
|
DefaultEntity |
ArangoDriver.executeScript(String jsCode)
Executes a javascript code.
|
DefaultEntity |
InternalAdminDriver.executeScript(String database,
String jsCode) |
<T> DocumentCursor<T> |
ArangoDriver.executeSimpleAllDocuments(String collectionName,
int skip,
int limit,
Class<T> clazz)
Returns all documents of a collections.
|
<T> DocumentCursor<T> |
InternalSimpleDriver.executeSimpleAllDocuments(String database,
String collectionName,
int skip,
int limit,
Class<T> clazz) |
<T> ScalarExampleEntity<T> |
ArangoDriver.executeSimpleAny(String collectionName,
Class<T> clazz)
Returns a random document from the collection
|
<T> ScalarExampleEntity<T> |
InternalSimpleDriver.executeSimpleAny(String database,
String collectionName,
Class<T> clazz) |
<T> DocumentCursor<T> |
ArangoDriver.executeSimpleByExampleDocuments(String collectionName,
Map<String,Object> example,
int skip,
int limit,
Class<T> clazz)
This will find all documents matching a given example.
|
<T> DocumentCursor<T> |
InternalSimpleDriver.executeSimpleByExampleDocuments(String database,
String collectionName,
Map<String,Object> example,
int skip,
int limit,
Class<T> clazz) |
<T> ScalarExampleEntity<T> |
ArangoDriver.executeSimpleFirstExample(String collectionName,
Map<String,Object> example,
Class<T> clazz)
Returns the first document matching the example
|
<T> ScalarExampleEntity<T> |
InternalSimpleDriver.executeSimpleFirstExample(String database,
String collectionName,
Map<String,Object> example,
Class<T> clazz) |
<T> DocumentCursor<T> |
ArangoDriver.executeSimpleFulltextWithDocuments(String collectionName,
String attribute,
String query,
int skip,
int limit,
String index,
Class<T> clazz)
This will find all documents from the collection that match the fulltext
query specified in query.
|
<T> DocumentCursor<T> |
InternalSimpleDriver.executeSimpleFulltextWithDocuments(String database,
String collectionName,
String attribute,
String query,
int skip,
int limit,
String index,
Class<T> clazz) |
<T> DocumentCursor<T> |
ArangoDriver.executeSimpleRangeWithDocuments(String collectionName,
String attribute,
Object left,
Object right,
Boolean closed,
int skip,
int limit,
Class<T> clazz)
This will find all documents within a given range.
|
<T> DocumentCursor<T> |
InternalSimpleDriver.executeSimpleRangeWithDocuments(String database,
String collectionName,
String attribute,
Object left,
Object right,
Boolean closed,
int skip,
int limit,
Class<T> clazz) |
SimpleByResultEntity |
ArangoDriver.executeSimpleRemoveByExample(String collectionName,
Map<String,Object> example,
Boolean waitForSync,
Integer limit)
This will remove all documents in the collection that match the specified
example object.
|
SimpleByResultEntity |
InternalSimpleDriver.executeSimpleRemoveByExample(String database,
String collectionName,
Map<String,Object> example,
Boolean waitForSync,
Integer limit) |
SimpleByResultEntity |
ArangoDriver.executeSimpleReplaceByExample(String collectionName,
Map<String,Object> example,
Map<String,Object> newValue,
Boolean waitForSync,
Integer limit)
This will replace all documents in the collection that match the
specified example object.
|
SimpleByResultEntity |
InternalSimpleDriver.executeSimpleReplaceByExample(String database,
String collectionName,
Map<String,Object> example,
Map<String,Object> newValue,
Boolean waitForSync,
Integer limit) |
SimpleByResultEntity |
ArangoDriver.executeSimpleUpdateByExample(String collectionName,
Map<String,Object> example,
Map<String,Object> newValue,
Boolean keepNull,
Boolean waitForSync,
Integer limit)
This will update all documents in the collection that match the specified
example object.
|
SimpleByResultEntity |
InternalSimpleDriver.executeSimpleUpdateByExample(String database,
String collectionName,
Map<String,Object> example,
Map<String,Object> newValue,
Boolean keepNull,
Boolean waitForSync,
Integer limit) |
TransactionResultEntity |
InternalTransactionDriver.executeTransaction(String database,
TransactionEntity transactionEntity) |
TransactionResultEntity |
ArangoDriver.executeTransaction(TransactionEntity transactionEntity)
Executes the transaction on the database server.
|
<T> VertexCursor<T> |
ArangoDriver.executeVertexQuery(String query,
Map<String,Object> bindVars,
AqlQueryOptions aqlQueryOptions,
Class<T> clazz)
Returns vertices as a VertexCursor by a given query
|
boolean |
ArangoDriver.exists(long collectionId,
long documentId)
The exists method determines whether a document exists given its
identifier.
|
boolean |
ArangoDriver.exists(long collectionId,
String documentKey)
The exists method determines whether a document exists given its
identifier.
|
boolean |
ArangoDriver.exists(String documentHandle)
The exists method determines whether a document exists given its
identifier.
|
boolean |
ArangoDriver.exists(String collectionName,
long documentId)
The exists method determines whether a document exists given its
identifier.
|
boolean |
ArangoDriver.exists(String collectionName,
String documentKey)
The exists method determines whether a document exists given its
identifier.
|
DefaultEntity |
ArangoDriver.finishQuery(long cursorId)
Deletes a cursor from the database.
|
DefaultEntity |
InternalCursorDriver.finishQuery(String database,
long cursorId) |
AqlFunctionsEntity |
ArangoDriver.getAqlFunctions(String namespace)
Gets all AQL functions whithin a given namespace
|
AqlFunctionsEntity |
InternalAqlFunctionsDriver.getAqlFunctions(String database,
String namespace) |
<T> T |
ArangoDriver.getBatchResponseByRequestId(String requestId)
This method returns the result of a call to ArangoDB executed within a
batch request.
|
CollectionEntity |
ArangoDriver.getCollection(long id)
Returns a collection from ArangoDB by id
|
CollectionEntity |
ArangoDriver.getCollection(String name)
Returns a collection from ArangoDB by name
|
CollectionEntity |
InternalCollectionDriver.getCollection(String database,
String name) |
CollectionEntity |
ArangoDriver.getCollectionChecksum(String name,
Boolean withRevisions,
Boolean withData)
Returns a collection from ArangoDB by name including the collection
checksum
|
CollectionEntity |
InternalCollectionDriver.getCollectionChecksum(String database,
String name,
Boolean withRevisions,
Boolean withData) |
CollectionEntity |
ArangoDriver.getCollectionCount(long id)
Returns a collection from ArangoDB by id including the document count
|
CollectionEntity |
ArangoDriver.getCollectionCount(String name)
Returns a collection from ArangoDB by name including the document count
|
CollectionEntity |
InternalCollectionDriver.getCollectionCount(String database,
String name) |
CollectionEntity |
ArangoDriver.getCollectionFigures(long id)
Returns a collection from ArangoDB by id including the collection figures
|
CollectionEntity |
ArangoDriver.getCollectionFigures(String name)
Returns a collection from ArangoDB by name including the collection
figures
|
CollectionEntity |
InternalCollectionDriver.getCollectionFigures(String database,
String name) |
CollectionEntity |
ArangoDriver.getCollectionProperties(long id)
Returns a collection from ArangoDB including all properties by id
|
CollectionEntity |
ArangoDriver.getCollectionProperties(String name)
Returns a collection from ArangoDB including all properties by name
|
CollectionEntity |
InternalCollectionDriver.getCollectionProperties(String database,
String name) |
CollectionEntity |
ArangoDriver.getCollectionRevision(long id)
Returns a collection from ArangoDB including revision by id
|
CollectionEntity |
ArangoDriver.getCollectionRevision(String name)
Returns a collection from ArangoDB including revision by name
|
CollectionEntity |
InternalCollectionDriver.getCollectionRevision(String database,
String name) |
CollectionsEntity |
ArangoDriver.getCollections()
Returns all collections from ArangoDB
|
CollectionsEntity |
ArangoDriver.getCollections(Boolean excludeSystem)
Returns all collections from ArangoDB
|
CollectionsEntity |
InternalCollectionDriver.getCollections(String database,
Boolean excludeSystem) |
DatabaseEntity |
InternalDatabaseDriver.getCurrentDatabase() |
DatabaseEntity |
ArangoDriver.getCurrentDatabase()
Returns the current database
|
QueriesResultEntity |
ArangoDriver.getCurrentlyRunningQueries()
Returns a list of currently running AQL queries of the default database
|
QueriesResultEntity |
InternalCursorDriver.getCurrentlyRunningQueries(String database) |
QueriesResultEntity |
ArangoDriver.getCurrentlyRunningQueries(String database)
Returns a list of currently running AQL queries of a database
|
StringsResultEntity |
ArangoDriver.getDatabases()
Returns all databases
|
StringsResultEntity |
ArangoDriver.getDatabases(boolean currentUserAccessableOnly)
Returns all databases
|
StringsResultEntity |
InternalDatabaseDriver.getDatabases(boolean currentUserAccessableOnly,
String username,
String password) |
StringsResultEntity |
ArangoDriver.getDatabases(String username,
String password)
Returns all databases the user identified by his credentials can access
|
<T> DocumentEntity<T> |
ArangoDriver.getDocument(long collectionId,
long documentId,
Class<T> clazz)
Returns a document entity.
|
<T> DocumentEntity<T> |
ArangoDriver.getDocument(long collectionId,
String documentKey,
Class<T> clazz)
Returns a document entity.
|
<T> DocumentEntity<T> |
ArangoDriver.getDocument(String documentHandle,
Class<T> clazz)
Returns a document entity.
|
<T> DocumentEntity<T> |
ArangoDriver.getDocument(String documentHandle,
Class<T> clazz,
Long ifNoneMatchRevision,
Long ifMatchRevision)
Returns a document entity.
|
<T> DocumentEntity<T> |
ArangoDriver.getDocument(String collectionName,
long documentId,
Class<T> clazz)
Returns a document entity.
|
<T> DocumentEntity<T> |
ArangoDriver.getDocument(String collectionName,
String documentKey,
Class<T> clazz)
Returns a document entity.
|
<T> DocumentEntity<T> |
InternalDocumentDriver.getDocument(String database,
String documentHandle,
Class<T> clazz,
Long ifNoneMatchRevision,
Long ifMatchRevision) |
String |
ArangoDriver.getDocumentRaw(String documentHandle,
Long ifNoneMatchRevision,
Long ifMatchRevision)
Returns the document as a JSON string.
|
String |
InternalDocumentDriver.getDocumentRaw(String database,
String documentHandle,
Long ifNoneMatchRevision,
Long ifMatchRevision) |
List<String> |
ArangoDriver.getDocuments(String collectionName)
This method returns all document handles from a collection.
|
List<String> |
InternalDocumentDriver.getDocuments(String database,
String collectionName) |
<T> EdgeEntity<T> |
InternalGraphDriver.getEdge(String database,
String graphName,
String edgeCollectionName,
String key,
Class<T> clazz,
Long ifMatchRevision,
Long ifNoneMatchRevision)
Loads an edge with the given key if it is contained within your graph.
|
List<String> |
InternalGraphDriver.getEdgeCollections(String databaseName,
String graphName)
Returns a list of names of all edge collections of a graph that are
defined in the graphs edgeDefinitions
|
List<Endpoint> |
InternalEndpointDriver.getEndpoints() |
List<Endpoint> |
ArangoDriver.getEndpoints()
This method returns all endpoints.
|
GraphEntity |
ArangoDriver.getGraph(String graphName)
Get graph object by name, including its edge definitions and vertex
collections.
|
GraphEntity |
InternalGraphDriver.getGraph(String databaseName,
String graphName)
Get graph object by name, including its edge definitions and vertex
collections.
|
List<String> |
ArangoDriver.getGraphList()
Creates a list of the names of all available graphs of the default
database.
|
List<String> |
InternalGraphDriver.getGraphList(String databaseName)
Creates a list of the names of all available graphs.
|
GraphsEntity |
ArangoDriver.getGraphs()
Returns a GraphsEntity containing all graph as GraphEntity object of the
default database.
|
GraphsEntity |
InternalGraphDriver.getGraphs(String databaseName)
Returns a GraphsEntity containing all graph as GraphEntity object.
|
IndexEntity |
ArangoDriver.getIndex(String indexHandle)
Returns an index from a collection.
|
IndexEntity |
InternalIndexDriver.getIndex(String database,
String indexHandle) |
IndexesEntity |
ArangoDriver.getIndexes(long collectionId)
Returns all indices from a collection.
|
IndexesEntity |
ArangoDriver.getIndexes(String collectionName)
Returns all indices from a collection.
|
IndexesEntity |
InternalIndexDriver.getIndexes(String database,
String collectionName) |
<T> T |
ArangoDriver.getJobResult(String jobId)
Returns the job result for a given job id.
|
<T> T |
InternalJobsDriver.getJobResult(String database,
String jobId) |
List<String> |
ArangoDriver.getJobs(JobsEntity.JobState jobState)
Returns a list of all job identifiers of asynchronous executed jobs,
filtered by job state.
|
List<String> |
ArangoDriver.getJobs(JobsEntity.JobState jobState,
int count)
Returns a list of all job identifiers of asynchronous executed jobs,
filtered by job state.
|
List<String> |
InternalJobsDriver.getJobs(String database,
JobsEntity.JobState jobState) |
List<String> |
InternalJobsDriver.getJobs(String database,
JobsEntity.JobState jobState,
int count) |
protected String |
BaseArangoDriver.getJSONResponseText(HttpResponseEntity res)
Gets the raw JSON string with results, from the Http response
|
QueryCachePropertiesEntity |
InternalQueryCacheDriver.getQueryCacheProperties() |
QueryCachePropertiesEntity |
ArangoDriver.getQueryCacheProperties()
Returns the global configuration for the AQL query cache (since ArangoDB
2.7)
|
QueryTrackingPropertiesEntity |
ArangoDriver.getQueryTrackingProperties()
Returns the configuration for the AQL query tracking
|
QueryTrackingPropertiesEntity |
InternalCursorDriver.getQueryTrackingProperties(String database) |
ReplicationApplierConfigEntity |
ArangoDriver.getReplicationApplierConfig()
Returns the configuration of the replication applier.
|
ReplicationApplierConfigEntity |
InternalReplicationDriver.getReplicationApplierConfig(String database) |
ReplicationApplierStateEntity |
ArangoDriver.getReplicationApplierState()
Returns the state of the replication applier, regardless of whether the
applier is currently running or not.
|
ReplicationApplierStateEntity |
InternalReplicationDriver.getReplicationApplierState(String database) |
<T> void |
ArangoDriver.getReplicationDump(String collectionName,
Long from,
Long to,
Integer chunkSize,
Boolean ticks,
Class<T> clazz,
DumpHandler<T> handler)
Returns the data from the collection for the requested range.
|
<T> void |
InternalReplicationDriver.getReplicationDump(String database,
String collectionName,
Long from,
Long to,
Integer chunkSize,
Boolean ticks,
Class<T> clazz,
DumpHandler<T> handler) |
ReplicationInventoryEntity |
ArangoDriver.getReplicationInventory()
Returns the list of collections and indexes available on the server.
|
ReplicationInventoryEntity |
ArangoDriver.getReplicationInventory(boolean includeSystem)
Returns the list of collections and indexes available on the server.
|
ReplicationInventoryEntity |
InternalReplicationDriver.getReplicationInventory(String database,
Boolean includeSystem) |
ReplicationLoggerConfigEntity |
ArangoDriver.getReplicationLoggerConfig()
Returns the configuration of the replication logger
|
ReplicationLoggerConfigEntity |
InternalReplicationDriver.getReplicationLoggerConfig(String database) |
ReplicationLoggerStateEntity |
ArangoDriver.getReplicationLoggerState()
Returns the current state of the server's replication logger.
|
ReplicationLoggerStateEntity |
InternalReplicationDriver.getReplicationLoggerState(String database) |
String |
InternalReplicationDriver.getReplicationServerId() |
String |
ArangoDriver.getReplicationServerId()
Returns the servers id.
|
AdminLogEntity |
ArangoDriver.getServerLog(Integer logLevel,
Boolean logLevelUpTo,
Integer start,
Integer size,
Integer offset,
Boolean sortAsc,
String text)
Returns the server log, for the parameters *logLevel* and *logLevelUpTo*
please note the following: fatal or 0 error or 1 warning or 2 info or 3
debug or 4 The default value is info.
|
AdminLogEntity |
InternalAdminDriver.getServerLog(Integer logLevel,
Boolean logLevelUpTo,
Integer start,
Integer size,
Integer offset,
Boolean sortAsc,
String text) |
<V,E> ShortestPathEntity<V,E> |
InternalCursorDriver.getShortestPath(String database,
String graphName,
Object startVertexExample,
Object endVertexExample,
ShortestPathOptions shortestPathOptions,
AqlQueryOptions aqlQueryOptions,
Class<V> vertexClass,
Class<E> edgeClass,
ArangoDriver driver)
Get the shortest path from a vertex to another vertex
|
QueriesResultEntity |
ArangoDriver.getSlowQueries()
Returns a list of slow running AQL queries of the default database
|
QueriesResultEntity |
InternalCursorDriver.getSlowQueries(String database) |
QueriesResultEntity |
ArangoDriver.getSlowQueries(String database)
Returns a list of slow running AQL queries of a database
|
StatisticsEntity |
ArangoDriver.getStatistics()
Returns the current statistics
|
StatisticsEntity |
InternalAdminDriver.getStatistics()
Get the ArangoDB database statistics
|
StatisticsDescriptionEntity |
ArangoDriver.getStatisticsDescription()
Returns the statistics description
|
StatisticsDescriptionEntity |
InternalAdminDriver.getStatisticsDescription() |
ArangoUnixTime |
ArangoDriver.getTime()
Returns the current server time
|
ArangoUnixTime |
InternalAdminDriver.getTime() |
<V,E> TraversalEntity<V,E> |
InternalTraversalDriver.getTraversal(String databaseName,
TraversalQueryOptions traversalQueryOptions,
Class<V> vertexClazz,
Class<E> edgeClazz) |
<V,E> TraversalEntity<V,E> |
ArangoDriver.getTraversal(TraversalQueryOptions traversalQueryOptions,
Class<V> vertexClazz,
Class<E> edgeClazz)
Do a graph traversal.
|
UserEntity |
InternalUsersDriver.getUser(String username) |
UserEntity |
ArangoDriver.getUser(String username)
Returns a database user.
|
UsersEntity |
InternalUsersDriver.getUsers() |
List<UserEntity> |
ArangoDriver.getUsers()
Returns all database user.
|
List<DocumentEntity<UserEntity>> |
ArangoDriver.getUsersDocument()
Returns all database user as document.
|
ArangoVersion |
ArangoDriver.getVersion()
Returns the database version
|
ArangoVersion |
InternalAdminDriver.getVersion() |
<T> VertexEntity<T> |
InternalGraphDriver.getVertex(String database,
String graphName,
String collectionName,
String key,
Class<T> clazz,
Long ifMatchRevision,
Long ifNoneMatchRevision)
Gets a vertex with the given key if it is contained within your graph.
|
List<String> |
InternalGraphDriver.getVertexCollections(String databaseName,
String graphName,
boolean excludeOrphan)
Returns a list of names of all vertex collections of a graph, defined in
the graphs edgeDefinitions (in "from", "to", and "orphanCollections")
|
DefaultEntity |
InternalUsersDriver.grantDatabaseAccess(String username,
String database) |
DefaultEntity |
ArangoDriver.grantDatabaseAccess(String username,
String database)
Grants the User access to the given database.
|
<T> EdgeEntity<T> |
ArangoDriver.graphCreateEdge(String graphName,
String edgeCollectionName,
String key,
String fromHandle,
String toHandle)
Stores a new edge with no further information into the given collection.
|
<T> EdgeEntity<T> |
ArangoDriver.graphCreateEdge(String graphName,
String edgeCollectionName,
String key,
String fromHandle,
String toHandle,
T value,
Boolean waitForSync)
Stores a new edge with the information contained within the body into the
given collection.
|
<T> EdgeEntity<T> |
ArangoDriver.graphCreateEdge(String graphName,
String edgeCollectionName,
String fromHandle,
String toHandle,
T value,
Boolean waitForSync)
Stores a new edge with the information contained within the body into the
given collection.
|
GraphEntity |
ArangoDriver.graphCreateEdgeDefinition(String graphName,
EdgeDefinitionEntity edgeDefinition)
Adds a new edge definition to an existing graph
|
<T> VertexEntity<T> |
ArangoDriver.graphCreateVertex(String graphName,
String collectionName,
String key,
T vertex,
Boolean waitForSync)
Stores a new vertex with the information contained within the document
into the given collection.
|
<T> VertexEntity<T> |
ArangoDriver.graphCreateVertex(String graphName,
String collectionName,
T vertex,
Boolean waitForSync)
Stores a new vertex with the information contained within the document
into the given collection.
|
GraphEntity |
ArangoDriver.graphCreateVertexCollection(String graphName,
String collectionName)
Creates a vertex collection
|
DeletedEntity |
ArangoDriver.graphDeleteEdge(String graphName,
String edgeCollectionName,
String key)
Deletes an edge with the given id, if it is contained within the graph.
|
DeletedEntity |
ArangoDriver.graphDeleteEdge(String graphName,
String edgeCollectionName,
String key,
Boolean waitForSync)
Deletes an edge with the given id, if it is contained within the graph.
|
DeletedEntity |
ArangoDriver.graphDeleteEdge(String graphName,
String edgeCollectionName,
String key,
Boolean waitForSync,
Long ifMatchRevision,
Long ifNoneMatchRevision)
Deletes an edge with the given id, if it is contained within the graph.
|
GraphEntity |
ArangoDriver.graphDeleteEdgeDefinition(String graphName,
String edgeCollectionName,
Boolean dropCollection)
Removes an existing edge definition from this graph.
|
DeletedEntity |
ArangoDriver.graphDeleteVertex(String graphName,
String collectionName,
String key)
Deletes a vertex with the given key, if it is contained within the graph.
|
DeletedEntity |
ArangoDriver.graphDeleteVertex(String graphName,
String collectionName,
String key,
Boolean waitForSync)
Deletes a vertex with the given key, if it is contained within the graph.
|
DeletedEntity |
ArangoDriver.graphDeleteVertex(String graphName,
String collectionName,
String key,
Boolean waitForSync,
Long ifMatchRevision,
Long ifNoneMatchRevision)
Deletes a vertex with the given key, if it is contained within the graph.
|
DeletedEntity |
ArangoDriver.graphDeleteVertexCollection(String graphName,
String collectionName,
Boolean dropCollection)
Removes a vertex collection from the graph and optionally deletes the
collection, if it is not used in any other graph.
|
<T> EdgeEntity<T> |
ArangoDriver.graphGetEdge(String graphName,
String edgeCollectionName,
String key,
Class<T> clazz)
Loads an edge with the given key if it is contained within your graph.
|
<T> EdgeEntity<T> |
ArangoDriver.graphGetEdge(String graphName,
String edgeCollectionName,
String key,
Class<T> clazz,
Long ifMatchRevision,
Long ifNoneMatchRevision)
Loads an edge with the given key if it is contained within your graph.
|
List<String> |
ArangoDriver.graphGetEdgeCollections(String graphName)
Returns a list of all edge collection of a graph that are defined in the
graphs edgeDefinitions
|
EdgeCursor<PlainEdgeEntity> |
ArangoDriver.graphGetEdgeCursor(String graphName)
Returns all Edges of a graph, each edge as a PlainEdgeEntity.
|
<T> EdgeCursor<T> |
ArangoDriver.graphGetEdgeCursor(String graphName,
Class<T> clazz,
Object vertexExample,
GraphEdgesOptions graphEdgesOptions,
AqlQueryOptions aqlQueryOptions)
Deprecated.
use AQL instead
|
<T> EdgeCursor<T> |
ArangoDriver.graphGetEdgeCursorByExample(String graphName,
Class<T> clazz,
Object vertexExample)
Returns all Edges of a given vertex.
|
<V,E> ShortestPathEntity<V,E> |
ArangoDriver.graphGetShortestPath(String graphName,
Object startVertexExample,
Object endVertexExample,
ShortestPathOptions shortestPathOptions,
Class<V> vertexClass,
Class<E> edgeClass)
Deprecated.
use AQL instead
|
<T> VertexEntity<T> |
ArangoDriver.graphGetVertex(String graphName,
String collectionName,
String key,
Class<T> clazz)
Gets a vertex with the given key if it is contained within your graph.
|
<T> VertexEntity<T> |
ArangoDriver.graphGetVertex(String graphName,
String collectionName,
String key,
Class<T> clazz,
Long ifNoneMatchRevision,
Long ifMatchRevision)
Gets a vertex with the given key if it is contained within your graph.
|
List<String> |
ArangoDriver.graphGetVertexCollections(String graphName)
Returns a list of all vertex collection of a graph that are defined in
the graphs edgeDefinitions (in "from", "to", and "orphanCollections")
|
List<String> |
ArangoDriver.graphGetVertexCollections(String graphName,
boolean excludeOrphan)
Returns a list of all vertex collection of a graph that are defined in
the graphs edgeDefinitions (in "from", "to", and "orphanCollections")
|
<T> VertexCursor<T> |
ArangoDriver.graphGetVertexCursor(String graphName,
Class<T> clazz,
Object vertexExample,
GraphVerticesOptions graphVerticesOptions,
AqlQueryOptions aqlQueryOptions)
Deprecated.
use AQL instead
|
<T> EdgeEntity<T> |
ArangoDriver.graphReplaceEdge(String graphName,
String edgeCollectionName,
String key,
String fromHandle,
String toHandle,
T value)
Replaces an edge with the given key by the content in the body.
|
<T> EdgeEntity<T> |
ArangoDriver.graphReplaceEdge(String graphName,
String edgeCollectionName,
String key,
String fromHandle,
String toHandle,
T value,
Boolean waitForSync,
Long ifMatchRevision,
Long ifNoneMatchRevision)
Replaces an edge with the given key by the content in the body.
|
GraphEntity |
ArangoDriver.graphReplaceEdgeDefinition(String graphName,
String edgeCollectionName,
EdgeDefinitionEntity edgeDefinition)
Replaces an existing edge definition to an existing graph.
|
<T> VertexEntity<T> |
ArangoDriver.graphReplaceVertex(String graphName,
String collectionName,
String key,
T vertex)
Replaces a vertex with the given key by the content in the body.
|
<T> VertexEntity<T> |
ArangoDriver.graphReplaceVertex(String graphName,
String collectionName,
String key,
T vertex,
Boolean waitForSync,
Long ifMatchRevision,
Long ifNoneMatchRevision)
Replaces a vertex with the given key by the content in the body.
|
<T> EdgeEntity<T> |
ArangoDriver.graphUpdateEdge(String graphName,
String edgeCollectionName,
String key,
String fromHandle,
String toHandle,
T value,
Boolean keepNull)
Updates an edge with the given key by adding the content in the body.
|
<T> EdgeEntity<T> |
ArangoDriver.graphUpdateEdge(String graphName,
String edgeCollectionName,
String key,
String fromHandle,
String toHandle,
T value,
Boolean waitForSync,
Boolean keepNull,
Long ifMatchRevision,
Long ifNoneMatchRevision)
Updates an edge with the given key by adding the content in the body.
|
<T> VertexEntity<T> |
ArangoDriver.graphUpdateVertex(String graphName,
String collectionName,
String key,
T vertex,
Boolean keepNull)
Updates a vertex with the given key by adding the content in the body.
|
<T> VertexEntity<T> |
ArangoDriver.graphUpdateVertex(String graphName,
String collectionName,
String key,
T vertex,
Boolean keepNull,
Boolean waitForSync,
Long ifMatchRevision,
Long ifNoneMatchRevision)
Updates a vertex with the given key by adding the content in the body.
|
ImportResultEntity |
ArangoDriver.importDocuments(String collection,
Collection<?> values)
Creates documents in a collection.
|
ImportResultEntity |
ArangoDriver.importDocuments(String collection,
Collection<?> values,
ImportOptionsJson importOptionsJson)
Creates documents in a collection.
|
ImportResultEntity |
InternalImportDriver.importDocuments(String database,
String collection,
Collection<?> values,
ImportOptionsJson importOptionsJson) |
ImportResultEntity |
ArangoDriver.importDocumentsByHeaderValues(String collection,
Collection<? extends Collection<?>> headerValues)
Creates documents in a collection.
|
ImportResultEntity |
ArangoDriver.importDocumentsByHeaderValues(String collection,
Collection<? extends Collection<?>> headerValues,
ImportOptions importOptions)
Creates documents in a collection.
|
ImportResultEntity |
InternalImportDriver.importDocumentsByHeaderValues(String database,
String collection,
Collection<? extends Collection<?>> headerValues,
ImportOptions importOptions) |
ImportResultEntity |
ArangoDriver.importDocumentsByHeaderValuesRaw(String collection,
String headerValues,
ImportOptions importOptions)
Creates documents in a collection.
|
ImportResultEntity |
InternalImportDriver.importDocumentsByHeaderValuesRaw(String database,
String collection,
String headerValues,
ImportOptions importOptions) |
ImportResultEntity |
ArangoDriver.importDocumentsRaw(String collection,
String values,
ImportOptionsRaw importOptionsRaw)
Creates documents in a collection.
|
ImportResultEntity |
InternalImportDriver.importDocumentsRaw(String database,
String collection,
String values,
ImportOptionsRaw importOptionsRaw) |
ImportResultEntity |
ArangoClient.importRawJsonDocuments(String collectionName,
Iterator<String> itr,
int bufferCount) |
DefaultEntity |
ArangoDriver.killQuery(String id)
Kills an AQL query
|
DefaultEntity |
InternalCursorDriver.killQuery(String database,
String id) |
DefaultEntity |
ArangoDriver.killQuery(String database,
String id)
Kills an AQL query
|
CollectionEntity |
ArangoDriver.loadCollection(long id)
Returns the collection and loads it into memory.
|
CollectionEntity |
ArangoDriver.loadCollection(long id,
Boolean count)
Returns the collection and loads it into memory.
|
CollectionEntity |
ArangoDriver.loadCollection(String name)
Returns the collection and loads it into memory.
|
CollectionEntity |
ArangoDriver.loadCollection(String name,
Boolean count)
Returns the collection and loads it into memory.
|
CollectionEntity |
InternalCollectionDriver.loadCollection(String database,
String name,
Boolean count) |
DefaultEntity |
ArangoDriver.reloadRouting()
Triggers the routes reloading in ArangoDB
|
DefaultEntity |
InternalAdminDriver.reloadRouting() |
CollectionEntity |
ArangoDriver.renameCollection(long id,
String newName)
Returns the collection and changes it's name.
|
CollectionEntity |
ArangoDriver.renameCollection(String name,
String newName)
Returns the collection and changes it's name.
|
CollectionEntity |
InternalCollectionDriver.renameCollection(String database,
String name,
String newName) |
DocumentEntity<?> |
ArangoDriver.replaceDocument(long collectionId,
long documentId,
Object value)
This method replaces the content of the document defined by documentId.
|
<T> DocumentEntity<T> |
ArangoDriver.replaceDocument(long collectionId,
long documentId,
T value,
Long rev,
Boolean waitForSync)
This method replaces the content of the document defined by documentId.
|
DocumentEntity<?> |
ArangoDriver.replaceDocument(long collectionId,
String documentKey,
Object value,
Long rev,
Boolean waitForSync)
This method replaces the content of the document defined by documentKey.
|
<T> DocumentEntity<T> |
ArangoDriver.replaceDocument(long collectionId,
String documentKey,
T value)
This method replaces the content of the document defined by documentKey.
|
DocumentEntity<?> |
ArangoDriver.replaceDocument(String collectionName,
long documentId,
Object value,
Long rev,
Boolean waitForSync)
This method replaces the content of the document defined by documentId.
|
<T> DocumentEntity<T> |
ArangoDriver.replaceDocument(String collectionName,
long documentId,
T value)
This method replaces the content of the document defined by documentId.
|
DocumentEntity<?> |
ArangoDriver.replaceDocument(String collectionName,
String documentKey,
Object value,
Long rev,
Boolean waitForSync)
This method replaces the content of the document defined by documentKey.
|
<T> DocumentEntity<T> |
ArangoDriver.replaceDocument(String collectionName,
String documentKey,
T value)
This method replaces the content of the document defined by documentKey.
|
<T> DocumentEntity<T> |
InternalDocumentDriver.replaceDocument(String database,
String documentHandle,
T value,
Long rev,
Boolean waitForSync) |
<T> DocumentEntity<T> |
ArangoDriver.replaceDocument(String documentHandle,
T value)
This method replaces the content of the document defined by
documentHandle.
|
<T> DocumentEntity<T> |
ArangoDriver.replaceDocument(String documentHandle,
T value,
Long rev,
Boolean waitForSync)
This method replaces the content of the document defined by
documentHandle.
|
DocumentEntity<String> |
ArangoDriver.replaceDocumentRaw(String documentHandle,
String rawJsonString,
Long rev,
Boolean waitForSync)
This method replaces the content of the document defined by
documentHandle.
|
DocumentEntity<String> |
InternalDocumentDriver.replaceDocumentRaw(String database,
String documentHandle,
String rawJsonString,
Long rev,
Boolean waitForSync) |
<T> EdgeEntity<T> |
InternalGraphDriver.replaceEdge(String database,
String graphName,
String edgeCollectionName,
String key,
String fromHandle,
String toHandle,
T value,
Boolean waitForSync,
Long ifMatchRevision,
Long ifNoneMatchRevision)
Replaces an edge with the given key by the content in the body.
|
GraphEntity |
InternalGraphDriver.replaceEdgeDefinition(String databaseName,
String graphName,
String edgeName,
EdgeDefinitionEntity edgeDefinition)
Replaces an existing edge definition to an existing graph.
|
DefaultEntity |
InternalUsersDriver.replaceUser(String username,
String passwd,
Boolean active,
Map<String,Object> extra) |
DefaultEntity |
ArangoDriver.replaceUser(String username,
String passwd,
Boolean active,
Map<String,Object> extra)
Replaces the data of a database user.
|
<T> VertexEntity<T> |
InternalGraphDriver.replaceVertex(String database,
String graphName,
String collectionName,
String key,
T vertex,
Boolean waitForSync,
Long ifMatchRevision,
Long ifNoneMatchRevision)
Replaces a vertex with the given key by the content in the body.
|
CollectionEntity |
ArangoDriver.setCollectionProperties(long id,
Boolean newWaitForSync,
Long journalSize)
Returns the collection and changes it's journalSize and waitForSync.
|
CollectionEntity |
ArangoDriver.setCollectionProperties(String name,
Boolean newWaitForSync,
Long journalSize)
Returns the collection and changes it's journalSize and waitForSync.
|
CollectionEntity |
InternalCollectionDriver.setCollectionProperties(String database,
String name,
Boolean newWaitForSync,
Long journalSize) |
protected void |
BaseArangoDriver.setKeyValueHeader(HttpResponseEntity res,
KeyValueEntity entity) |
QueryCachePropertiesEntity |
InternalQueryCacheDriver.setQueryCacheProperties(QueryCachePropertiesEntity properties) |
QueryCachePropertiesEntity |
ArangoDriver.setQueryCacheProperties(QueryCachePropertiesEntity properties)
Changes the configuration for the AQL query cache (since ArangoDB 2.7)
|
QueryTrackingPropertiesEntity |
ArangoDriver.setQueryTrackingProperties(QueryTrackingPropertiesEntity properties)
Changes the configuration for the AQL query tracking
|
QueryTrackingPropertiesEntity |
InternalCursorDriver.setQueryTrackingProperties(String database,
QueryTrackingPropertiesEntity properties) |
ReplicationApplierConfigEntity |
ArangoDriver.setReplicationApplierConfig(ReplicationApplierConfigEntity replicationApplierConfigEntity)
Sets the configuration of the replication applier.
|
ReplicationApplierConfigEntity |
InternalReplicationDriver.setReplicationApplierConfig(String database,
ReplicationApplierConfigEntity param) |
ReplicationApplierConfigEntity |
ArangoDriver.setReplicationApplierConfig(String endpoint,
String database,
String username,
String password,
Integer maxConnectRetries,
Integer connectTimeout,
Integer requestTimeout,
Integer chunkSize,
Boolean autoStart,
Boolean adaptivePolling)
Sets the configuration of the replication applier.
|
ReplicationApplierConfigEntity |
InternalReplicationDriver.setReplicationApplierConfig(String localDatabase,
String endpoint,
String database,
String username,
String password,
Integer maxConnectRetries,
Integer connectTimeout,
Integer requestTimeout,
Integer chunkSize,
Boolean autoStart,
Boolean adaptivePolling) |
ReplicationLoggerConfigEntity |
ArangoDriver.setReplicationLoggerConfig(Boolean autoStart,
Boolean logRemoteChanges,
Long maxEvents,
Long maxEventsSize)
Sets the replication logger configuration
|
ReplicationLoggerConfigEntity |
InternalReplicationDriver.setReplicationLoggerConfig(String database,
Boolean autoStart,
Boolean logRemoteChanges,
Long maxEvents,
Long maxEventsSize) |
protected void |
BaseArangoDriver.setStatusCode(HttpResponseEntity res,
BaseEntity entity) |
void |
ArangoDriver.startAsyncMode(boolean fireAndForget)
This method sets the driver to asynchronous execution.
|
void |
ArangoDriver.startBatchMode()
This method enables batch execution.
|
ReplicationApplierStateEntity |
ArangoDriver.startReplicationApplier(Long from)
Starts the replication applier.
|
ReplicationApplierStateEntity |
InternalReplicationDriver.startReplicationApplier(String database,
Long from) |
boolean |
ArangoDriver.startReplicationLogger()
Starts the replication logger
|
boolean |
InternalReplicationDriver.startReplicationLogger(String database) |
void |
ArangoDriver.stopAsyncMode()
This method sets the driver back to synchronous execution.
|
ReplicationApplierStateEntity |
ArangoDriver.stopReplicationApplier()
Stops the replication applier.
|
ReplicationApplierStateEntity |
InternalReplicationDriver.stopReplicationApplier(String database) |
boolean |
ArangoDriver.stopReplicationLogger()
Stops the replication logger
|
boolean |
InternalReplicationDriver.stopReplicationLogger(String database) |
ReplicationSyncEntity |
ArangoDriver.syncReplication(String endpoint,
String database,
String username,
String password,
RestrictType restrictType,
String... restrictCollections)
Starts a full data synchronization from a remote endpoint into the local
ArangoDB database.
|
ReplicationSyncEntity |
InternalReplicationDriver.syncReplication(String localDatabase,
String endpoint,
String database,
String username,
String password,
RestrictType restrictType,
String... restrictCollections) |
CollectionEntity |
ArangoDriver.truncateCollection(long id)
Returns the collection and deletes all documents.
|
CollectionEntity |
ArangoDriver.truncateCollection(String name)
Returns the collection and deletes all documents.
|
CollectionEntity |
InternalCollectionDriver.truncateCollection(String database,
String name) |
CollectionEntity |
ArangoDriver.unloadCollection(long id)
Returns the collection and deletes it from memory.
|
CollectionEntity |
ArangoDriver.unloadCollection(String name)
Returns the collection and deletes it from memory.
|
CollectionEntity |
InternalCollectionDriver.unloadCollection(String database,
String name) |
DocumentEntity<?> |
ArangoDriver.updateDocument(long collectionId,
long documentId,
Object value)
This method updates a document defined by documentId.
|
DocumentEntity<?> |
ArangoDriver.updateDocument(long collectionId,
long documentId,
Object value,
Boolean keepNull)
This method updates a document defined by documentId.
|
DocumentEntity<?> |
ArangoDriver.updateDocument(long collectionId,
long documentId,
Object value,
Long rev,
Boolean waitForSync,
Boolean keepNull)
This method updates a document defined by documentId.
|
DocumentEntity<?> |
ArangoDriver.updateDocument(long collectionId,
String documentKey,
Object value)
This method updates a document defined by documentKey.
|
DocumentEntity<?> |
ArangoDriver.updateDocument(long collectionId,
String documentKey,
Object value,
Boolean keepNull)
This method updates a document defined by documentKey.
|
DocumentEntity<?> |
ArangoDriver.updateDocument(long collectionId,
String documentKey,
Object value,
Long rev,
Boolean waitForSync,
Boolean keepNull)
This method updates a document defined by documentKey.
|
DocumentEntity<?> |
ArangoDriver.updateDocument(String collectionName,
long documentId,
Object value)
This method updates a document defined by documentId.
|
DocumentEntity<?> |
ArangoDriver.updateDocument(String collectionName,
long documentId,
Object value,
Boolean keepNull)
This method updates a document defined by documentId.
|
DocumentEntity<?> |
ArangoDriver.updateDocument(String collectionName,
long documentId,
Object value,
Long rev,
Boolean waitForSync,
Boolean keepNull)
This method updates a document defined by documentId.
|
DocumentEntity<?> |
ArangoDriver.updateDocument(String collectionName,
String documentKey,
Object value)
This method updates a document defined by documentKey.
|
DocumentEntity<?> |
ArangoDriver.updateDocument(String collectionName,
String documentKey,
Object value,
Boolean keepNull)
This method updates a document defined by documentKey.
|
DocumentEntity<?> |
ArangoDriver.updateDocument(String collectionName,
String documentKey,
Object value,
Long rev,
Boolean waitForSync,
Boolean keepNull)
This method updates a document defined by documentKey.
|
<T> DocumentEntity<T> |
InternalDocumentDriver.updateDocument(String database,
String documentHandle,
T value,
Long rev,
Boolean waitForSync,
Boolean keepNull) |
<T> DocumentEntity<T> |
ArangoDriver.updateDocument(String documentHandle,
T value)
This method updates a document defined by documentHandle.
|
<T> DocumentEntity<T> |
ArangoDriver.updateDocument(String documentHandle,
T value,
Boolean keepNull)
This method updates a document defined by documentKey.
|
<T> DocumentEntity<T> |
ArangoDriver.updateDocument(String documentHandle,
T value,
Long rev,
Boolean waitForSync,
Boolean keepNull)
This method updates a document defined by documentHandle.
|
DocumentEntity<String> |
ArangoDriver.updateDocumentRaw(String documentHandle,
String rawJsonString,
Long rev,
Boolean waitForSync,
Boolean keepNull)
This method updates a document defined by documentHandle.
|
DocumentEntity<String> |
InternalDocumentDriver.updateDocumentRaw(String database,
String documentHandle,
String rawJsonString,
Long rev,
Boolean waitForSync,
Boolean keepNull) |
<T> EdgeEntity<T> |
InternalGraphDriver.updateEdge(String database,
String graphName,
String edgeCollectionName,
String key,
String fromHandle,
String toHandle,
T value,
Boolean waitForSync,
Boolean keepNull,
Long ifMatchRevision,
Long ifNoneMatchRevision)
Updates an edge with the given key by adding the content in the body.
|
void |
CursorResultSet.updateEntity() |
DefaultEntity |
InternalUsersDriver.updateUser(String username,
String passwd,
Boolean active,
Map<String,Object> extra) |
DefaultEntity |
ArangoDriver.updateUser(String username,
String passwd,
Boolean active,
Map<String,Object> extra)
Updates the data of a database user.
|
<T> VertexEntity<T> |
InternalGraphDriver.updateVertex(String databaseName,
String graphName,
String collectionName,
String key,
T vertex,
Boolean keepNull,
Boolean waitForSync,
Long ifMatchRevision,
Long ifNoneMatchRevision)
Updates a vertex with the given key by adding the content in the body.
|
protected void |
BaseArangoDriver.validate(HttpResponseEntity res,
BaseEntity entity) |
protected void |
BaseArangoDriver.validateCollectionName(String name) |
protected void |
BaseArangoDriver.validateDatabaseName(String database,
boolean allowNull) |
protected void |
BaseArangoDriver.validateDocumentHandle(String documentHandle) |
CursorEntity<?> |
ArangoDriver.validateQuery(String query)
This method validates a given AQL query string and returns a CursorEntity
|
CursorEntity<?> |
InternalCursorDriver.validateQuery(String database,
String query) |
Modifier and Type | Method and Description |
---|---|
BatchResponseEntity |
BatchResponseListEntity.getResponseFromRequestId(String requestId) |
Modifier and Type | Method and Description |
---|---|
static boolean |
HttpManager.is400Error(ArangoException e) |
static boolean |
HttpManager.is404Error(ArangoException e) |
static boolean |
HttpManager.is412Error(ArangoException e) |
Modifier and Type | Method and Description |
---|---|
long |
InternalDocumentDriverImpl.checkDocument(String database,
String documentHandle) |
<T> CursorEntity<T> |
InternalCursorDriverImpl.continueQuery(String database,
long cursorId,
Class<?>... clazz) |
DefaultEntity |
InternalAqlFunctionsDriverImpl.createAqlFunction(String database,
String name,
String code) |
CollectionEntity |
InternalCollectionDriverImpl.createCollection(String database,
String name,
CollectionOptions collectionOptions) |
BooleanResultEntity |
InternalDatabaseDriverImpl.createDatabase(String database,
UserEntity... users) |
<T> DocumentEntity<T> |
InternalDocumentDriverImpl.createDocument(String database,
String collectionName,
String documentKey,
T value,
Boolean waitForSync) |
DocumentEntity<String> |
InternalDocumentDriverImpl.createDocumentRaw(String database,
String collectionName,
String rawJsonObjectString,
Boolean waitForSync) |
<T> EdgeEntity<T> |
InternalGraphDriverImpl.createEdge(String database,
String graphName,
String edgeCollectionName,
String key,
String fromHandle,
String toHandle,
T value,
Boolean waitForSync) |
<T> EdgeEntity<T> |
InternalDocumentDriverImpl.createEdge(String database,
String collectionName,
String documentKey,
T value,
String fromHandle,
String toHandle,
Boolean waitForSync) |
GraphEntity |
InternalGraphDriverImpl.createEdgeDefinition(String databaseName,
String graphName,
EdgeDefinitionEntity edgeDefinition) |
BooleanResultEntity |
InternalEndpointDriverImpl.createEndpoint(String endpoint,
String... databases) |
IndexEntity |
InternalIndexDriverImpl.createFulltextIndex(String database,
String collectionName,
Integer minLength,
String... fields) |
GraphEntity |
InternalGraphDriverImpl.createGraph(String databaseName,
String graphName,
Boolean waitForSync) |
GraphEntity |
InternalGraphDriverImpl.createGraph(String databaseName,
String graphName,
List<EdgeDefinitionEntity> edgeDefinitions,
List<String> orphanCollections,
Boolean waitForSync) |
IndexEntity |
InternalIndexDriverImpl.createIndex(String database,
String collectionName,
IndexType type,
boolean unique,
boolean sparse,
String... fields) |
IndexEntity |
InternalIndexDriverImpl.createIndex(String database,
String collectionName,
IndexType type,
boolean unique,
String... fields) |
DefaultEntity |
InternalUsersDriverImpl.createUser(String username,
String passwd,
Boolean active,
Map<String,Object> extra) |
<T> VertexEntity<T> |
InternalGraphDriverImpl.createVertex(String database,
String graphName,
String collectionName,
String key,
T vertex,
Boolean waitForSync) |
<T> VertexEntity<T> |
InternalGraphDriverImpl.createVertex(String database,
String graphName,
String collectionName,
T vertex,
Boolean waitForSync) |
GraphEntity |
InternalGraphDriverImpl.createVertexCollection(String databaseName,
String graphName,
String collectionName) |
void |
InternalJobsDriverImpl.deleteAllJobs(String database) |
DefaultEntity |
InternalAqlFunctionsDriverImpl.deleteAqlFunction(String database,
String name,
boolean isNameSpace) |
CollectionEntity |
InternalCollectionDriverImpl.deleteCollection(String database,
String name) |
BooleanResultEntity |
InternalDatabaseDriverImpl.deleteDatabase(String database) |
DocumentEntity<?> |
InternalDocumentDriverImpl.deleteDocument(String database,
String documentHandle,
Long rev) |
DeletedEntity |
InternalGraphDriverImpl.deleteEdge(String database,
String graphName,
String edgeCollectionName,
String key,
Boolean waitForSync,
Long ifMatchRevision,
Long ifNoneMatchRevision) |
GraphEntity |
InternalGraphDriverImpl.deleteEdgeDefinition(String databaseName,
String graphName,
String edgeName,
Boolean dropCollection) |
BooleanResultEntity |
InternalEndpointDriverImpl.deleteEndpoint(String endpoint) |
void |
InternalJobsDriverImpl.deleteExpiredJobs(String database,
int timeStamp) |
DeletedEntity |
InternalGraphDriverImpl.deleteGraph(String databaseName,
String graphName,
Boolean dropCollections) |
IndexEntity |
InternalIndexDriverImpl.deleteIndex(String database,
String indexHandle) |
void |
InternalJobsDriverImpl.deleteJobById(String database,
String jobId) |
DefaultEntity |
InternalQueryCacheDriverImpl.deleteQueryCache() |
DefaultEntity |
InternalCursorDriverImpl.deleteSlowQueries(String database) |
DefaultEntity |
InternalUsersDriverImpl.deleteUser(String username) |
DeletedEntity |
InternalGraphDriverImpl.deleteVertex(String databaseName,
String graphName,
String collectionName,
String key,
Boolean waitForSync,
Long ifMatchRevision,
Long ifNoneMatchRevision) |
DeletedEntity |
InternalGraphDriverImpl.deleteVertexCollection(String databaseName,
String graphName,
String collectionName,
Boolean dropCollection)
Removes a vertex collection from the graph and optionally deletes the
collection, if it is not used in any other graph.
|
<T> CursorResult<T> |
InternalCursorDriverImpl.executeAqlQuery(String database,
String query,
Map<String,Object> bindVars,
AqlQueryOptions aqlQueryOptions,
Class<T> clazz) |
String |
InternalCursorDriverImpl.executeAqlQueryJSON(String database,
String query,
Map<String,Object> bindVars,
AqlQueryOptions aqlQueryOptions) |
CursorRawResult |
InternalCursorDriverImpl.executeAqlQueryRaw(String database,
String query,
Map<String,Object> bindVars,
AqlQueryOptions aqlQueryOptions) |
<T,S extends DocumentEntity<T>> |
InternalCursorDriverImpl.executeBaseCursorQuery(String database,
String query,
Map<String,Object> bindVars,
AqlQueryOptions aqlQueryOptions,
Class<S> classDocumentEntity,
Class<T> clazz) |
DefaultEntity |
InternalBatchDriverImpl.executeBatch(List<BatchPart> callStack,
String defaultDataBase) |
<T> CursorEntity<T> |
InternalCursorDriverImpl.executeCursorEntityQuery(String database,
String query,
Map<String,Object> bindVars,
AqlQueryOptions aqlQueryOptions,
Class<?>... clazz) |
DefaultEntity |
InternalAdminDriverImpl.executeScript(String database,
String jsCode) |
<T> DocumentCursor<T> |
InternalSimpleDriverImpl.executeSimpleAllDocuments(String database,
String collectionName,
int skip,
int limit,
Class<T> clazz) |
<T> ScalarExampleEntity<T> |
InternalSimpleDriverImpl.executeSimpleAny(String database,
String collectionName,
Class<T> clazz) |
<T> DocumentCursor<T> |
InternalSimpleDriverImpl.executeSimpleByExampleDocuments(String database,
String collectionName,
Map<String,Object> example,
int skip,
int limit,
Class<T> clazz) |
<T> ScalarExampleEntity<T> |
InternalSimpleDriverImpl.executeSimpleFirstExample(String database,
String collectionName,
Map<String,Object> example,
Class<T> clazz) |
<T> DocumentCursor<T> |
InternalSimpleDriverImpl.executeSimpleFulltextWithDocuments(String database,
String collectionName,
String attribute,
String query,
int skip,
int limit,
String index,
Class<T> clazz) |
<T> DocumentCursor<T> |
InternalSimpleDriverImpl.executeSimpleRangeWithDocuments(String database,
String collectionName,
String attribute,
Object left,
Object right,
Boolean closed,
int skip,
int limit,
Class<T> clazz) |
SimpleByResultEntity |
InternalSimpleDriverImpl.executeSimpleRemoveByExample(String database,
String collectionName,
Map<String,Object> example,
Boolean waitForSync,
Integer limit) |
SimpleByResultEntity |
InternalSimpleDriverImpl.executeSimpleReplaceByExample(String database,
String collectionName,
Map<String,Object> example,
Map<String,Object> newValue,
Boolean waitForSync,
Integer limit) |
SimpleByResultEntity |
InternalSimpleDriverImpl.executeSimpleUpdateByExample(String database,
String collectionName,
Map<String,Object> example,
Map<String,Object> newValue,
Boolean keepNull,
Boolean waitForSync,
Integer limit) |
TransactionResultEntity |
InternalTransactionDriverImpl.executeTransaction(String database,
TransactionEntity transactionEntity) |
DefaultEntity |
InternalCursorDriverImpl.finishQuery(String database,
long cursorId) |
AqlFunctionsEntity |
InternalAqlFunctionsDriverImpl.getAqlFunctions(String database,
String namespace) |
CollectionEntity |
InternalCollectionDriverImpl.getCollection(String database,
String name) |
CollectionEntity |
InternalCollectionDriverImpl.getCollectionChecksum(String database,
String name,
Boolean withRevisions,
Boolean withData) |
CollectionEntity |
InternalCollectionDriverImpl.getCollectionCount(String database,
String name) |
CollectionEntity |
InternalCollectionDriverImpl.getCollectionFigures(String database,
String name) |
CollectionEntity |
InternalCollectionDriverImpl.getCollectionProperties(String database,
String name) |
CollectionEntity |
InternalCollectionDriverImpl.getCollectionRevision(String database,
String name) |
CollectionsEntity |
InternalCollectionDriverImpl.getCollections(String database,
Boolean excludeSystem) |
DatabaseEntity |
InternalDatabaseDriverImpl.getCurrentDatabase() |
QueriesResultEntity |
InternalCursorDriverImpl.getCurrentlyRunningQueries(String database) |
StringsResultEntity |
InternalDatabaseDriverImpl.getDatabases(boolean currentUserAccessableOnly,
String username,
String password) |
<T> DocumentEntity<T> |
InternalDocumentDriverImpl.getDocument(String database,
String documentHandle,
Class<T> clazz,
Long ifNoneMatchRevision,
Long ifMatchRevision) |
String |
InternalDocumentDriverImpl.getDocumentRaw(String database,
String documentHandle,
Long ifNoneMatchRevision,
Long ifMatchRevision) |
List<String> |
InternalDocumentDriverImpl.getDocuments(String database,
String collectionName) |
<T> EdgeEntity<T> |
InternalGraphDriverImpl.getEdge(String database,
String graphName,
String edgeCollectionName,
String key,
Class<T> clazz,
Long ifMatchRevision,
Long ifNoneMatchRevision) |
List<String> |
InternalGraphDriverImpl.getEdgeCollections(String databaseName,
String graphName) |
List<Endpoint> |
InternalEndpointDriverImpl.getEndpoints() |
GraphEntity |
InternalGraphDriverImpl.getGraph(String databaseName,
String graphName) |
List<String> |
InternalGraphDriverImpl.getGraphList(String databaseName) |
GraphsEntity |
InternalGraphDriverImpl.getGraphs(String databaseName) |
IndexEntity |
InternalIndexDriverImpl.getIndex(String database,
String indexHandle) |
IndexesEntity |
InternalIndexDriverImpl.getIndexes(String database,
String collectionName) |
<T> T |
InternalJobsDriverImpl.getJobResult(String database,
String jobId) |
List<String> |
InternalJobsDriverImpl.getJobs(String database,
JobsEntity.JobState jobState) |
List<String> |
InternalJobsDriverImpl.getJobs(String database,
JobsEntity.JobState jobState,
int count) |
QueryCachePropertiesEntity |
InternalQueryCacheDriverImpl.getQueryCacheProperties() |
QueryTrackingPropertiesEntity |
InternalCursorDriverImpl.getQueryTrackingProperties(String database) |
ReplicationApplierConfigEntity |
InternalReplicationDriverImpl.getReplicationApplierConfig(String database) |
ReplicationApplierStateEntity |
InternalReplicationDriverImpl.getReplicationApplierState(String database) |
<T> void |
InternalReplicationDriverImpl.getReplicationDump(String database,
String collectionName,
Long from,
Long to,
Integer chunkSize,
Boolean ticks,
Class<T> clazz,
DumpHandler<T> handler) |
ReplicationInventoryEntity |
InternalReplicationDriverImpl.getReplicationInventory(String database,
Boolean includeSystem) |
ReplicationLoggerConfigEntity |
InternalReplicationDriverImpl.getReplicationLoggerConfig(String database) |
ReplicationLoggerStateEntity |
InternalReplicationDriverImpl.getReplicationLoggerState(String database) |
String |
InternalReplicationDriverImpl.getReplicationServerId() |
AdminLogEntity |
InternalAdminDriverImpl.getServerLog(Integer logLevel,
Boolean logLevelUpTo,
Integer start,
Integer size,
Integer offset,
Boolean sortAsc,
String text) |
<V,E> ShortestPathEntity<V,E> |
InternalCursorDriverImpl.getShortestPath(String database,
String graphName,
Object startVertexExample,
Object endVertexExample,
ShortestPathOptions shortestPathOptions,
AqlQueryOptions aqlQueryOptions,
Class<V> vertexClass,
Class<E> edgeClass,
ArangoDriver driver)
Deprecated.
use AQL instead
|
QueriesResultEntity |
InternalCursorDriverImpl.getSlowQueries(String database) |
StatisticsEntity |
InternalAdminDriverImpl.getStatistics() |
StatisticsDescriptionEntity |
InternalAdminDriverImpl.getStatisticsDescription() |
ArangoUnixTime |
InternalAdminDriverImpl.getTime() |
<V,E> TraversalEntity<V,E> |
InternalTraversalDriverImpl.getTraversal(String databaseName,
TraversalQueryOptions traversalQueryOptions,
Class<V> vertexClazz,
Class<E> edgeClazz) |
UserEntity |
InternalUsersDriverImpl.getUser(String username) |
UsersEntity |
InternalUsersDriverImpl.getUsers() |
ArangoVersion |
InternalAdminDriverImpl.getVersion()
Returns the ArangoDB version
|
<T> VertexEntity<T> |
InternalGraphDriverImpl.getVertex(String databaseName,
String graphName,
String collectionName,
String key,
Class<T> clazz,
Long ifMatchRevision,
Long ifNoneMatchRevision) |
List<String> |
InternalGraphDriverImpl.getVertexCollections(String databaseName,
String graphName,
boolean excludeOrphan) |
DefaultEntity |
InternalUsersDriverImpl.grantDatabaseAccess(String username,
String database) |
ImportResultEntity |
InternalImportDriverImpl.importDocuments(String database,
String collection,
Collection<?> values,
ImportOptionsJson importOptionsJson) |
ImportResultEntity |
InternalImportDriverImpl.importDocumentsByHeaderValues(String database,
String collection,
Collection<? extends Collection<?>> headerValues,
ImportOptions importOptions) |
ImportResultEntity |
InternalImportDriverImpl.importDocumentsByHeaderValuesRaw(String database,
String collection,
String headerValues,
ImportOptions importOptions) |
ImportResultEntity |
InternalImportDriverImpl.importDocumentsRaw(String database,
String collection,
String values,
ImportOptionsRaw importOptionsRaw) |
DefaultEntity |
InternalCursorDriverImpl.killQuery(String database,
String id) |
CollectionEntity |
InternalCollectionDriverImpl.loadCollection(String database,
String name,
Boolean count) |
DefaultEntity |
InternalAdminDriverImpl.reloadRouting() |
CollectionEntity |
InternalCollectionDriverImpl.renameCollection(String database,
String name,
String newName) |
<T> DocumentEntity<T> |
InternalDocumentDriverImpl.replaceDocument(String database,
String documentHandle,
T value,
Long rev,
Boolean waitForSync) |
DocumentEntity<String> |
InternalDocumentDriverImpl.replaceDocumentRaw(String database,
String documentHandle,
String rawJsonString,
Long rev,
Boolean waitForSync) |
<T> EdgeEntity<T> |
InternalGraphDriverImpl.replaceEdge(String database,
String graphName,
String edgeCollectionName,
String key,
String fromHandle,
String toHandle,
T value,
Boolean waitForSync,
Long ifMatchRevision,
Long ifNoneMatchRevision) |
GraphEntity |
InternalGraphDriverImpl.replaceEdgeDefinition(String databaseName,
String graphName,
String edgeName,
EdgeDefinitionEntity edgeDefinition) |
DefaultEntity |
InternalUsersDriverImpl.replaceUser(String username,
String passwd,
Boolean active,
Map<String,Object> extra) |
<T> VertexEntity<T> |
InternalGraphDriverImpl.replaceVertex(String databaseName,
String graphName,
String collectionName,
String key,
T vertex,
Boolean waitForSync,
Long ifMatchRevision,
Long ifNoneMatchRevision) |
CollectionEntity |
InternalCollectionDriverImpl.setCollectionProperties(String database,
String name,
Boolean newWaitForSync,
Long journalSize) |
QueryCachePropertiesEntity |
InternalQueryCacheDriverImpl.setQueryCacheProperties(QueryCachePropertiesEntity properties) |
QueryTrackingPropertiesEntity |
InternalCursorDriverImpl.setQueryTrackingProperties(String database,
QueryTrackingPropertiesEntity properties) |
ReplicationApplierConfigEntity |
InternalReplicationDriverImpl.setReplicationApplierConfig(String database,
ReplicationApplierConfigEntity param) |
ReplicationApplierConfigEntity |
InternalReplicationDriverImpl.setReplicationApplierConfig(String localDatabase,
String endpoint,
String database,
String username,
String password,
Integer maxConnectRetries,
Integer connectTimeout,
Integer requestTimeout,
Integer chunkSize,
Boolean autoStart,
Boolean adaptivePolling) |
ReplicationLoggerConfigEntity |
InternalReplicationDriverImpl.setReplicationLoggerConfig(String database,
Boolean autoStart,
Boolean logRemoteChanges,
Long maxEvents,
Long maxEventsSize) |
ReplicationApplierStateEntity |
InternalReplicationDriverImpl.startReplicationApplier(String database,
Long from) |
boolean |
InternalReplicationDriverImpl.startReplicationLogger(String database) |
ReplicationApplierStateEntity |
InternalReplicationDriverImpl.stopReplicationApplier(String database) |
boolean |
InternalReplicationDriverImpl.stopReplicationLogger(String database) |
ReplicationSyncEntity |
InternalReplicationDriverImpl.syncReplication(String localDatabase,
String endpoint,
String database,
String username,
String password,
RestrictType restrictType,
String... restrictCollections) |
CollectionEntity |
InternalCollectionDriverImpl.truncateCollection(String database,
String name) |
CollectionEntity |
InternalCollectionDriverImpl.unloadCollection(String database,
String name) |
<T> DocumentEntity<T> |
InternalDocumentDriverImpl.updateDocument(String database,
String documentHandle,
T value,
Long rev,
Boolean waitForSync,
Boolean keepNull) |
DocumentEntity<String> |
InternalDocumentDriverImpl.updateDocumentRaw(String database,
String documentHandle,
String rawJsonString,
Long rev,
Boolean waitForSync,
Boolean keepNull) |
<T> EdgeEntity<T> |
InternalGraphDriverImpl.updateEdge(String database,
String graphName,
String edgeCollectionName,
String key,
String fromHandle,
String toHandle,
T value,
Boolean waitForSync,
Boolean keepNull,
Long ifMatchRevision,
Long ifNoneMatchRevision) |
DefaultEntity |
InternalUsersDriverImpl.updateUser(String username,
String passwd,
Boolean active,
Map<String,Object> extra) |
<T> VertexEntity<T> |
InternalGraphDriverImpl.updateVertex(String databaseName,
String graphName,
String collectionName,
String key,
T vertex,
Boolean keepNull,
Boolean waitForSync,
Long ifMatchRevision,
Long ifNoneMatchRevision) |
CursorEntity<?> |
InternalCursorDriverImpl.validateQuery(String database,
String query) |
Modifier and Type | Method and Description |
---|---|
static String |
GraphQueryUtil.createEdgeQuery(ArangoDriver driver,
String graphName,
Object vertexExample,
GraphEdgesOptions graphEdgesOptions,
MapBuilder bindVars) |
static String |
GraphQueryUtil.createShortestPathQuery(ArangoDriver driver,
String database,
String graphName,
Object startVertexExample,
Object endVertexExample,
ShortestPathOptions shortestPathOptions,
Class<?> vertexClass,
Class<?> edgeClass,
MapBuilder bindVars) |
static String |
GraphQueryUtil.createVerticesQuery(ArangoDriver driver,
String graphName,
Object vertexExample,
GraphVerticesOptions graphVerticesOptions,
MapBuilder bindVars) |
static <T> T |
ReflectionUtils.newInstance(Class<?> clazz) |
Copyright © 2012–2016 ArangoDB GmbH. All rights reserved.