Class JacksonMapdbSerializer<T>

  • All Implemented Interfaces:
    java.util.Comparator<T>, org.mapdb.Serializer<T>

    public class JacksonMapdbSerializer<T>
    extends java.lang.Object
    implements org.mapdb.Serializer<T>
    • Field Summary

      • Fields inherited from interface org.mapdb.Serializer

        BIG_DECIMAL, BIG_INTEGER, BOOLEAN, BYTE, BYTE_ARRAY, BYTE_ARRAY_DELTA, BYTE_ARRAY_DELTA2, BYTE_ARRAY_NOSIZE, CHAR, CHAR_ARRAY, CLASS, DATE, DOUBLE, DOUBLE_ARRAY, ELSA, FLOAT, FLOAT_ARRAY, ILLEGAL_ACCESS, INT_ARRAY, INTEGER, INTEGER_DELTA, INTEGER_PACKED, JAVA, LONG, LONG_ARRAY, LONG_DELTA, LONG_PACKED, RECID, RECID_ARRAY, SHORT, SHORT_ARRAY, STRING, STRING_ASCII, STRING_DELTA, STRING_DELTA2, STRING_INTERN, STRING_NOSIZE, STRING_ORIGHASH, UUID
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T deserialize​(org.mapdb.DataInput2 input, int available)  
      void serialize​(org.mapdb.DataOutput2 out, T value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
      • Methods inherited from interface org.mapdb.Serializer

        clone, compare, deserializeFromLong, equals, fixedSize, hashCode, isTrusted, needsAvailableSizeHint
    • Constructor Detail

      • JacksonMapdbSerializer

        public JacksonMapdbSerializer​(java.lang.Class<T> tClass)
    • Method Detail

      • serialize

        public void serialize​(@NotNull
                              org.mapdb.DataOutput2 out,
                              @NotNull
                              T value)
                       throws java.io.IOException
        Specified by:
        serialize in interface org.mapdb.Serializer<T>
        Throws:
        java.io.IOException
      • deserialize

        public T deserialize​(@NotNull
                             org.mapdb.DataInput2 input,
                             int available)
                      throws java.io.IOException
        Specified by:
        deserialize in interface org.mapdb.Serializer<T>
        Throws:
        java.io.IOException