Class IndexReference
java.lang.Object
com.couchbase.client.java.query.dsl.path.index.IndexReference
@Experimental @Public public class IndexReference extends Object
IndexReference wraps 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
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 Details
-
toString
-
indexRef
Constructs anIndexReferencegiven an index name (which will be escaped). No USING clause is set explicitely. -
indexRef
Constructs anIndexReferencegiven an index name (which will be escaped) and an explicitIndexTypeto use in a USING clause.
-