Class ParameterizedN1qlQuery

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PreparedN1qlQuery

public class ParameterizedN1qlQuery
extends AbstractN1qlQuery
Represent a N1QL query with an optionally parameterized statement (in which case the values must be passed according to the type and number of placeholders). Positional placeholders (in the form of either "$1" "$2" or just simple "?") are filled by the values taken from a 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.
Since:
2.1
Author:
Simon Baslé
See Also:
Serialized Form