Interface WithPath
- All Known Subinterfaces:
UsingWithPath,WherePath
- All Known Implementing Classes:
DefaultUsingWithPath,DefaultWherePath,DefaultWithPath
@Experimental @Public public interface WithPath extends Path, Statement
With path of the Index creation DSL (setting options).
- Since:
- 2.2
- Author:
- Simon Baslé
- See Also:
WithIndexOptionElement
-
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)Deprecated.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)Deprecated.you can callwithNodes(String...)with a single entry instead.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.
-
Method Details
-
withNode
Deprecated.you can callwithNodes(String...)with a single entry instead.Specify on which node to create a GSI index.- Parameters:
nodeName- the name of a single node on which to create an index.
-
withNodes
Specify on which node(s) to create a GSI index.- Parameters:
nodeNames- one or more node names on which to create an index (at least one should be provided).
-
withNodes
Specify on which node(s) to create a GSI index.- Parameters:
nodeNames- a collection of one or more node names on which to create an index (should not be empty).
-
withDefer
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. -
withDeferAndNode
Deprecated.you can callwithDeferAndNodes(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.- Parameters:
nodeName- the name of the node on which to create an index.
-
withDeferAndNodes
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.- Parameters:
nodeNames- one or more node names on which to create an index (at least one should be provided).
-
withDeferAndNodes
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.- Parameters:
nodeNames- a collection of one or more node names on which to create an index (should not be empty).
-
withDeferAndNodes(String...)with a single entry instead.