RangeIndex Class

Definition

Specifies an instance of the RangeIndex class in the Azure DocumentDB database service.

public sealed class RangeIndex : Microsoft.Azure.Documents.Index, ICloneable
Inheritance
Implements

Inherited Members

Microsoft.Azure.Documents.Index

Microsoft.Azure.Documents.JsonSerializable

Remarks

Can be used to serve queries like: SELECT * FROM docs d WHERE d.prop > 5.

Constructors

RangeIndex(DataType)

Initializes a new instance of the RangeIndex class with specified DataType for the Azure DocumentDB database service.

RangeIndex(DataType, Int16)

Initializes a new instance of the RangeIndex class with specified DataType and precision for the Azure DocumentDB database service.

Properties

DataType

Gets or sets the data type for which this index should be applied in the Azure DocumentDB database service.

Precision

Gets or sets the precision for this particular index in the Azure DocumentDB database service.

Methods

Clone()

Creates a copy of the range index for the Azure DocumentDB database service.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)