@InterfaceStability.Experimental @InterfaceAudience.Private public class DefaultWithPath extends AbstractPath implements WithPath
See WithPath
.
Constructor and Description |
---|
DefaultWithPath(AbstractPath parent) |
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 |
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)
Specify on which node to create a GSI index.
|
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.
|
element, toString
public DefaultWithPath(AbstractPath parent)
public Statement withNode(String nodeName)
WithPath
Specify on which node to create a GSI index.
public Statement withNodes(String... nodeNames)
WithPath
Specify on which node(s) to create a GSI index.
public Statement withNodes(Collection<String> nodeNames)
WithPath
Specify on which node(s) to create a GSI index.
public Statement withDefer()
WithPath
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.
public Statement withDeferAndNode(String nodeName)
WithPath
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.
withDeferAndNode
in interface WithPath
nodeName
- the name of the node on which to create an index.public Statement withDeferAndNodes(String... nodeNames)
WithPath
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.
withDeferAndNodes
in interface WithPath
nodeNames
- one or more node names on which to create an index (at least one should be provided).public Statement withDeferAndNodes(Collection<String> nodeNames)
WithPath
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.
withDeferAndNodes
in interface WithPath
nodeNames
- a collection of one or more node names on which to create an index (should not be empty).Copyright © 2015 Couchbase, Inc.