Class AbstractMarkLogicQuery
- java.lang.Object
-
- io.github.malteseduck.springframework.data.marklogic.repository.query.AbstractMarkLogicQuery
-
- All Implemented Interfaces:
org.springframework.data.repository.query.RepositoryQuery
- Direct Known Subclasses:
PartTreeMarkLogicQuery,StringMarkLogicQuery
public abstract class AbstractMarkLogicQuery extends Object implements org.springframework.data.repository.query.RepositoryQuery
-
-
Constructor Summary
Constructors Constructor Description AbstractMarkLogicQuery(MarkLogicQueryMethod method, MarkLogicOperations operations)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract com.marklogic.client.query.StructuredQueryDefinitioncreateQuery(org.springframework.data.repository.query.ParameterAccessor accessor)Objectexecute(Object[] values)org.springframework.data.repository.query.QueryMethodgetQueryMethod()protected abstract booleanisCountQuery()protected abstract booleanisDeleteQuery()protected abstract booleanisExistsQuery()
-
-
-
Constructor Detail
-
AbstractMarkLogicQuery
public AbstractMarkLogicQuery(MarkLogicQueryMethod method, MarkLogicOperations operations)
-
-
Method Detail
-
execute
public Object execute(Object[] values)
- Specified by:
executein interfaceorg.springframework.data.repository.query.RepositoryQuery
-
getQueryMethod
public org.springframework.data.repository.query.QueryMethod getQueryMethod()
- Specified by:
getQueryMethodin interfaceorg.springframework.data.repository.query.RepositoryQuery
-
createQuery
protected abstract com.marklogic.client.query.StructuredQueryDefinition createQuery(org.springframework.data.repository.query.ParameterAccessor accessor)
-
isCountQuery
protected abstract boolean isCountQuery()
-
isExistsQuery
protected abstract boolean isExistsQuery()
-
isDeleteQuery
protected abstract boolean isDeleteQuery()
-
-