MongoIndex Class

Definition

Cosmos DB MongoDB collection index key.

public final class MongoIndex
Inheritance
java.lang.Object
MongoIndex

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

MongoIndex()

Methods

key()

Get the key property: Cosmos DB MongoDB collection index keys.

options()

Get the options property: Cosmos DB MongoDB collection index key options.

validate()

Validates the instance.

withKey(MongoIndexKeys key)

Set the key property: Cosmos DB MongoDB collection index keys.

withOptions(MongoIndexOptions options)

Set the options property: Cosmos DB MongoDB collection index key options.

Applies to