Class QueryOptions
java.lang.Object
com.couchbase.columnar.client.java.QueryOptions
Optional parameters for
Queryable.executeQuery(String, Consumer)
and Queryable.executeStreamingQuery(String, Consumer, Consumer)
.-
Method Summary
Modifier and TypeMethodDescriptiondeserializer
(Deserializer deserializer) Sets the deserializer used byRow.as(java.lang.Class<T>)
to convert query result rows into Java objects.parameters
(List<?> positionalParameters) parameters
(Map<String, ?> namedParameters) priority
(QueryPriority priority) Specifies arbitrary name-value pairs to include the query request JSON.scanConsistency
(ScanConsistency scanConsistency)
-
Method Details
-
timeout
-
parameters
-
parameters
- Implementation Note:
- There must not be a varargs overload; that would introduce ambiguity, since a query can have a single parameter whose value is a list.
-
deserializer
Sets the deserializer used byRow.as(java.lang.Class<T>)
to convert query result rows into Java objects.If not specified, defaults to the cluster's default deserializer.
-
scanWait
-
priority
-
scanConsistency
-
readOnly
-
raw
Specifies arbitrary name-value pairs to include the query request JSON.Marked as "experimental" because this might not be supported by future client-server protocols. Let us know if you need to use this method, so we can consider extending the stable API to support your use case.
-