Class ValueSerializer

java.lang.Object
com.e1c.langtool.v8.dt.bsl.i18n.internal.cache.ValueSerializer
All Implemented Interfaces:
Serializable, org.mapdb.Serializer<Value>

public final class ValueSerializer extends Object implements org.mapdb.Serializer<Value>, Serializable
Serializer for Value for MapDB that stores it in stream timestamp and content in UTF.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.mapdb.Serializer

    org.mapdb.Serializer.CompressionWrapper<E extends Object>
  • Field Summary

    Fields inherited from interface org.mapdb.Serializer

    BASIC, BOOLEAN, BYTE_ARRAY, BYTE_ARRAY_NOSIZE, CHAR_ARRAY, DOUBLE_ARRAY, ILLEGAL_ACCESS, INT_ARRAY, INTEGER, JAVA, LONG, LONG_ARRAY, STRING, STRING_ASCII, STRING_INTERN, STRING_NOSIZE, UUID
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(DataInput in, int available)
     
    int
     
    void
    serialize(DataOutput out, Value value)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ValueSerializer

      public ValueSerializer()
  • Method Details

    • serialize

      public void serialize(DataOutput out, Value value) throws IOException
      Specified by:
      serialize in interface org.mapdb.Serializer<Value>
      Throws:
      IOException
    • deserialize

      public Value deserialize(DataInput in, int available) throws IOException
      Specified by:
      deserialize in interface org.mapdb.Serializer<Value>
      Throws:
      IOException
    • fixedSize

      public int fixedSize()
      Specified by:
      fixedSize in interface org.mapdb.Serializer<Value>