public class ClassMappingType implements ClassMappingTypeService
interface ClassMappingTypeService currently used retrieved via java.util.ServiceLoader.
public static ClassMappingType INSTANCE
interface ClassMappingTypeService currently used retrieved via java.util.ServiceLoader.
public void forceService(@NotNull
ClassMappingTypeService service)
Do not use the ClassMappingTypeService.priority method do define the service used,
and force the use of the specified service.
Use this method at startup only.
ClassMappingTypeService.priority@NotNull
public <T> java.lang.String calculatePath(@NotNull
kotlin.reflect.KProperty<? extends T> property)
@NotNull
public org.bson.codecs.configuration.CodecRegistry codecRegistry(@NotNull
org.bson.codecs.configuration.CodecRegistry baseCodecRegistry,
@NotNull
org.bson.codecs.configuration.CodecRegistry coreCodeRegistry)
Returns a codec registry built with baseCodecRegistry, and coreCodeRegistry.
baseCodecRegistry,
coreCodeRegistry@NotNull
public org.bson.codecs.configuration.CodecRegistry coreCodecRegistry(@NotNull
org.bson.codecs.configuration.CodecRegistry baseCodecRegistry)
@NotNull
public org.bson.BsonDocument filterIdToBson(@NotNull
java.lang.Object obj,
boolean filterNullProperties)
@Nullable
public kotlin.reflect.KProperty1<?,?> findIdProperty(@NotNull
kotlin.reflect.KClass<?> type)
@Nullable
public <T,R> R getIdValue(@NotNull
kotlin.reflect.KProperty1<T,? extends R> idProperty,
T instance)
@NotNull
public <T> java.lang.String getPath(@NotNull
kotlin.reflect.KProperty<? extends T> property)
public int priority()
Priority of this service. Greater is better.
@NotNull
public java.lang.String toExtendedJson(@Nullable
java.lang.Object obj)