listIndexes

@JvmName(name = "listIndexesAsDocument")
fun listIndexes(): ListIndexesFlow<Document>

Get all the indexes in this collection.

Return

the list indexes iterable interface

See also


inline fun <R : Any> listIndexes(): ListIndexesFlow<R>

Get all the indexes in this collection.

Return

the list indexes iterable interface

Parameters

R

the class to decode each document into

See also


@JvmName(name = "listIndexesAsDocumentWithSession")
fun listIndexes(clientSession: ClientSession): ListIndexesFlow<Document>

Get all the indexes in this collection.

Return

the list indexes iterable interface

Parameters

clientSession

the client session with which to associate this operation

See also


inline fun <R : Any> listIndexes(clientSession: ClientSession): ListIndexesFlow<R>

Get all the indexes in this collection.

Return

the list indexes iterable interface

Parameters

R

the class to decode each document into

clientSession

the client session with which to associate this operation

See also


fun <R : Any> listIndexes(resultClass: Class<R>): ListIndexesFlow<R>

Get all the indexes in this collection.

Return

the list indexes iterable interface

Parameters

R

the class to decode each document into

resultClass

the target document type of the iterable.

See also


fun <R : Any> listIndexes(clientSession: ClientSession, resultClass: Class<R>): ListIndexesFlow<R>

Get all the indexes in this collection.

Return

the list indexes iterable interface

Parameters

R

the class to decode each document into

clientSession

the client session with which to associate this operation

resultClass

the target document type of the iterable.

See also