Interface QueryCriteriaDefinition
- All Known Implementing Classes:
QueryCriteria
public interface QueryCriteriaDefinition
- Author:
- Oliver Gierke, Christoph Strobl, Michael Reiche
-
Method Summary
Modifier and TypeMethodDescriptionexport()
Export the query criteria to a string without using positional or named parameters.export
(int[] paramIndexPtr, com.couchbase.client.java.json.JsonValue parameters, CouchbaseConverter converter) This exports the query criteria into a string to be appended to the beginning of an N1QL statementvoid
setChainOperator
(QueryCriteria.ChainOperator chainOperator)
-
Method Details
-
export
String export(int[] paramIndexPtr, com.couchbase.client.java.json.JsonValue parameters, CouchbaseConverter converter) This exports the query criteria into a string to be appended to the beginning of an N1QL statement- Parameters:
paramIndexPtr
- - this is a reference to the parameter index to be used for positional parameters There may already be positional parameters in the beginning of the statement, so it may not always start at 1. If it has the value -1, the query is using named parameters. If the pointer is null, the query is not using parameters.parameters
- - query parameters. Criteria values that are converted to arguments are added to parametersconverter
- - converter to use for converting criteria values- Returns:
- string containing part of N1QL query
-
export
String export()Export the query criteria to a string without using positional or named parameters.- Returns:
- string containing part of N1QL query
-
setChainOperator
-