Class SearchOptions.Built

java.lang.Object
CommonOptions<SearchOptions>.BuiltCommonOptions
com.couchbase.client.java.search.SearchOptions.Built
All Implemented Interfaces:
CoreCommonOptions
Enclosing class:
SearchOptions

public class SearchOptions.Built extends CommonOptions<SearchOptions>.BuiltCommonOptions
  • Method Details

    • serializer

      public JsonSerializer serializer()
    • injectParams

      @Internal public void injectParams(String indexName, JsonObject queryJson, Duration timeout)
      Inject the top level parameters of a query into a prepared JsonObject that represents the root of the query.
      Parameters:
      indexName - the name of the index to inject.
      queryJson - the prepared JsonObject for the whole query.
      timeout - the timeout of the request to send to the server.