@InterfaceStability.Experimental @InterfaceAudience.Public public interface WithPath extends Path, Statement
With path of the Index creation DSL (setting options).
WithIndexOptionElement
Modifier and Type | Method and Description |
---|---|
Statement |
withDefer()
Specify that the index creation should be deferred to later, allowing to create multiple index and then build them all at once in one scan/swipe.
|
Statement |
withDeferAndNode(String nodeName)
Sets both index creation supported options : specify that the index creation should be deferred and give the name of the node on which to create a GSI index.
|
Statement |
withNode(String nodeName)
Specify on which node to create a GSI index.
|
Statement withNode(String nodeName)
Specify on which node to create a GSI index.
nodeName
- the name of the node on which to create an index.Statement withDefer()
Specify that the index creation should be deferred to later, allowing to create multiple index and then build them all at once in one scan/swipe.
Copyright © 2014 Couchbase, Inc.