Package-level declarations

Types

Link copied to clipboard
class AggregateFlow<T : Any>(wrapped: AggregatePublisher<T>) : Flow<T>

Flow implementation for aggregate operations.

Link copied to clipboard
class ChangeStreamFlow<T : Any>(wrapped: ChangeStreamPublisher<T>) : Flow<ChangeStreamDocument<T>>

Flow implementation for change streams.

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

A client session that supports transactions.

Link copied to clipboard
class DistinctFlow<T : Any>(wrapped: DistinctPublisher<T>) : Flow<T>

Flow implementation for distinct operations.

Link copied to clipboard
class FindFlow<T : Any>(wrapped: FindPublisher<T>) : Flow<T>

Flow implementation for find operations.

Link copied to clipboard
class ListCollectionNamesFlow(wrapped: ListCollectionNamesPublisher) : Flow<String>

Flow for listing collection names.

Link copied to clipboard
class ListCollectionsFlow<T : Any>(wrapped: ListCollectionsPublisher<T>) : Flow<T>

Flow implementation for list collection operations.

Link copied to clipboard
class ListDatabasesFlow<T : Any>(wrapped: ListDatabasesPublisher<T>) : Flow<T>

Flow implementation for list database operations.

Link copied to clipboard
class ListIndexesFlow<T : Any>(wrapped: ListIndexesPublisher<T>) : Flow<T>

Flow implementation for list index operations.

Link copied to clipboard
class ListSearchIndexesFlow<T : Any>(wrapped: ListSearchIndexesPublisher<T>) : Flow<T>

Flow implementation for list Atlas Search index operations.

Link copied to clipboard
class MapReduceFlow<T : Any>(wrapped: MapReducePublisher<T>) : Flow<T>

Flow implementation for map reduce operations.

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

A client-side representation of a MongoDB cluster.

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

The MongoCollection representation.

Link copied to clipboard
class MongoDatabase(wrapped: MongoDatabase)

The MongoDatabase representation.

Functions

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