@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 |
withNode(String nodeName)
Specify on which node to create a GSI index.
|
element, toStringpublic DefaultWithPath(AbstractPath parent)
public Statement withNode(String nodeName)
WithPathSpecify on which node to create a GSI index.
public Statement withDefer()
WithPathSpecify 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)
WithPathSets 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 WithPathnodeName - the name of the node on which to create an index.Copyright © 2015 Couchbase, Inc.