Class SimpleStringDecoder<STRING_LIKE_TYPE extends CharSequence>

java.lang.Object
com.illumon.iris.db.v2.sources.regioned.decoder.SimpleStringDecoder<STRING_LIKE_TYPE>
All Implemented Interfaces:
io.deephaven.util.codec.ObjectDecoder<STRING_LIKE_TYPE>

public class SimpleStringDecoder<STRING_LIKE_TYPE extends CharSequence> extends Object implements io.deephaven.util.codec.ObjectDecoder<STRING_LIKE_TYPE>
  • Constructor Details

    • SimpleStringDecoder

      public SimpleStringDecoder(Class<STRING_LIKE_TYPE> dataType)
    • SimpleStringDecoder

      public SimpleStringDecoder(com.fishlib.base.string.cache.StringCache<STRING_LIKE_TYPE> cache)
  • Method Details

    • expectedObjectWidth

      public final int expectedObjectWidth()
      Specified by:
      expectedObjectWidth in interface io.deephaven.util.codec.ObjectDecoder<STRING_LIKE_TYPE extends CharSequence>
    • decode

      public final STRING_LIKE_TYPE decode(@NotNull byte[] data, int offset, int length)
      Specified by:
      decode in interface io.deephaven.util.codec.ObjectDecoder<STRING_LIKE_TYPE extends CharSequence>