Class MongoUtils
- java.lang.Object
-
- io.micronaut.data.mongodb.operations.MongoUtils
-
@Internal public final class MongoUtils extends java.lang.Object
Mongo internal utils.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.bson.BsonValue
entityIdValue(io.micronaut.core.convert.ConversionService<?> conversionService, RuntimePersistentEntity<?> persistentEntity, java.lang.Object entity, org.bson.codecs.configuration.CodecRegistry codecRegistry)
static org.bson.BsonValue
idValue(io.micronaut.core.convert.ConversionService<?> conversionService, RuntimePersistentEntity<?> persistentEntity, java.lang.Object idValue, org.bson.codecs.configuration.CodecRegistry codecRegistry)
static org.bson.BsonValue
toBsonValue(io.micronaut.core.convert.ConversionService<?> conversionService, java.lang.Object value, org.bson.codecs.configuration.CodecRegistry codecRegistry)
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
entityIdValue
public static org.bson.BsonValue entityIdValue(io.micronaut.core.convert.ConversionService<?> conversionService, RuntimePersistentEntity<?> persistentEntity, java.lang.Object entity, org.bson.codecs.configuration.CodecRegistry codecRegistry)
-
idValue
public static org.bson.BsonValue idValue(io.micronaut.core.convert.ConversionService<?> conversionService, RuntimePersistentEntity<?> persistentEntity, java.lang.Object idValue, org.bson.codecs.configuration.CodecRegistry codecRegistry)
-
toBsonValue
public static org.bson.BsonValue toBsonValue(io.micronaut.core.convert.ConversionService<?> conversionService, java.lang.Object value, org.bson.codecs.configuration.CodecRegistry codecRegistry)
-
-