Class DataType
java.lang.Object
com.microsoft.rest.ExpandableStringEnum<DataType>
com.microsoft.azure.management.cosmosdb.DataType
Defines values for DataType.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DataType
Static value LineString for DataType.static final DataType
Static value MultiPolygon for DataType.static final DataType
Static value Number for DataType.static final DataType
Static value Point for DataType.static final DataType
Static value Polygon for DataType.static final DataType
Static value String for DataType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DataType
fromString
(String name) Creates or finds a DataType from its string representation.static Collection<DataType>
values()
Methods inherited from class com.microsoft.rest.ExpandableStringEnum
equals, fromString, hashCode, toString, values, withNameValue
-
Field Details
-
STRING
Static value String for DataType. -
NUMBER
Static value Number for DataType. -
POINT
Static value Point for DataType. -
POLYGON
Static value Polygon for DataType. -
LINE_STRING
Static value LineString for DataType. -
MULTI_POLYGON
Static value MultiPolygon for DataType.
-
-
Constructor Details
-
DataType
public DataType()
-
-
Method Details
-
fromString
Creates or finds a DataType from its string representation.- Parameters:
name
- a name to look for- Returns:
- the corresponding DataType
-
values
- Returns:
- known DataType values
-