Index Class

Definition

Base class for IndexingPolicy Indexes in the Azure DocumentDB database service, you should use a concrete Index like HashIndex or RangeIndex.

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Documents.IndexJsonConverter))]
public abstract class Index : Microsoft.Azure.Documents.JsonSerializable
Inheritance
Derived
Attributes
Newtonsoft.Json.JsonConverterAttribute

Inherited Members

Microsoft.Azure.Documents.JsonSerializable

Constructors

Index(IndexKind)

Initializes a new instance of the Index class for the Azure DocumentDB database service.

Properties

Kind

Gets or sets the kind of indexing to be applied in the Azure DocumentDB database service.

Methods

Hash(DataType)

Returns an instance of the HashIndex class with specified DataType for the Azure DocumentDB database service.

Hash(DataType, Int16)

Returns an instance of the HashIndex class with specified DataType and precision for the Azure DocumentDB database service.

Range(DataType)

Returns an instance of the RangeIndex class with specified DataType for the Azure DocumentDB database service.

Range(DataType, Int16)

Returns an instance of the RangeIndex class with specified DataType and precision for the Azure DocumentDB database service.

Spatial(DataType)

Returns an instance of the SpatialIndex class with specified DataType for the Azure DocumentDB database service.

Extension Methods

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