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.StructuredQueryDefinition
createQuery(org.springframework.data.repository.query.ParameterAccessor accessor)
Object
execute(Object[] values)
org.springframework.data.repository.query.QueryMethod
getQueryMethod()
protected abstract boolean
isCountQuery()
protected abstract boolean
isDeleteQuery()
protected abstract boolean
isExistsQuery()
-
-
-
Constructor Detail
-
AbstractMarkLogicQuery
public AbstractMarkLogicQuery(MarkLogicQueryMethod method, MarkLogicOperations operations)
-
-
Method Detail
-
execute
public Object execute(Object[] values)
- Specified by:
execute
in interfaceorg.springframework.data.repository.query.RepositoryQuery
-
getQueryMethod
public org.springframework.data.repository.query.QueryMethod getQueryMethod()
- Specified by:
getQueryMethod
in 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()
-
-