Class IndexKind

java.lang.Object
com.azure.core.util.ExpandableStringEnum<IndexKind>
com.azure.resourcemanager.cosmos.models.IndexKind
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class IndexKind extends com.azure.core.util.ExpandableStringEnum<IndexKind>
Indicates the type of index.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final IndexKind
    Static value Hash for IndexKind.
    static final IndexKind
    Static value Range for IndexKind.
    static final IndexKind
    Static value Spatial for IndexKind.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static IndexKind
    Creates or finds a IndexKind from its string representation.
    Gets known IndexKind values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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

  • 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<IndexKind> values()
      Gets known IndexKind values.
      Returns:
      known IndexKind values.