Package com.couchbase.client.java.query
Class SimpleN1qlQuery
- java.lang.Object
-
- com.couchbase.client.java.query.N1qlQuery
-
- com.couchbase.client.java.query.AbstractN1qlQuery
-
- com.couchbase.client.java.query.SimpleN1qlQuery
-
- All Implemented Interfaces:
Serializable
public class SimpleN1qlQuery extends AbstractN1qlQuery
- Since:
- 2.1
- Author:
- Simon Baslé
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JsonValuestatementParameters()The parameters to inject in the query, null or empty to ignore.protected StringstatementType()The type of the statement, used as JSON name in the final JSON form of the queryprotected ObjectstatementValue()The JSON representation for the underlyingStatementin the final JSON form of the queryStringtoString()-
Methods inherited from class com.couchbase.client.java.query.AbstractN1qlQuery
n1ql, params, populateParameters, statement
-
Methods inherited from class com.couchbase.client.java.query.N1qlQuery
parameterized, parameterized, parameterized, parameterized, parameterized, parameterized, parameterized, parameterized, simple, simple, simple, simple
-
-
-
-
Method Detail
-
statementType
protected String statementType()
Description copied from class:AbstractN1qlQueryThe type of the statement, used as JSON name in the final JSON form of the query- Specified by:
statementTypein classAbstractN1qlQuery
-
statementValue
protected Object statementValue()
Description copied from class:AbstractN1qlQueryThe JSON representation for the underlyingStatementin the final JSON form of the query- Specified by:
statementValuein classAbstractN1qlQuery
-
statementParameters
protected JsonValue statementParameters()
Description copied from class:AbstractN1qlQueryThe parameters to inject in the query, null or empty to ignore.- Specified by:
statementParametersin classAbstractN1qlQuery
-
-