ListSearchIndexesFlow

class ListSearchIndexesFlow<T : Any>(wrapped: ListSearchIndexesPublisher<T>) : Flow<T>

Flow implementation for list Atlas Search index operations.

Parameters

T

The type of the result.

See also

List Atlas Search indexes (https://www.mongodb.com/docs/manual/reference/operator/aggregation/listSearchIndexes)

Constructors

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

Functions

Link copied to clipboard

Enables writing to temporary files. A null value indicates that it's unspecified.

Link copied to clipboard

Sets the number of documents to return per batch.

Link copied to clipboard
fun collation(collation: Collation?): ListSearchIndexesFlow<T>

Sets the collation options.

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

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

Link copied to clipboard
@JvmName(name = "explainDocument")
suspend fun explain(verbosity: ExplainVerbosity? = null): Document
inline suspend fun <R : Any> explain(verbosity: ExplainVerbosity? = null): R
suspend fun <R : Any> explain(resultClass: Class<R>, verbosity: ExplainVerbosity? = null): R

Explain the execution plan for this operation with the given verbosity level.

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

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

Link copied to clipboard

Sets an Atlas Search index name for this operation.