@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)
Deprecated.
you can call
withDeferAndNodes(String...) with a single entry instead. |
Statement |
withDeferAndNodes(Collection<String> nodeNames)
Sets both index creation supported options : specify that the index creation should be deferred and give the name of the node(s) on which to create a GSI index.
|
Statement |
withDeferAndNodes(String... nodeNames)
Sets both index creation supported options : specify that the index creation should be deferred and give the name of the node(s) on which to create a GSI index.
|
Statement |
withNode(String nodeName)
Deprecated.
you can call
withNodes(String...) with a single entry instead. |
Statement |
withNodes(Collection<String> nodeNames)
Specify on which node(s) to create a GSI index.
|
Statement |
withNodes(String... nodeNames)
Specify on which node(s) to create a GSI index.
|
@Deprecated Statement withNode(String nodeName)
withNodes(String...)
with a single entry instead.Specify on which node to create a GSI index.
nodeName
- the name of a single node on which to create an index.Statement withNodes(String... nodeNames)
Specify on which node(s) to create a GSI index.
nodeNames
- one or more node names on which to create an index (at least one should be provided).Statement withNodes(Collection<String> nodeNames)
Specify on which node(s) to create a GSI index.
nodeNames
- a collection of one or more node names on which to create an index (should not be empty).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)
withDeferAndNodes(String...)
with a single entry instead.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.
nodeName
- the name of the node on which to create an index.Statement withDeferAndNodes(String... nodeNames)
Sets both index creation supported options : specify that the index creation should be deferred and give the name of the node(s) on which to create a GSI index.
nodeNames
- one or more node names on which to create an index (at least one should be provided).Statement withDeferAndNodes(Collection<String> nodeNames)
Sets both index creation supported options : specify that the index creation should be deferred and give the name of the node(s) on which to create a GSI index.
nodeNames
- a collection of one or more node names on which to create an index (should not be empty).Copyright © 2015 Couchbase, Inc.