Skip navigation links
A C D E F G I J K L M N O P R S T U W Z 

A

all($this$all, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Returns true if all elements match the given predicate.
any($this$any) - Static method in class kotlin.collections.KMongoIterableKt
Returns true if collection has at least one element.
any($this$any, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Returns true if at least one element matches the given predicate.
ascendingSort($this$ascendingSort, properties) - Static method in class org.litote.kmongo.FindIterablesKt
Sets the sort criteria with specified ascending properties to apply to the query.
asSequence($this$asSequence) - Static method in class kotlin.collections.KMongoIterableKt
Creates a Sequence instance that wraps the original collection returning its elements when being iterated.
associate($this$associate, transform) - Static method in class kotlin.collections.KMongoIterableKt
Returns a Map containing key-value pairs provided by transform function applied to elements of the given collection.
associateBy($this$associateBy, keySelector) - Static method in class kotlin.collections.KMongoIterableKt
Returns a Map containing the elements from the given collection indexed by the key returned from keySelector function applied to each element.
associateBy($this$associateBy, keySelector, valueTransform) - Static method in class kotlin.collections.KMongoIterableKt
Returns a Map containing the values provided by valueTransform and indexed by keySelector functions applied to elements of the given collection.
associateByTo($this$associateByTo, destination, keySelector) - Static method in class kotlin.collections.KMongoIterableKt
Populates and returns the destination mutable map with key-value pairs, where key is provided by the keySelector function applied to each element of the given collection and value is the element itself.
associateByTo($this$associateByTo, destination, keySelector, valueTransform) - Static method in class kotlin.collections.KMongoIterableKt
Populates and returns the destination mutable map with key-value pairs, where key is provided by the keySelector function and and value is provided by the valueTransform function applied to elements of the given collection.
associateTo($this$associateTo, destination, transform) - Static method in class kotlin.collections.KMongoIterableKt
Populates and returns the destination mutable map with key-value pairs provided by transform function applied to each element of the given collection.
averageOfByte($this$average) - Static method in class kotlin.collections.KMongoIterableKt
Returns an average value of elements in the collection.
averageOfDouble($this$average) - Static method in class kotlin.collections.KMongoIterableKt
Returns an average value of elements in the collection.
averageOfFloat($this$average) - Static method in class kotlin.collections.KMongoIterableKt
Returns an average value of elements in the collection.
averageOfInt($this$average) - Static method in class kotlin.collections.KMongoIterableKt
Returns an average value of elements in the collection.
averageOfLong($this$average) - Static method in class kotlin.collections.KMongoIterableKt
Returns an average value of elements in the collection.
averageOfShort($this$average) - Static method in class kotlin.collections.KMongoIterableKt
Returns an average value of elements in the collection.

C

ChangeStreamIterablesKt - Class in org.litote.kmongo
 
ChangeStreamIterablesKt() - Constructor for class org.litote.kmongo.ChangeStreamIterablesKt
 
chunked($this$chunked, size) - Static method in class kotlin.collections.KMongoIterableKt
Splits this collection into a list of lists each not exceeding the given size.
chunked($this$chunked, size, transform) - Static method in class kotlin.collections.KMongoIterableKt
Splits this collection into several lists each not exceeding the given size and applies the given transform function to an each.
contains($this$contains, element) - Static method in class kotlin.collections.KMongoIterableKt
Returns true if element is found in the collection.
count($this$count) - Static method in class kotlin.collections.KMongoIterableKt
Returns the number of elements in this collection.
count($this$count, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Returns the number of elements matching the given predicate.
countDocuments($this$countDocuments, filter, options) - Static method in class org.litote.kmongo.MongoCollectionsKt
Counts the number of documents in the collection according to the given options.
countDocuments($this$countDocuments, clientSession, filter, options) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Counts the number of documents in the collection according to the given options.
createClient() - Method in class org.litote.kmongo.KMongo
Creates an instance based on a (single) mongodb node (localhost, default port).
createClient(connectionString) - Method in class org.litote.kmongo.KMongo
Creates a Mongo instance.
createClient(connectionString) - Method in class org.litote.kmongo.KMongo
Creates a Mongo described by a URI. If only one address is used it will only connect to that node, otherwise it will discover all nodes.
createClient(settings) - Method in class org.litote.kmongo.KMongo
Creates a Mongo described by a URI. If only one address is used it will only connect to that node, otherwise it will discover all nodes.
createIndex($this$createIndex, keys, indexOptions) - Static method in class org.litote.kmongo.MongoCollectionsKt
Create an index with the given keys and options.
createIndex($this$createIndex, clientSession, keys, indexOptions) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Create an index with the given keys and options.

D

deleteMany($this$deleteMany, filter, options) - Static method in class org.litote.kmongo.MongoCollectionsKt
Removes all documents from the collection that match the given query filter. If no documents match, the collection is not modified.
deleteMany($this$deleteMany, filters, options) - Static method in class org.litote.kmongo.MongoCollectionsKt
Removes all documents from the collection that match the given query filter. If no documents match, the collection is not modified.
deleteMany($this$deleteMany, clientSession, filter, options) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Removes all documents from the collection that match the given query filter. If no documents match, the collection is not modified.
deleteMany($this$deleteMany, clientSession, filters, options) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Removes all documents from the collection that match the given query filter. If no documents match, the collection is not modified.
deleteOne($this$deleteOne, filter) - Static method in class org.litote.kmongo.MongoCollectionsKt
Removes at most one document from the collection that matches the given filter. If no documents match, the collection is not modified.
deleteOne($this$deleteOne, filters) - Static method in class org.litote.kmongo.MongoCollectionsKt
Removes at most one document from the collection that matches the given filter. If no documents match, the collection is not modified.
deleteOne($this$deleteOne, clientSession, filter) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Removes at most one document from the collection that matches the given filter. If no documents match, the collection is not modified.
deleteOne($this$deleteOne, clientSession, filters) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Removes at most one document from the collection that matches the given filter. If no documents match, the collection is not modified.
deleteOneById($this$deleteOneById, id) - Static method in class org.litote.kmongo.MongoCollectionsKt
Removes at most one document from the id parameter. If no documents match, the collection is not modified.
deleteOneById($this$deleteOneById, clientSession, id) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Removes at most one document from the id parameter. If no documents match, the collection is not modified.
descendingSort($this$descendingSort, properties) - Static method in class org.litote.kmongo.FindIterablesKt
Sets the sort criteria with specified descending properties to apply to the query.
distinct($this$distinct) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing only distinct elements from the given collection.
distinctBy($this$distinctBy, selector) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing only elements from the given collection having distinct keys returned by the given selector function.
DistinctIterablesKt - Class in org.litote.kmongo
 
DistinctIterablesKt() - Constructor for class org.litote.kmongo.DistinctIterablesKt
 
drop($this$drop, n) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing all elements except first n elements.
dropIndex($this$dropIndex, keys) - Static method in class org.litote.kmongo.MongoCollectionsKt
Drops the index given the keys used to create it.
dropIndex($this$dropIndex, clientSession, keys) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Drops the index given the keys used to create it.
dropIndexOfKeys($this$dropIndexOfKeys, json) - Static method in class org.litote.kmongo.MongoCollectionsKt
Drops the index given the keys used to create it.
dropIndexOfKeys($this$dropIndexOfKeys, clientSession, json) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Drops the index given the keys used to create it.
dropWhile($this$dropWhile, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing all elements except first elements that satisfy the given predicate.

E

elementAt($this$elementAt, index) - Static method in class kotlin.collections.KMongoIterableKt
Returns an element at the given index or throws an IndexOutOfBoundsException if the index is out of bounds of this collection.
elementAtOrElse($this$elementAtOrElse, index, defaultValue) - Static method in class kotlin.collections.KMongoIterableKt
Returns an element at the given index or the result of calling the defaultValue function if the index is out of bounds of this collection.
elementAtOrNull($this$elementAtOrNull, index) - Static method in class kotlin.collections.KMongoIterableKt
Returns an element at the given index or null if the index is out of bounds of this collection.
ensureIndex($this$ensureIndex, keys, indexOptions) - Static method in class org.litote.kmongo.MongoCollectionsKt
Create an index with the given keys and options. If the creation of the index is not doable because an index with the same keys but with different IndexOptions already exists, then drop the existing index and create a new one.
ensureIndex($this$ensureIndex, properties, indexOptions) - Static method in class org.litote.kmongo.MongoCollectionsKt
Create an ascending index with the given keys and options. If the creation of the index is not doable because an index with the same keys but with different IndexOptions already exists, then drop the existing index and create a new one.
ensureIndex($this$ensureIndex, keys, indexOptions) - Static method in class org.litote.kmongo.MongoCollectionsKt
Create an index with the given keys and options. If the creation of the index is not doable because an index with the same keys but with different IndexOptions already exists, then drop the existing index and create a new one.
ensureIndex($this$ensureIndex, clientSession, keys, indexOptions) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Create an index with the given keys and options. If the creation of the index is not doable because an index with the same keys but with different IndexOptions already exists, then drop the existing index and create a new one.
ensureIndex($this$ensureIndex, clientSession, properties, indexOptions) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Create an ascending index with the given keys and options. If the creation of the index is not doable because an index with the same keys but with different IndexOptions already exists, then drop the existing index and create a new one.
ensureIndex($this$ensureIndex, clientSession, keys, indexOptions) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Create an index with the given keys and options. If the creation of the index is not doable because an index with the same keys but with different IndexOptions already exists, then drop the existing index and create a new one.
ensureUniqueIndex($this$ensureUniqueIndex, properties, indexOptions) - Static method in class org.litote.kmongo.MongoCollectionsKt
Create an IndexOptions.unique index with the given keys and options. If the creation of the index is not doable because an index with the same keys but with different IndexOptions already exists, then drop the existing index and create a new one.
ensureUniqueIndex($this$ensureUniqueIndex, clientSession, properties, indexOptions) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Create an IndexOptions.unique index with the given keys and options. If the creation of the index is not doable because an index with the same keys but with different IndexOptions already exists, then drop the existing index and create a new one.
evaluate($this$evaluate, expression) - Static method in class org.litote.kmongo.MongoIterablesKt
Evaluates the current MongoIterable given the expression of Sequences.

F

filter($this$filter, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing only elements matching the given predicate.
filter($this$filter, filter) - Static method in class org.litote.kmongo.DistinctIterablesKt
Sets the query filter to apply to the query.
filter($this$filter, filter) - Static method in class org.litote.kmongo.FindIterablesKt
Sets the query filter to apply to the query.
filter($this$filter, filter) - Static method in class org.litote.kmongo.MapReduceIterablesKt
Sets the query filter to apply to the query.
filterIndexed($this$filterIndexed, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing only elements matching the given predicate.
filterIndexedTo($this$filterIndexedTo, destination, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Appends all elements matching the given predicate to the given destination.
filterIsInstance($this$filterIsInstance, klass) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing all elements that are instances of specified class.
filterIsInstanceTo($this$filterIsInstanceTo, destination, klass) - Static method in class kotlin.collections.KMongoIterableKt
Appends all elements that are instances of specified class to the given destination.
filterNot($this$filterNot, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing all elements not matching the given predicate.
filterNotNull($this$filterNotNull) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing all elements that are not null.
filterNotNullTo($this$filterNotNullTo, destination) - Static method in class kotlin.collections.KMongoIterableKt
Appends all elements that are not null to the given destination.
filterNotTo($this$filterNotTo, destination, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Appends all elements not matching the given predicate to the given destination.
filterTo($this$filterTo, destination, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Appends all elements matching the given predicate to the given destination.
find($this$find, filter) - Static method in class org.litote.kmongo.MongoCollectionsKt
Finds all documents in the collection.
find($this$find, filters) - Static method in class org.litote.kmongo.MongoCollectionsKt
Finds all documents in the collection.
find($this$find, clientSession, filter) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Finds all documents in the collection.
find($this$find, clientSession, filters) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Finds all documents in the collection.
FindIterablesKt - Class in org.litote.kmongo
 
FindIterablesKt() - Constructor for class org.litote.kmongo.FindIterablesKt
 
findOne($this$findOne, filter) - Static method in class org.litote.kmongo.MongoCollectionsKt
Finds the first document that match the filter in the collection.
findOne($this$findOne, filter) - Static method in class org.litote.kmongo.MongoCollectionsKt
Finds the first document that match the filter in the collection.
findOne($this$findOne, filters) - Static method in class org.litote.kmongo.MongoCollectionsKt
Finds the first document that match the filters in the collection.
findOne($this$findOne, clientSession, filter) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Finds the first document that match the filter in the collection.
findOne($this$findOne, clientSession, filter) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Finds the first document that match the filter in the collection.
findOne($this$findOne, clientSession, filters) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Finds the first document that match the filters in the collection.
findOneAndDelete($this$findOneAndDelete, filter, options) - Static method in class org.litote.kmongo.MongoCollectionsKt
Atomically find a document and remove it.
findOneAndDelete($this$findOneAndDelete, clientSession, filter, options) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Atomically find a document and remove it.
findOneAndReplace($this$findOneAndReplace, filter, replacement, options) - Static method in class org.litote.kmongo.MongoCollectionsKt
Atomically find a document and replace it.
findOneAndReplace($this$findOneAndReplace, clientSession, filter, replacement, options) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Atomically find a document and replace it.
findOneAndUpdate($this$findOneAndUpdate, filter, update, options) - Static method in class org.litote.kmongo.MongoCollectionsKt
Atomically find a document and update it.
findOneAndUpdate($this$findOneAndUpdate, clientSession, filter, update, options) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Atomically find a document and update it.
findOneById($this$findOneById, id) - Static method in class org.litote.kmongo.MongoCollectionsKt
Finds the document that match the id parameter.
findOneById($this$findOneById, clientSession, id) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Finds the document that match the id parameter.
first($this$first, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Returns the first element matching the given predicate.
firstOrNull($this$firstOrNull) - Static method in class kotlin.collections.KMongoIterableKt
Returns the first element, or null if the collection is empty.
firstOrNull($this$firstOrNull, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Returns the first element matching the given predicate, or null if element was not found.
flatMap($this$flatMap, transform) - Static method in class kotlin.collections.KMongoIterableKt
Returns a single list of all elements yielded from results of transform function being invoked on each element of original collection.
flatMapTo($this$flatMapTo, destination, transform) - Static method in class kotlin.collections.KMongoIterableKt
Appends all elements yielded from results of transform function being invoked on each element of original collection, to the given destination.
flatten($this$flatten) - Static method in class kotlin.collections.KMongoIterableKt
Returns a single list of all elements from all collections in the given collection.
fold($this$fold, initial, operation) - Static method in class kotlin.collections.KMongoIterableKt
Accumulates value starting with initial value and applying operation from left to right to current accumulator value and each element.
foldIndexed($this$foldIndexed, initial, operation) - Static method in class kotlin.collections.KMongoIterableKt
Accumulates value starting with initial value and applying operation from left to right to current accumulator value and each element with its index in the original collection.
forEach($this$forEach, action) - Static method in class kotlin.collections.KMongoIterableKt
Overrides Iterable.forEach to ensure MongoIterable.forEach is called.
forEachIndexed($this$forEachIndexed, action) - Static method in class kotlin.collections.KMongoIterableKt
Performs the given action on each element, providing sequential index with the element.

G

groupBy($this$groupBy, keySelector) - Static method in class kotlin.collections.KMongoIterableKt
Groups elements of the original collection by the key returned by the given keySelector function applied to each element and returns a map where each group key is associated with a list of corresponding elements.
groupBy($this$groupBy, keySelector, valueTransform) - Static method in class kotlin.collections.KMongoIterableKt
Groups values returned by the valueTransform function applied to each element of the original collection by the key returned by the given keySelector function applied to the element and returns a map where each group key is associated with a list of corresponding values.
groupByTo($this$groupByTo, destination, keySelector) - Static method in class kotlin.collections.KMongoIterableKt
Groups elements of the original collection by the key returned by the given keySelector function applied to each element and puts to the destination map each group key associated with a list of corresponding elements.
groupByTo($this$groupByTo, destination, keySelector, valueTransform) - Static method in class kotlin.collections.KMongoIterableKt
Groups values returned by the valueTransform function applied to each element of the original collection by the key returned by the given keySelector function applied to the element and puts to the destination map each group key associated with a list of corresponding values.
groupingBy($this$groupingBy, keySelector) - Static method in class kotlin.collections.KMongoIterableKt
Creates a Grouping source from a collection to be used later with one of group-and-fold operations using the specified keySelector function to extract a key from each element.

I

indexOf($this$indexOf, element) - Static method in class kotlin.collections.KMongoIterableKt
Returns first index of element, or -1 if the collection does not contain element.
indexOfFirst($this$indexOfFirst, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Returns index of the first element matching the given predicate, or -1 if the collection does not contain such element.
indexOfLast($this$indexOfLast, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Returns index of the last element matching the given predicate, or -1 if the collection does not contain such element.
INSTANCE - Static variable in class org.litote.kmongo.KMongo
Main object used to create a MongoClient instance.
intersect($this$intersect, other) - Static method in class kotlin.collections.KMongoIterableKt
Returns a set containing all elements that are contained by both this set and the specified collection.

J

joinTo($this$joinTo, buffer, separator, prefix, postfix, limit, truncated, transform) - Static method in class kotlin.collections.KMongoIterableKt
Appends the string from all the elements separated using separator and using the given prefix and postfix if supplied.
joinToString($this$joinToString, separator, prefix, postfix, limit, truncated, transform) - Static method in class kotlin.collections.KMongoIterableKt
Creates a string from all the elements separated using separator and using the given prefix and postfix if supplied.

K

KMongo - Class in org.litote.kmongo
Main object used to create a MongoClient instance.
KMongoIterableKt - Class in kotlin.collections
 
KMongoIterableKt() - Constructor for class kotlin.collections.KMongoIterableKt
 
kotlin.collections - package kotlin.collections
 

L

last($this$last) - Static method in class kotlin.collections.KMongoIterableKt
Returns the last element.
last($this$last, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Returns the last element matching the given predicate.
lastIndexOf($this$lastIndexOf, element) - Static method in class kotlin.collections.KMongoIterableKt
Returns last index of element, or -1 if the collection does not contain element.
lastOrNull($this$lastOrNull) - Static method in class kotlin.collections.KMongoIterableKt
Returns the last element, or null if the collection is empty.
lastOrNull($this$lastOrNull, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Returns the last element matching the given predicate, or null if no such element was found.
listen($this$listen, executor, delay, unit, listener) - Static method in class org.litote.kmongo.ChangeStreamIterablesKt
Listens change stream in an other thread.

M

map($this$map, transform) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing the results of applying the given transform function to each element in the original collection.
mapIndexed($this$mapIndexed, transform) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing the results of applying the given transform function to each element and its index in the original collection.
mapIndexedNotNull($this$mapIndexedNotNull, transform) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing only the non-null results of applying the given transform function to each element and its index in the original collection.
mapIndexedNotNullTo($this$mapIndexedNotNullTo, destination, transform) - Static method in class kotlin.collections.KMongoIterableKt
Applies the given transform function to each element and its index in the original collection and appends only the non-null results to the given destination.
mapIndexedTo($this$mapIndexedTo, destination, transform) - Static method in class kotlin.collections.KMongoIterableKt
Applies the given transform function to each element and its index in the original collection and appends the results to the given destination.
mapNotNull($this$mapNotNull, transform) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing only the non-null results of applying the given transform function to each element in the original collection.
mapNotNullTo($this$mapNotNullTo, destination, transform) - Static method in class kotlin.collections.KMongoIterableKt
Applies the given transform function to each element in the original collection and appends only the non-null results to the given destination.
MapReduceIterablesKt - Class in org.litote.kmongo
 
MapReduceIterablesKt() - Constructor for class org.litote.kmongo.MapReduceIterablesKt
 
mapTo($this$mapTo, destination, transform) - Static method in class kotlin.collections.KMongoIterableKt
Applies the given transform function to each element of the original collection and appends the results to the given destination.
max($this$max) - Static method in class kotlin.collections.KMongoIterableKt
Returns the largest element or null if there are no elements.
max($this$max) - Static method in class kotlin.collections.KMongoIterableKt
Returns the largest element or null if there are no elements.
max($this$max) - Static method in class kotlin.collections.KMongoIterableKt
Returns the largest element or null if there are no elements.
maxBy($this$maxBy, selector) - Static method in class kotlin.collections.KMongoIterableKt
Returns the first element yielding the largest value of the given function or null if there are no elements.
maxWith($this$maxWith, comparator) - Static method in class kotlin.collections.KMongoIterableKt
Returns the first element having the largest value according to the provided comparator or null if there are no elements.
min($this$min) - Static method in class kotlin.collections.KMongoIterableKt
Returns the smallest element or null if there are no elements.
min($this$min) - Static method in class kotlin.collections.KMongoIterableKt
Returns the smallest element or null if there are no elements.
min($this$min) - Static method in class kotlin.collections.KMongoIterableKt
Returns the smallest element or null if there are no elements.
minBy($this$minBy, selector) - Static method in class kotlin.collections.KMongoIterableKt
Returns the first element yielding the smallest value of the given function or null if there are no elements.
minus($this$minus, element) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing all elements of the original collection without the first occurrence of the given element.
minus($this$minus, elements) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing all elements of the original collection except the elements contained in the given elements array.
minus($this$minus, elements) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing all elements of the original collection except the elements contained in the given elements collection.
minus($this$minus, elements) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing all elements of the original collection except the elements contained in the given elements sequence.
minWith($this$minWith, comparator) - Static method in class kotlin.collections.KMongoIterableKt
Returns the first element having the smallest value according to the provided comparator or null if there are no elements.
MongoCollectionsKt - Class in org.litote.kmongo
 
MongoCollectionsKt() - Constructor for class org.litote.kmongo.MongoCollectionsKt
 
MongoCollectionsWithClientSessionKt - Class in org.litote.kmongo
 
MongoCollectionsWithClientSessionKt() - Constructor for class org.litote.kmongo.MongoCollectionsWithClientSessionKt
 
MongoDatabasesKt - Class in org.litote.kmongo
 
MongoDatabasesKt() - Constructor for class org.litote.kmongo.MongoDatabasesKt
 
MongoDatabasesWithClientSessionKt - Class in org.litote.kmongo
 
MongoDatabasesWithClientSessionKt() - Constructor for class org.litote.kmongo.MongoDatabasesWithClientSessionKt
 
MongoIterablesKt - Class in org.litote.kmongo
 
MongoIterablesKt() - Constructor for class org.litote.kmongo.MongoIterablesKt
 

N

none($this$none) - Static method in class kotlin.collections.KMongoIterableKt
Returns true if the collection has no elements.
none($this$none, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Returns true if no elements match the given predicate.

O

org.litote.kmongo - package org.litote.kmongo
 

P

partition($this$partition, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Splits the original collection into pair of lists, where first list contains elements for which predicate yielded true, while second list contains elements for which predicate yielded false.
plus($this$plus, element) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing all elements of the original collection and then the given element.
plus($this$plus, elements) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing all elements of the original collection and then all elements of the given elements array.
plus($this$plus, elements) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing all elements of the original collection and then all elements of the given elements collection.
plus($this$plus, elements) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing all elements of the original collection and then all elements of the given elements sequence.
projection($this$projection, projection) - Static method in class org.litote.kmongo.FindIterablesKt
Sets a document describing the fields to return for all matching documents.
projection($this$projection, projections) - Static method in class org.litote.kmongo.FindIterablesKt
Sets a document describing the fields to return for all matching documents.

R

reduce($this$reduce, operation) - Static method in class kotlin.collections.KMongoIterableKt
Accumulates value starting with the first element and applying operation from left to right to current accumulator value and each element.
reduceIndexed($this$reduceIndexed, operation) - Static method in class kotlin.collections.KMongoIterableKt
Accumulates value starting with the first element and applying operation from left to right to current accumulator value and each element with its index in the original collection.
replaceOne($this$replaceOne, filter, replacement, options) - Static method in class org.litote.kmongo.MongoCollectionsKt
Replace a document in the collection according to the specified arguments.
replaceOne($this$replaceOne, clientSession, filter, replacement, options) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Replace a document in the collection according to the specified arguments.
replaceOneById($this$replaceOneById, id, replacement, options) - Static method in class org.litote.kmongo.MongoCollectionsKt
Replace a document in the collection according to the specified arguments.
replaceOneById($this$replaceOneById, clientSession, id, replacement, options) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Replace a document in the collection according to the specified arguments.
replaceOneWithFilter($this$replaceOneWithFilter, filter, replacement, replaceOptions) - Static method in class org.litote.kmongo.MongoCollectionsKt
Replace a document in the collection according to the specified arguments. Same than MongoCollection.replaceOne but ensure that any _id present in replacement is removed to avoid MongoWriteException such as: "After applying the update, the (immutable) field '_id' was found to have been altered to _id"
replaceOneWithFilter($this$replaceOneWithFilter, clientSession, filter, replacement, replaceOptions) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Replace a document in the collection according to the specified arguments. Same than MongoCollection.replaceOne but ensure that any _id present in replacement is removed to avoid MongoWriteException such as: "After applying the update, the (immutable) field '_id' was found to have been altered to _id"
requireNoNulls($this$requireNoNulls) - Static method in class kotlin.collections.KMongoIterableKt
Returns an original collection containing all the non-null elements, throwing an IllegalArgumentException if there are any null elements.
reversed($this$reversed) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list with elements in reversed order.

S

save($this$save, document) - Static method in class org.litote.kmongo.MongoCollectionsKt
Save the document. If the document has no id field, or if the document has a null id value, insert the document. Otherwise, call replaceOneById with upsert true.
save($this$save, clientSession, document) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Save the document. If the document has no id field, or if the document has a null id value, insert the document. Otherwise, call replaceOneById with upsert true.
scope($this$scope, scope) - Static method in class org.litote.kmongo.MapReduceIterablesKt
Sets the global variables that are accessible in the map, reduce and finalize functions.
shuffled($this$shuffled) - Static method in class kotlin.collections.KMongoIterableKt
Returns a new list with the elements of this list randomly shuffled.
shuffled($this$shuffled, random) - Static method in class kotlin.collections.KMongoIterableKt
Returns a new list with the elements of this list randomly shuffled using the specified random instance as the source of randomness.
single($this$single) - Static method in class kotlin.collections.KMongoIterableKt
Returns the single element, or throws an exception if the collection is empty or has more than one element.
single($this$single, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Returns the single element matching the given predicate, or throws exception if there is no or more than one matching element.
singleOrNull($this$singleOrNull) - Static method in class kotlin.collections.KMongoIterableKt
Returns single element, or null if the collection is empty or has more than one element.
singleOrNull($this$singleOrNull, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Returns the single element matching the given predicate, or null if element was not found or more than one element was found.
sort($this$sort, sort) - Static method in class org.litote.kmongo.FindIterablesKt
Sets the sort criteria to apply to the query.
sort($this$sort, sort) - Static method in class org.litote.kmongo.MapReduceIterablesKt
Sets the sort criteria to apply to the query.
sorted($this$sorted) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list of all elements sorted according to their natural sort order.
sortedBy($this$sortedBy, selector) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list of all elements sorted according to natural sort order of the value returned by specified selector function.
sortedByDescending($this$sortedByDescending, selector) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list of all elements sorted descending according to natural sort order of the value returned by specified selector function.
sortedDescending($this$sortedDescending) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list of all elements sorted descending according to their natural sort order.
sortedWith($this$sortedWith, comparator) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list of all elements sorted according to the specified comparator.
subtract($this$subtract, other) - Static method in class kotlin.collections.KMongoIterableKt
Returns a set containing all elements that are contained by this collection and not contained by the specified collection.
sumBy($this$sumBy, selector) - Static method in class kotlin.collections.KMongoIterableKt
Returns the sum of all values produced by selector function applied to each element in the collection.
sumByDouble($this$sumByDouble, selector) - Static method in class kotlin.collections.KMongoIterableKt
Returns the sum of all values produced by selector function applied to each element in the collection.
sumOfByte($this$sum) - Static method in class kotlin.collections.KMongoIterableKt
Returns the sum of all elements in the collection.
sumOfDouble($this$sum) - Static method in class kotlin.collections.KMongoIterableKt
Returns the sum of all elements in the collection.
sumOfFloat($this$sum) - Static method in class kotlin.collections.KMongoIterableKt
Returns the sum of all elements in the collection.
sumOfInt($this$sum) - Static method in class kotlin.collections.KMongoIterableKt
Returns the sum of all elements in the collection.
sumOfLong($this$sum) - Static method in class kotlin.collections.KMongoIterableKt
Returns the sum of all elements in the collection.
sumOfShort($this$sum) - Static method in class kotlin.collections.KMongoIterableKt
Returns the sum of all elements in the collection.

T

take($this$take, n) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing first n elements.
takeWhile($this$takeWhile, predicate) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing first elements satisfying the given predicate.
toCollection($this$toCollection, destination) - Static method in class kotlin.collections.KMongoIterableKt
Appends all elements to the given destination collection.
toHashSet($this$toHashSet) - Static method in class kotlin.collections.KMongoIterableKt
Returns a HashSet of all elements.
toList($this$toList) - Static method in class kotlin.collections.KMongoIterableKt
Returns a List containing all elements.
toMap($this$toMap) - Static method in class kotlin.collections.KMongoIterableKt
Returns a new map containing all key-value pairs from the given collection of pairs.
toMap($this$toMap, destination) - Static method in class kotlin.collections.KMongoIterableKt
Populates and returns the destination mutable map with key-value pairs from the given collection of pairs.
toMutableList($this$toMutableList) - Static method in class kotlin.collections.KMongoIterableKt
Returns a MutableList filled with all elements of this collection.
toMutableSet($this$toMutableSet) - Static method in class kotlin.collections.KMongoIterableKt
Returns a mutable set containing all distinct elements from the given collection.
toSet($this$toSet) - Static method in class kotlin.collections.KMongoIterableKt
Returns a Set of all elements.
toSortedSet($this$toSortedSet) - Static method in class kotlin.collections.KMongoIterableKt
Returns a SortedSet of all elements.
toSortedSet($this$toSortedSet, comparator) - Static method in class kotlin.collections.KMongoIterableKt
Returns a SortedSet of all elements.

U

union($this$union, other) - Static method in class kotlin.collections.KMongoIterableKt
Returns a set containing all distinct elements from both collections.
unzip($this$unzip) - Static method in class kotlin.collections.KMongoIterableKt
Returns a pair of lists, where first list is built from the first values of each pair from this collection, second list is built from the second values of each pair from this collection.
updateMany($this$updateMany, filter, update, updateOptions) - Static method in class org.litote.kmongo.MongoCollectionsKt
Update all documents in the collection according to the specified arguments.
updateMany($this$updateMany, filter, updates, updateOptions) - Static method in class org.litote.kmongo.MongoCollectionsKt
Update all documents in the collection according to the specified arguments.
updateMany($this$updateMany, clientSession, filter, update, updateOptions) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Update all documents in the collection according to the specified arguments.
updateMany($this$updateMany, clientSession, filter, updates, updateOptions) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Update all documents in the collection according to the specified arguments.
updateOne($this$updateOne, filter, update, options) - Static method in class org.litote.kmongo.MongoCollectionsKt
Update a single document in the collection according to the specified arguments.
updateOne($this$updateOne, filter, update, options, updateOnlyNotNullProperties) - Static method in class org.litote.kmongo.MongoCollectionsKt
Update a single document in the collection according to the specified arguments.
updateOne($this$updateOne, filter, target, options, updateOnlyNotNullProperties) - Static method in class org.litote.kmongo.MongoCollectionsKt
Update a single document in the collection according to the specified arguments.
updateOne($this$updateOne, filter, updates, updateOptions) - Static method in class org.litote.kmongo.MongoCollectionsKt
Update a single document in the collection according to the specified arguments.
updateOne($this$updateOne, clientSession, filter, update, options) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Update a single document in the collection according to the specified arguments.
updateOne($this$updateOne, clientSession, filter, update, options, updateOnlyNotNullProperties) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Update a single document in the collection according to the specified arguments.
updateOne($this$updateOne, clientSession, filter, target, options, updateOnlyNotNullProperties) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Update a single document in the collection according to the specified arguments.
updateOne($this$updateOne, clientSession, filter, updates, updateOptions) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Update a single document in the collection according to the specified arguments.
updateOneById($this$updateOneById, id, update, options, updateOnlyNotNullProperties) - Static method in class org.litote.kmongo.MongoCollectionsKt
Update a single document in the collection according to the specified arguments.
updateOneById($this$updateOneById, clientSession, id, update, options, updateOnlyNotNullProperties) - Static method in class org.litote.kmongo.MongoCollectionsWithClientSessionKt
Update a single document in the collection according to the specified arguments.
useCursor($this$useCursor, block) - Static method in class kotlin.collections.KMongoIterableKt
Utility method - this is not part of the KMongo public API.

W

windowed($this$windowed, size, step, partialWindows) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list of snapshots of the window of the given size sliding along this collection with the given step, where each snapshot is a list.
windowed($this$windowed, size, step, partialWindows, transform) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list of results of applying the given transform function to an each list representing a view over the window of the given size sliding along this collection with the given step.
withIndex($this$withIndex) - Static method in class kotlin.collections.KMongoIterableKt
Returns a lazy Iterable of IndexedValue for each element of the original collection.
withIndex($this$withIndex) - Static method in class kotlin.collections.KMongoIterableKt
Returns an Iterator wrapping each value produced by this Iterator with the IndexedValue, containing value and it's index.
withKMongo($this$withKMongo) - Static method in class org.litote.kmongo.MongoCollectionsKt
Returns a MongoCollection with a KMongo codec.
withKMongo($this$withKMongo) - Static method in class org.litote.kmongo.MongoDatabasesKt
Returns a MongoDatabase with a KMongo codec.

Z

zip($this$zip, other) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list of pairs built from the elements of this collection and the other array with the same index. The returned list has length of the shortest collection.
zip($this$zip, other, transform) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list of values built from the elements of this collection and the other array with the same index using the provided transform function applied to each pair of elements. The returned list has length of the shortest collection.
zip($this$zip, other) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list of pairs built from the elements of this collection and other collection with the same index. The returned list has length of the shortest collection.
zip($this$zip, other, transform) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list of values built from the elements of this collection and the other collection with the same index using the provided transform function applied to each pair of elements. The returned list has length of the shortest collection.
zipWithNext($this$zipWithNext) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list of pairs of each two adjacent elements in this collection.
zipWithNext($this$zipWithNext, transform) - Static method in class kotlin.collections.KMongoIterableKt
Returns a list containing the results of applying the given transform function to an each pair of two adjacent elements in this collection.
A C D E F G I J K L M N O P R S T U W Z 
Skip navigation links