共用方式為


SpatialType Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.azure.documentdb.SpatialType

public enum SpatialType
extends java.lang.Enum<SpatialType>

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

Fields

LineString

Represent a line string data type.

MultiPolygon

Represent a multi-polygon data type.

Point

Represent a point data type.

Polygon

Represent a polygon data type.

Methods inherited from java.lang.Enum

java.lang.Enum.<T>valueOf java.lang.Enum.clone java.lang.Enum.compareTo java.lang.Enum.describeConstable java.lang.Enum.equals java.lang.Enum.finalize java.lang.Enum.getDeclaringClass java.lang.Enum.hashCode java.lang.Enum.name java.lang.Enum.ordinal java.lang.Enum.toString

Methods inherited from java.lang.Object

java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Methods

valueOf(String name)

public static SpatialType valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static SpatialType[] values()

Returns

Applies to