|
fun defaultCollectionName(clazz: KClass<*>): String |
|
fun <TItem : Any> encodeValue(writer: BsonDocumentWriter, value: TItem?, codecRegistry: CodecRegistry): Unit |
|
fun extractId(: Any, : KClass<*>): Any |
|
fun filterIdToBson(obj: Any, filterNullProperties: Boolean = !ObjectMappingConfiguration.serializeNull): BsonDocument |
|
fun formatJson(json: String): String |
|
fun generateNewIdForIdClass(idClass: KClass<out Any>): Any |
|
fun getIdBsonValue(idValue: Any?): BsonValue? |
|
fun getIdValue(value: Any): Any? |
|
fun idFilterQuery(id: Any): Bson |
|
fun setModifier(obj: Any, updateOnlyNotNullProperties: Boolean = false): Bson |
|
fun toBson(json: String): BsonDocument
fun <T : Any> toBson(json: String, type: KClass<T>): BsonDocument |
|
fun toBsonList(json: Array<out String>, codecRegistry: CodecRegistry): List<Bson> |
|
fun toBsonModifier(obj: Any, updateOnlyNotNullProperties: Boolean = false): Bson |
|
fun toExtendedJson(obj: Any): String |
|
fun <T : Any> toWriteModel(json: Array<out String>, codecRegistry: CodecRegistry, type: KClass<T>): List<WriteModel<BsonDocument>> |