java.lang.Object
com.couchbase.columnar.client.java.QueryOptions

public final class QueryOptions extends Object
  • Method Details Link icon

    • timeout Link icon

      public QueryOptions timeout(@Nullable Duration timeout)
    • parameters Link icon

      public QueryOptions parameters(@Nullable Map<String,?> namedParameters)
    • parameters Link icon

      public QueryOptions parameters(@Nullable List<?> positionalParameters)
      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 Link icon

      public QueryOptions deserializer(@Nullable Deserializer deserializer)
      Sets the deserializer used by Row.as(java.lang.Class<T>) to convert query result rows into Java objects.

      If not specified, defaults to the cluster's default deserializer.

      See Also:
    • scanWait Link icon

      public QueryOptions scanWait(@Nullable Duration scanWait)
    • priority Link icon

      public QueryOptions priority(@Nullable QueryPriority priority)
    • scanConsistency Link icon

      public QueryOptions scanConsistency(@Nullable ScanConsistency scanConsistency)
    • readOnly Link icon

      public QueryOptions readOnly(@Nullable Boolean readOnly)
    • raw Link icon

      @Experimental public QueryOptions raw(@Nullable Map<String,?> 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.