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 public interface ObjectCodec<TYPE> extends io.deephaven.util.codec.ObjectCodec<TYPE>
Deprecated.
Use ObjectCodec directly.

Codec interface for Object translation to/from byte arrays for serialization and deserialization.

Implementations must follow several rules to enable correct usage:

  1. 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.
  2. They must not modify their inputs in any way, retain references to their inputs, or return results that retain references to their inputs.
  3. 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, isNullable

    Methods inherited from interface io.deephaven.util.codec.ObjectDecoder

    checkWidth, decode, decode, expectedObjectWidth