Partager via


SpatialType Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.cosmos.models.SpatialType

public enum SpatialType
extends Enum<SpatialType>

Defines the target data type of an index path specification in the Azure Cosmos DB service.

Fields

LINE_STRING

Represent a line string data type.

MULTI_POLYGON

Represent a multi-polygon data type.

POINT

Represent a point data type.

POLYGON

Represent a polygon data type.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static SpatialType valueOf(String name)

Parameters

name
String

Returns

values()

public static SpatialType[] values()

Returns

Applies to