DataType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cosmos. models. DataType
- com.
- com.
public final class DataType
extends ExpandableStringEnum<DataType>
The datatype for which the indexing behavior is applied to.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Data |
LINE_STRING
Static value Line |
static final
Data |
MULTI_POLYGON
Static value Multi |
static final
Data |
NUMBER
Static value Number for Data |
static final
Data |
POINT
Static value Point for Data |
static final
Data |
POLYGON
Static value Polygon for Data |
static final
Data |
STRING
Static value String for Data |
Constructor Summary
Constructor | Description |
---|---|
DataType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Data |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Data |
fromString(String name)
Creates or finds a Data |
static
Collection<Data |
values()
Gets known Data |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
LINE_STRING
public static final DataType LINE_STRING
Static value LineString for DataType.
MULTI_POLYGON
public static final DataType MULTI_POLYGON
Static value MultiPolygon for DataType.
NUMBER
public static final DataType NUMBER
Static value Number for DataType.
POINT
public static final DataType POINT
Static value Point for DataType.
POLYGON
public static final DataType POLYGON
Static value Polygon for DataType.
STRING
public static final DataType STRING
Static value String for DataType.
Constructor Details
DataType
@Deprecated
public DataType()
Deprecated
Creates a new instance of DataType value.
Method Details
fromString
public static DataType fromString(String name)
Creates or finds a DataType from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known DataType values.
Returns:
Applies to
Azure SDK for Java