ListIndexesFlow

class ListIndexesFlow<T : Any>(wrapped: ListIndexesPublisher<T>) : Flow<T>

Flow implementation for list index operations.

Parameters

T

The type of the result.

See also

Constructors

Link copied to clipboard
constructor(wrapped: ListIndexesPublisher<T>)

Functions

Link copied to clipboard
fun batchSize(batchSize: Int): ListIndexesFlow<T>

Sets the number of documents to return per batch.

Link copied to clipboard
open suspend override fun collect(collector: FlowCollector<T>)
Link copied to clipboard
fun comment(comment: String?): ListIndexesFlow<T>
fun comment(comment: BsonValue?): ListIndexesFlow<T>

Sets the comment for this operation. A null value means no comment is set.

Link copied to clipboard
fun maxTime(maxTime: Long, timeUnit: TimeUnit = TimeUnit.MILLISECONDS): ListIndexesFlow<T>

Sets the maximum execution time on the server for this operation.