public class ParameterizedN1qlQuery extends AbstractN1qlQuery
JsonArray.
Named placeholders (in the form of "$param1", "$myOtherParam", etc...) are filled by
the values taken from a JsonObject. If in this JsonObject attributes don't have the $
prefix, it is added upon building the query.| Modifier and Type | Method and Description |
|---|---|
boolean |
isPositional() |
JsonValue |
statementParameters()
The parameters to inject in the query, null or empty to ignore.
|
protected String |
statementType()
The type of the statement, used as JSON name in the final JSON form of the query
|
protected Object |
statementValue()
The JSON representation for the underlying
Statement in the final JSON form of the query |
String |
toString() |
n1ql, params, populateParameters, statementparameterized, parameterized, parameterized, parameterized, parameterized, parameterized, parameterized, parameterized, simple, simple, simple, simpleprotected String statementType()
AbstractN1qlQuerystatementType in class AbstractN1qlQueryprotected Object statementValue()
AbstractN1qlQueryStatement in the final JSON form of the querystatementValue in class AbstractN1qlQuerypublic JsonValue statementParameters()
AbstractN1qlQuerystatementParameters in class AbstractN1qlQuerypublic boolean isPositional()
Copyright © 2015 Couchbase, Inc.