Class WithIndexOptionElement

java.lang.Object
com.couchbase.client.java.query.dsl.element.WithIndexOptionElement
All Implemented Interfaces:
Element

@Experimental
@Private
public class WithIndexOptionElement
extends Object
implements Element
Element of the Index DSL that allows to describe additional options for index creation. Options are set as a JSON object. Supported options as of Couchbase 4.0 DP are: - "nodes": "node_name": specify on which node to create a GSI index - "defer_build":true: defer creation of the index (useful to create multiple indexes then build them in one scan swipe).
Since:
2.2
Author:
Simon Baslé
  • Constructor Details

    • WithIndexOptionElement

      public WithIndexOptionElement​(JsonObject options)
  • Method Details