Package com.illumon.util.codec
Interface ObjectCodec<TYPE>
- All Superinterfaces:
io.deephaven.util.codec.ObjectCodec<TYPE>,io.deephaven.util.codec.ObjectDecoder<TYPE>
- All Known Implementing Classes:
BigIntegerCodec,ByteArrayCodec,ExternalizableCodec,LocalDateCodec,LocalTimeCodec,MapCodec,SerializableCodec,StringArrayCodec,StringBooleanMapCodec,StringDoubleMapCodec,StringFloatMapCodec,StringIntMapCodec,StringLongMapCodec,StringStringMapCodec,UTF8StringAsByteArrayCodec,ZonedDateTimeCodec
Deprecated.
Codec interface for Object translation to/from byte arrays for serialization and deserialization.
Implementations must follow several rules to enable correct usage:
- They must be stateless or designed for concurrent use (e.g. by using only ThreadLocal state), as they will generally be cached and re-used.
- They must not modify their inputs in any way, retain references to their inputs, or return results that retain references to their inputs.
- They should provide a public constructor that takes a single String argument, in order to allow configuration-driven reflective instantiation.
-
Field Summary
Fields inherited from interface io.deephaven.util.codec.ObjectDecoder
VARIABLE_WIDTH_SENTINEL -
Method Summary
Methods inherited from interface io.deephaven.util.codec.ObjectCodec
encode, getPrecision, getScale, isNullableMethods inherited from interface io.deephaven.util.codec.ObjectDecoder
checkWidth, decode, decode, expectedObjectWidth
ObjectCodecdirectly.