Class DefaultIndexNamesPath
- java.lang.Object
-
- com.couchbase.client.java.query.dsl.path.AbstractPath
-
- com.couchbase.client.java.query.dsl.path.index.DefaultIndexNamesPath
-
- All Implemented Interfaces:
IndexNamesPath
,Path
@Experimental @Private public class DefaultIndexNamesPath extends AbstractPath implements IndexNamesPath
SeeIndexNamesPath
.- Since:
- 2.2
- Author:
- Simon Baslé
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultIndexNamesPath(AbstractPath parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UsingPath
indexes(String indexName, String... indexNames)
Specify the index or indexes in a pending state that needs building.UsingPath
indexes(List<String> indexNames)
Specify the indexes in a pending state that needs building, as a non-empty list.UsingPath
primary()
Build the primary index (using a name ofIndex.PRIMARY_NAME
, must be in a pending state).-
Methods inherited from class com.couchbase.client.java.query.dsl.path.AbstractPath
element, toString
-
-
-
-
Constructor Detail
-
DefaultIndexNamesPath
protected DefaultIndexNamesPath(AbstractPath parent)
-
-
Method Detail
-
indexes
public UsingPath indexes(String indexName, String... indexNames)
Description copied from interface:IndexNamesPath
Specify the index or indexes in a pending state that needs building.- Specified by:
indexes
in interfaceIndexNamesPath
- Parameters:
indexName
- minimum index to build (name will be escaped).indexNames
- 0-n additional indexes to also build (names will be escaped).
-
indexes
public UsingPath indexes(List<String> indexNames)
Description copied from interface:IndexNamesPath
Specify the indexes in a pending state that needs building, as a non-empty list.- Specified by:
indexes
in interfaceIndexNamesPath
- Parameters:
indexNames
- theList
of indexes to build (names will be escaped).
-
primary
public UsingPath primary()
Description copied from interface:IndexNamesPath
Build the primary index (using a name ofIndex.PRIMARY_NAME
, must be in a pending state).- Specified by:
primary
in interfaceIndexNamesPath
-
-