Class BsonEncoder


  • public class BsonEncoder
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte determineType​(java.lang.Object value)  
      static void encodeDocument​(java.util.Map<java.lang.String,​?> document, io.netty.buffer.ByteBuf out)  
      static void encodeValue​(byte type, java.lang.Object value, io.netty.buffer.ByteBuf buffer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • encodeDocument

        public static void encodeDocument​(java.util.Map<java.lang.String,​?> document,
                                          io.netty.buffer.ByteBuf out)
      • encodeValue

        public static void encodeValue​(byte type,
                                       java.lang.Object value,
                                       io.netty.buffer.ByteBuf buffer)
      • determineType

        public static byte determineType​(java.lang.Object value)