Class StringBasedArangoQuery
java.lang.Object
com.arangodb.springframework.repository.query.AbstractArangoQuery
com.arangodb.springframework.repository.query.StringBasedArangoQuery
- All Implemented Interfaces:
RepositoryQuery
- Author:
- Audrius Malele, Mark McCormick, Mark Vollmary, Christian Lechner, Michele Rastelli
-
Field Summary
Fields inherited from class com.arangodb.springframework.repository.query.AbstractArangoQuery
domainClass, mappingContext, method, operations -
Constructor Summary
ConstructorsConstructorDescriptionStringBasedArangoQuery(ArangoQueryMethod method, ArangoOperations operations, ApplicationContext applicationContext) StringBasedArangoQuery(String query, ArangoQueryMethod method, ArangoOperations operations, ApplicationContext applicationContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateQuery(ArangoParameterAccessor accessor, Map<String, Object> bindVars, com.arangodb.model.AqlQueryOptions options) Implementations should create an AQL query with the givenArangoParameterAccessorand set necessary binding parameters and query options.protected booleanprotected booleanMethods inherited from class com.arangodb.springframework.repository.query.AbstractArangoQuery
execute, getQueryMethod, mergeQueryOptions
-
Constructor Details
-
StringBasedArangoQuery
public StringBasedArangoQuery(ArangoQueryMethod method, ArangoOperations operations, ApplicationContext applicationContext) -
StringBasedArangoQuery
public StringBasedArangoQuery(String query, ArangoQueryMethod method, ArangoOperations operations, ApplicationContext applicationContext)
-
-
Method Details
-
createQuery
protected String createQuery(ArangoParameterAccessor accessor, Map<String, Object> bindVars, com.arangodb.model.AqlQueryOptions options) Description copied from class:AbstractArangoQueryImplementations should create an AQL query with the givenArangoParameterAccessorand set necessary binding parameters and query options.- Specified by:
createQueryin classAbstractArangoQuery- Parameters:
accessor- provides access to the actual argumentsbindVars- the binding parameter mapoptions- contains the mergedAqlQueryOptions- Returns:
- the created AQL query
-
isCountQuery
protected boolean isCountQuery()- Specified by:
isCountQueryin classAbstractArangoQuery
-
isExistsQuery
protected boolean isExistsQuery()- Specified by:
isExistsQueryin classAbstractArangoQuery
-