Interface ArangoDBDocumentManager
- All Superinterfaces:
ArangoDBAccessor,AutoCloseable,org.eclipse.jnosql.communication.semistructured.DatabaseManager
public interface ArangoDBDocumentManager
extends org.eclipse.jnosql.communication.semistructured.DatabaseManager, ArangoDBAccessor
The ArangoDB implementation of
DatabaseManager. This implementation does not support TTL methods in the context of
DatabaseManager.insert(org.eclipse.jnosql.communication.semistructured.CommunicationEntity).-
Method Summary
Modifier and TypeMethodDescription<T> Stream<T>Executes an ArangoDB query using the ArangoDB Query Language (AQL) with an empty parameter map.Stream<org.eclipse.jnosql.communication.semistructured.CommunicationEntity>Executes an ArangoDB query using the ArangoDB Query Language (AQL).<T> Stream<T>Executes an ArangoDB query using the ArangoDB Query Language (AQL).Methods inherited from interface org.eclipse.jnosql.databases.arangodb.communication.ArangoDBAccessor
getArangoDBMethods inherited from interface org.eclipse.jnosql.communication.semistructured.DatabaseManager
close, count, count, delete, deleteAndCount, exists, insert, insert, insert, insert, name, prepare, prepare, query, query, select, selectCursor, singleResult, update, update, update
-
Method Details
-
aql
Stream<org.eclipse.jnosql.communication.semistructured.CommunicationEntity> aql(String query, Map<String, Object> params) Executes an ArangoDB query using the ArangoDB Query Language (AQL).Example query:
FOR u IN users FILTER u.status == @status RETURN uThe conversion from the query result to
CommunicationEntitywill happen at the Eclipse JNoSQL side.- Parameters:
query- the AQL queryparams- the named parameters for the query- Returns:
- a
StreamofCommunicationEntityrepresenting the query result - Throws:
NullPointerException- when either the query or params are null
-
aql
Executes an ArangoDB query using the ArangoDB Query Language (AQL).Example query:
FOR u IN users FILTER u.status == @status RETURN uThe serialization of the query result will happen at the ArangoDB side using
ArangoDatabase.query(String, Class). This serialization does not have any converter support.- Type Parameters:
T- the type- Parameters:
query- the AQL queryparams- the named parameters for the querytype- the type of the result- Returns:
- a
Streamof the specified type representing the query result - Throws:
NullPointerException- when either the query or params are null
-
aql
Executes an ArangoDB query using the ArangoDB Query Language (AQL) with an empty parameter map.Example query:
FOR u IN users FILTER u.status == @status RETURN uThe serialization of the query result will happen at the ArangoDB side using
ArangoDatabase.query(String, Class). This serialization does not have any converter support.- Type Parameters:
T- the type- Parameters:
query- the AQL querytype- the type of the result- Returns:
- a
Streamof the specified type representing the query result - Throws:
NullPointerException- when either the query or type are null
-