Modifier and Type | Method and Description |
---|---|
DataType |
HashIndex.dataType()
Gets data type.
|
DataType |
RangeIndex.dataType()
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 |
---|---|
HashIndex |
HashIndex.dataType(DataType dataType)
Sets data type.
|
RangeIndex |
RangeIndex.dataType(DataType dataType)
Sets data type.
|
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.
|
static com.azure.data.cosmos.SpatialIndex |
Index.Spatial(DataType dataType)
Returns an instance of SpatialIndex class with specified DataType.
|
Constructor and Description |
---|
HashIndex(DataType dataType)
Specifies an instance of HashIndex class with specified DataType.
|
HashIndex(DataType dataType,
int precision)
Initializes a new instance of the HashIndex class with specified DataType and precision.
|
RangeIndex(DataType dataType)
Initializes a new instance of the RangeIndex class with specified DataType.
|
RangeIndex(DataType dataType,
int precision)
Initializes a new instance of the RangeIndex class with specified DataType and precision.
|
Copyright © 2019. All rights reserved.