kmongo / org.litote.kmongo.util

Package org.litote.kmongo.util

Types

CollectionNameFormatter

To configure the default collection name strategy - default is camel case. To be used before KMongo initialization.

object CollectionNameFormatter

KMongoConfiguration

Use this class to customize the default behaviour of KMongo jackson bindings.

object KMongoConfiguration

KMongoJacksonFeature

Configure the jackson mapper engine.

object KMongoJacksonFeature

KMongoUtil

Internal utility methods

object KMongoUtil

ObjectMappingConfiguration

Default object mapping configuration options. Set values before KMongo initialization.

object ObjectMappingConfiguration

PairProjection

Pair projection (two fields).

class PairProjection<F1, F2>

PatternUtil

Provides pattern options copied from mongo PatternCodec.

object PatternUtil

SingleProjection

Single projection (one field only).

class SingleProjection<F>

TripleProjection

Triple projection (three fields).

class TripleProjection<F1, F2, F3>

UpdateConfiguration

Default update operations configuration.

object UpdateConfiguration

Extensions for External Classes

kotlin.Any

kotlin.reflect.KClass

Functions

pairProjectionCodecRegistry

This method is not part of the public API and may be removed or changed at any time.

fun pairProjectionCodecRegistry(property1: String, property1Class: KClass<*>, property2: String, property2Class: KClass<*>, baseRegistry: CodecRegistry): CodecRegistry

singleProjectionCodecRegistry

This method is not part of the public API and may be removed or changed at any time.

fun singleProjectionCodecRegistry(property: String, propertyClass: KClass<*>, baseRegistry: CodecRegistry): CodecRegistry

tripleProjectionCodecRegistry

This method is not part of the public API and may be removed or changed at any time.

fun tripleProjectionCodecRegistry(property1: String, property1Class: KClass<*>, property2: String, property2Class: KClass<*>, property3: String, property3Class: KClass<*>, baseRegistry: CodecRegistry): CodecRegistry