Class MongoIdQueryContainer<K>

java.lang.Object
org.kingdoms.data.database.mongo.MongoIdQueryContainer<K>
All Implemented Interfaces:
org.bson.conversions.Bson

public final class MongoIdQueryContainer<K> extends Object implements org.bson.conversions.Bson
  • Field Summary

    Fields inherited from interface org.bson.conversions.Bson

    DEFAULT_CODEC_REGISTRY
  • Constructor Summary

    Constructors
    Constructor
    Description
    MongoIdQueryContainer(K id, Class<K> idClass)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <TDocument>
    org.bson.BsonDocument
    toBsonDocument(Class<TDocument> tDocumentClass, org.bson.codecs.configuration.CodecRegistry codecRegistry)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.bson.conversions.Bson

    toBsonDocument
  • Constructor Details

    • MongoIdQueryContainer

      public MongoIdQueryContainer(K id, Class<K> idClass)
  • Method Details

    • toBsonDocument

      public <TDocument> org.bson.BsonDocument toBsonDocument(Class<TDocument> tDocumentClass, org.bson.codecs.configuration.CodecRegistry codecRegistry)
      Specified by:
      toBsonDocument in interface org.bson.conversions.Bson
    • toString

      public String toString()
      Overrides:
      toString in class Object