Package | Description |
---|---|
com.azure.cosmos.models |
Modifier and Type | Method and Description |
---|---|
DataType |
SpatialIndex.getDataType()
Gets data type.
|
DataType |
RangeIndex.getDataType()
Gets data type.
|
DataType |
HashIndex.getDataType()
Gets data type.
|
static DataType |
DataType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
DataType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static HashIndex |
Index.hash(DataType dataType)
Returns an instance of HashIndex class with specified DataType.
|
static HashIndex |
Index.hash(DataType dataType,
int precision)
Returns an instance of HashIndex class with specified DataType and precision.
|
static RangeIndex |
Index.range(DataType dataType)
Returns an instance of RangeIndex class with specified DataType.
|
static RangeIndex |
Index.range(DataType dataType,
int precision)
Returns an instance of RangeIndex class with specified DataType and precision.
|
SpatialIndex |
SpatialIndex.setDataType(DataType dataType)
Sets data type.
|
RangeIndex |
RangeIndex.setDataType(DataType dataType)
Sets data type.
|
HashIndex |
HashIndex.setDataType(DataType dataType)
Sets data type.
|
static SpatialIndex |
Index.spatial(DataType dataType)
Returns an instance of SpatialIndex class with specified DataType.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.