Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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)