Class DefaultWithPath
java.lang.Object
com.couchbase.client.java.query.dsl.path.AbstractPath
com.couchbase.client.java.query.dsl.path.index.DefaultWithPath
- Direct Known Subclasses:
DefaultUsingWithPath
@Experimental @Private public class DefaultWithPath extends AbstractPath implements WithPath
See
WithPath.- Since:
- 2.2
- Author:
- Simon Baslé
-
Constructor Summary
Constructors Constructor Description DefaultWithPath(AbstractPath parent) -
Method Summary
Modifier and Type Method Description StatementwithDefer()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.StatementwithDeferAndNode(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.StatementwithDeferAndNodes(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.StatementwithDeferAndNodes(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.StatementwithNode(String nodeName)Specify on which node to create a GSI index.StatementwithNodes(String... nodeNames)Specify on which node(s) to create a GSI index.StatementwithNodes(Collection<String> nodeNames)Specify on which node(s) to create a GSI index.Methods inherited from class com.couchbase.client.java.query.dsl.path.AbstractPath
element, toString
-
Constructor Details
-
DefaultWithPath
-
-
Method Details
-
withNode
Description copied from interface:WithPathSpecify on which node to create a GSI index. -
withNodes
Description copied from interface:WithPathSpecify on which node(s) to create a GSI index. -
withNodes
Description copied from interface:WithPathSpecify on which node(s) to create a GSI index. -
withDefer
Description copied from interface: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. -
withDeferAndNode
Description copied from interface: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.- Specified by:
withDeferAndNodein interfaceWithPath- Parameters:
nodeName- the name of the node on which to create an index.
-
withDeferAndNodes
Description copied from interface:WithPathSets 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.- Specified by:
withDeferAndNodesin interfaceWithPath- Parameters:
nodeNames- one or more node names on which to create an index (at least one should be provided).
-
withDeferAndNodes
Description copied from interface:WithPathSets 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.- Specified by:
withDeferAndNodesin interfaceWithPath- Parameters:
nodeNames- a collection of one or more node names on which to create an index (should not be empty).
-