Java com.mongodb.client.model IndexModel fields, constructors, methods, implement or subclass

Example usage for Java com.mongodb.client.model IndexModel fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.mongodb.client.model IndexModel.

The text is from its open source code.

Constructor

IndexModel(final Bson keys, final IndexOptions options)
Construct an instance with the given keys and options.
IndexModel(final Bson keys)
Construct an instance with the given keys.

Method

BsongetKeys()
Gets the index keys.
IndexOptionsgetOptions()
Gets the index options.