Class N1qlMutateQueryCreator
java.lang.Object
org.springframework.data.repository.query.parser.AbstractQueryCreator<N1QLExpression,N1QLExpression>
org.springframework.data.couchbase.repository.query.N1qlMutateQueryCreator
- All Implemented Interfaces:
PartTreeN1qlQueryCreator
public class N1qlMutateQueryCreator
extends AbstractQueryCreator<N1QLExpression,N1QLExpression>
implements PartTreeN1qlQueryCreator
N1qlMutateQueryCreator allows to create queries for delete operations. See
OldN1qlQueryCreator
for part types
supported- Author:
- Subhashni Balakrishnan, Michael Reiche
-
Constructor Summary
ConstructorDescriptionN1qlMutateQueryCreator
(PartTree tree, ParameterAccessor parameters, N1QLExpression mutateFrom, CouchbaseConverter converter, CouchbaseQueryMethod queryMethod) -
Method Summary
Modifier and TypeMethodDescriptionprotected N1QLExpression
and
(Part part, N1QLExpression base, Iterator<Object> iterator) protected N1QLExpression
complete
(N1QLExpression criteria, Sort sort) protected N1QLExpression
com.couchbase.client.java.json.JsonValue
Get the named placeholder valuesprotected N1QLExpression
or
(N1QLExpression base, N1QLExpression criteria) Methods inherited from class org.springframework.data.repository.query.parser.AbstractQueryCreator
createQuery, createQuery
-
Constructor Details
-
N1qlMutateQueryCreator
public N1qlMutateQueryCreator(PartTree tree, ParameterAccessor parameters, N1QLExpression mutateFrom, CouchbaseConverter converter, CouchbaseQueryMethod queryMethod)
-
-
Method Details
-
create
- Specified by:
create
in classAbstractQueryCreator<N1QLExpression,
N1QLExpression>
-
and
- Specified by:
and
in classAbstractQueryCreator<N1QLExpression,
N1QLExpression>
-
or
- Specified by:
or
in classAbstractQueryCreator<N1QLExpression,
N1QLExpression>
-
complete
- Specified by:
complete
in classAbstractQueryCreator<N1QLExpression,
N1QLExpression>
-
getPlaceHolderValues
public com.couchbase.client.java.json.JsonValue getPlaceHolderValues()Description copied from interface:PartTreeN1qlQueryCreator
Get the named placeholder values- Specified by:
getPlaceHolderValues
in interfacePartTreeN1qlQueryCreator
-