public enum SpatialType extends Enum<SpatialType>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static SpatialType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpatialType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpatialType POINT
public static final SpatialType LINE_STRING
public static final SpatialType POLYGON
public static final SpatialType MULTI_POLYGON
public static SpatialType[] values()
for (SpatialType c : SpatialType.values()) System.out.println(c);
public static SpatialType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<SpatialType>
Copyright © 2020 Microsoft Corporation. All rights reserved.