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 IndexReference
indexRef(String indexName)
Constructs anIndexReference
given an index name (which will be escaped).static IndexReference
indexRef(String indexName, IndexType type)
Constructs anIndexReference
given an index name (which will be escaped) and an explicitIndexType
to use in a USING clause.String
toString()
-
Method Details
-
toString
-
indexRef
Constructs anIndexReference
given an index name (which will be escaped). No USING clause is set explicitely. -
indexRef
Constructs anIndexReference
given an index name (which will be escaped) and an explicitIndexType
to use in a USING clause.
-