@InterfaceStability.Experimental @InterfaceAudience.Private public class DefaultIndexNamesPath extends AbstractPath implements IndexNamesPath
See IndexNamesPath.
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultIndexNamesPath(AbstractPath parent) |
| Modifier and Type | Method and Description |
|---|---|
UsingPath |
indexes(List<String> indexNames)
Specify the indexes in a pending state that needs building, as a non-empty list.
|
UsingPath |
indexes(String indexName,
String... indexNames)
Specify the index or indexes in a pending state that needs building.
|
UsingPath |
primary()
Build the primary index (using a name of
Index.PRIMARY_NAME, must be in a pending state). |
element, toStringprotected DefaultIndexNamesPath(AbstractPath parent)
public UsingPath indexes(String indexName, String... indexNames)
IndexNamesPathSpecify the index or indexes in a pending state that needs building.
indexes in interface IndexNamesPathindexName - minimum index to build (name will be escaped).indexNames - 0-n additional indexes to also build (names will be escaped).public UsingPath indexes(List<String> indexNames)
IndexNamesPathSpecify the indexes in a pending state that needs building, as a non-empty list.
indexes in interface IndexNamesPathindexNames - the List of indexes to build (names will be escaped).public UsingPath primary()
IndexNamesPathBuild the primary index (using a name of Index.PRIMARY_NAME, must be in a pending state).
primary in interface IndexNamesPathCopyright © 2015 Couchbase, Inc.