Partager via


IndexKind Class

public final class IndexKind
extends ExpandableStringEnum<IndexKind>

Indicates the type of index.

Field Summary

Modifier and Type Field and Description
static final IndexKind HASH

Static value Hash for IndexKind.

static final IndexKind RANGE

Static value Range for IndexKind.

static final IndexKind SPATIAL

Static value Spatial for IndexKind.

Constructor Summary

Constructor Description
IndexKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IndexKind value.

Method Summary

Modifier and Type Method and Description
static IndexKind fromString(String name)

Creates or finds a IndexKind from its string representation.

static Collection<IndexKind> values()

Gets known IndexKind values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding IndexKind.

values

public static Collection values()

Gets known IndexKind values.

Returns:

known IndexKind values.

Applies to