你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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