Class IndexReference
- java.lang.Object
-
- com.couchbase.client.java.query.dsl.path.index.IndexReference
-
@Experimental @Public public class IndexReference extends Object
IndexReferencewraps an index name and an index type (with the `USING GSI|VIEW` syntax).- Since:
- 2.2
- Author:
- Simon Baslé
- See Also:
indexRef(String),indexRef(String, IndexType)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IndexReferenceindexRef(String indexName)Constructs anIndexReferencegiven an index name (which will be escaped).static IndexReferenceindexRef(String indexName, IndexType type)Constructs anIndexReferencegiven an index name (which will be escaped) and an explicitIndexTypeto use in a USING clause.StringtoString()
-
-
-
Method Detail
-
indexRef
public static final IndexReference indexRef(String indexName)
Constructs anIndexReferencegiven an index name (which will be escaped). No USING clause is set explicitely.
-
indexRef
public static final IndexReference indexRef(String indexName, IndexType type)
Constructs anIndexReferencegiven an index name (which will be escaped) and an explicitIndexTypeto use in a USING clause.
-
-