Class IndexKind

java.lang.Object
com.azure.core.util.ExpandableStringEnum<IndexKind>
com.azure.resourcemanager.cosmos.models.IndexKind

public final class IndexKind extends com.azure.core.util.ExpandableStringEnum<IndexKind>
Indicates the type of index.
  • 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.