listIndexes

abstract fun listIndexes(): ListIndexesFlow<Document>

Get all the indexes in this collection.

Return

the list indexes iterable interface


abstract fun <TResult : Any> listIndexes(resultClass: KClass<out TResult>): ListIndexesFlow<TResult>

Get all the indexes in this collection.

Return

the list indexes iterable interface

Parameters

resultClass

the class to decode each document into

the target document type of the iterable.

abstract fun listIndexes(clientSession: ClientSession): ListIndexesFlow<Document>

Get all the indexes in this collection.

Return

the list indexes iterable interface

Since

3.6

Parameters

clientSession

the client session with which to associate this operation


abstract fun <TResult : Any> listIndexes(clientSession: ClientSession, resultClass: KClass<out TResult>): ListIndexesFlow<TResult>

Get all the indexes in this collection.

Return

the list indexes iterable interface

Since

3.6

Parameters

clientSession

the client session with which to associate this operation

resultClass

the class to decode each document into

the target document type of the iterable.