IndexKind Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cosmos. models. IndexKind
- com.
- com.
public final class IndexKind
extends ExpandableStringEnum<IndexKind>
Indicates the type of index.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Index |
HASH
Static value Hash for Index |
static final
Index |
RANGE
Static value Range for Index |
static final
Index |
SPATIAL
Static value Spatial for Index |
Constructor Summary
Constructor | Description |
---|---|
IndexKind() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Index |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Index |
fromString(String name)
Creates or finds a Index |
static
Collection<Index |
values()
Gets known Index |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
HASH
public static final IndexKind HASH
Static value Hash for IndexKind.
RANGE
public static final IndexKind RANGE
Static value Range for IndexKind.
SPATIAL
public static final IndexKind SPATIAL
Static value Spatial for IndexKind.
Constructor Details
IndexKind
@Deprecated
public IndexKind()
Deprecated
Creates a new instance of IndexKind value.
Method Details
fromString
public static IndexKind fromString(String name)
Creates or finds a IndexKind from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known IndexKind values.
Returns:
Applies to
Azure SDK for Java