Class EncodedStringDecoder<STRING_LIKE_TYPE extends CharSequence>
java.lang.Object
com.illumon.iris.db.v2.sources.regioned.decoder.EncodedStringDecoder<STRING_LIKE_TYPE>
- All Implemented Interfaces:
io.deephaven.util.codec.ObjectDecoder<STRING_LIKE_TYPE>
public class EncodedStringDecoder<STRING_LIKE_TYPE extends CharSequence>
extends Object
implements io.deephaven.util.codec.ObjectDecoder<STRING_LIKE_TYPE>
-
Field Summary
Fields inherited from interface io.deephaven.util.codec.ObjectDecoder
VARIABLE_WIDTH_SENTINEL
-
Constructor Summary
ConstructorsConstructorDescriptionEncodedStringDecoder
(com.fishlib.base.string.cache.StringCache<STRING_LIKE_TYPE> cache, com.fishlib.base.string.EncodingInfo encodingInfo) EncodedStringDecoder
(Class<STRING_LIKE_TYPE> dataType, com.fishlib.base.string.EncodingInfo encodingInfo) -
Method Summary
Modifier and TypeMethodDescriptionfinal STRING_LIKE_TYPE
decode
(byte[] data, int offset, int length) final int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.util.codec.ObjectDecoder
checkWidth, decode
-
Constructor Details
-
EncodedStringDecoder
public EncodedStringDecoder(Class<STRING_LIKE_TYPE> dataType, com.fishlib.base.string.EncodingInfo encodingInfo) -
EncodedStringDecoder
public EncodedStringDecoder(com.fishlib.base.string.cache.StringCache<STRING_LIKE_TYPE> cache, com.fishlib.base.string.EncodingInfo encodingInfo)
-
-
Method Details
-
expectedObjectWidth
public final int expectedObjectWidth()- Specified by:
expectedObjectWidth
in interfaceio.deephaven.util.codec.ObjectDecoder<STRING_LIKE_TYPE extends CharSequence>
-
decode
- Specified by:
decode
in interfaceio.deephaven.util.codec.ObjectDecoder<STRING_LIKE_TYPE extends CharSequence>
-