@InterfaceStability.Experimental @InterfaceAudience.Public public class IndexReference extends Object
IndexReference
wraps an index name and an index type (with the USING GSI|VIEW
syntax).
indexRef(String)
,
indexRef(String, IndexType)
Modifier and Type | Method and Description |
---|---|
static IndexReference |
indexRef(String indexName)
Constructs an
IndexReference given an index name (which will be escaped). |
static IndexReference |
indexRef(String indexName,
IndexType type)
Constructs an
IndexReference given an index name (which will be escaped) and an explicit IndexType to use in a USING clause. |
String |
toString() |
public static final IndexReference indexRef(String indexName)
Constructs an IndexReference
given an index name (which will be escaped). No USING clause is set explicitely.
public static final IndexReference indexRef(String indexName, IndexType type)
Constructs an IndexReference
given an index name (which will be escaped) and an explicit IndexType
to use in a USING clause.
Copyright © 2014 Couchbase, Inc.