Class TypeSpecificFieldsCodec

java.lang.Object
com.illumon.iris.controller.TypeSpecificFieldsCodec
All Implemented Interfaces:
io.deephaven.util.codec.ObjectCodec<Map<String,Object>>, io.deephaven.util.codec.ObjectDecoder<Map<String,Object>>

public class TypeSpecificFieldsCodec extends Object implements io.deephaven.util.codec.ObjectCodec<Map<String,Object>>
An ObjectCodec used for the PersistentQueryConfigurationLogV2.
  • Constructor Details

    • TypeSpecificFieldsCodec

      public TypeSpecificFieldsCodec(String ignored)
      Constructor for use by loggers.
      Parameters:
      ignored - unused parameters
  • Method Details

    • encode

      @NotNull public byte[] encode(@Nullable Map<String,Object> input)
      Specified by:
      encode in interface io.deephaven.util.codec.ObjectCodec<Map<String,Object>>
    • isNullable

      public boolean isNullable()
      Specified by:
      isNullable in interface io.deephaven.util.codec.ObjectCodec<Map<String,Object>>
    • getPrecision

      public int getPrecision()
      Specified by:
      getPrecision in interface io.deephaven.util.codec.ObjectCodec<Map<String,Object>>
    • getScale

      public int getScale()
      Specified by:
      getScale in interface io.deephaven.util.codec.ObjectCodec<Map<String,Object>>
    • decode

      @Nullable public Map<String,Object> decode(@NotNull byte[] input, int offset, int length)
      Specified by:
      decode in interface io.deephaven.util.codec.ObjectDecoder<Map<String,Object>>
    • decodeStatic

      @Nullable public static Map<String,Object> decodeStatic(@NotNull ByteBuffer byteBuffer)
    • expectedObjectWidth

      public int expectedObjectWidth()
      Specified by:
      expectedObjectWidth in interface io.deephaven.util.codec.ObjectDecoder<Map<String,Object>>