Package-level declarations

Types

Link copied to clipboard
class AggregateIterable<T : Any>(wrapped: AggregateIterable<T>) : MongoIterable<T>

Iterable like implementation for aggregate operations.

Link copied to clipboard
class ChangeStreamIterable<T : Any>(wrapped: ChangeStreamIterable<T>) : MongoIterable<ChangeStreamDocument<T>>

Iterable like implementation for change streams.

Link copied to clipboard
class ClientSession(val wrapped: ClientSession) : Closeable

A client session that supports transactions.

Link copied to clipboard
class DistinctIterable<T>(wrapped: DistinctIterable<T>) : MongoIterable<T>

Iterable like implementation for distinct operations.

Link copied to clipboard
class FindIterable<T : Any>(wrapped: FindIterable<T>) : MongoIterable<T>

Iterable like implementation for find operations.

Link copied to clipboard
class ListCollectionNamesIterable(wrapped: ListCollectionNamesIterable) : MongoIterable<String>

Iterable for listing collection names.

Link copied to clipboard
class ListCollectionsIterable<T : Any>(wrapped: ListCollectionsIterable<T>) : MongoIterable<T>

Iterable like implementation for list collection operations.

Link copied to clipboard
class ListDatabasesIterable<T : Any>(wrapped: ListDatabasesIterable<T>) : MongoIterable<T>

Iterable like implementation for list database operations.

Link copied to clipboard
class ListIndexesIterable<T : Any>(wrapped: ListIndexesIterable<T>) : MongoIterable<T>

Iterable like implementation for list index operations.

Link copied to clipboard
class ListSearchIndexesIterable<T : Any>(wrapped: ListSearchIndexesIterable<T>) : MongoIterable<T>

Iterable like implementation for list Atlas Search index operations.

Link copied to clipboard

The Mongo Cursor interface for change streams implementing the iterator protocol.

Link copied to clipboard
class MongoClient(wrapped: MongoClient) : MongoCluster, Closeable

A client-side representation of a MongoDB cluster.

Link copied to clipboard
open class MongoCluster

The client-side representation of a MongoDB cluster operations.

Link copied to clipboard
class MongoCollection<T : Any>(wrapped: MongoCollection<T>)

The MongoCollection representation.

Link copied to clipboard
interface MongoCursor<T> : Iterator<T> , Closeable

The Mongo Cursor interface implementing the iterator protocol.

Link copied to clipboard
class MongoDatabase(wrapped: MongoDatabase)

The MongoDatabase representation.

Link copied to clipboard
open class MongoIterable<T>(delegate: MongoIterable<T>)

The MongoIterable is the results from an operation, such as a query.

Functions

Link copied to clipboard
fun ClientSessionOptions.Builder.defaultTimeout(defaultTimeout: Long): ClientSessionOptions.Builder

ClientSessionOptions.Builder.defaultTimeout extension function

Link copied to clipboard
fun CreateCollectionOptions.expireAfter(maxTime: Long): CreateCollectionOptions
fun IndexOptions.expireAfter(expireAfter: Long): IndexOptions

expireAfter extension function

Link copied to clipboard
fun TransactionOptions.Builder.maxCommitTime(maxCommitTime: Long): TransactionOptions.Builder

maxCommitTime extension function

Link copied to clipboard
fun CountOptions.maxTime(maxTime: Long): CountOptions
fun CreateIndexOptions.maxTime(maxTime: Long): CreateIndexOptions
fun DropIndexOptions.maxTime(maxTime: Long): DropIndexOptions
fun EstimatedDocumentCountOptions.maxTime(maxTime: Long): EstimatedDocumentCountOptions
fun FindOneAndDeleteOptions.maxTime(maxTime: Long): FindOneAndDeleteOptions
fun FindOneAndReplaceOptions.maxTime(maxTime: Long): FindOneAndReplaceOptions
fun FindOneAndUpdateOptions.maxTime(maxTime: Long): FindOneAndUpdateOptions

maxTime extension function