Package com.illumon.iris.db.v2.utils
Class IndexCodec
java.lang.Object
com.illumon.iris.db.v2.utils.IndexCodec
- All Implemented Interfaces:
io.deephaven.util.codec.ObjectCodec<Index>
,io.deephaven.util.codec.ObjectDecoder<Index>
A codec to encode and decode generic Indexes to a column.
-
Field Summary
Fields inherited from interface io.deephaven.util.codec.ObjectDecoder
VARIABLE_WIDTH_SENTINEL
-
Constructor Summary
Constructors -
Method Summary
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
-
IndexCodec
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceio.deephaven.util.codec.ObjectCodec<Index>
-
isNullable
public boolean isNullable()- Specified by:
isNullable
in interfaceio.deephaven.util.codec.ObjectCodec<Index>
-
getPrecision
public int getPrecision()- Specified by:
getPrecision
in interfaceio.deephaven.util.codec.ObjectCodec<Index>
-
getScale
public int getScale()- Specified by:
getScale
in interfaceio.deephaven.util.codec.ObjectCodec<Index>
-
decode
- Specified by:
decode
in interfaceio.deephaven.util.codec.ObjectDecoder<Index>
-
expectedObjectWidth
public int expectedObjectWidth()- Specified by:
expectedObjectWidth
in interfaceio.deephaven.util.codec.ObjectDecoder<Index>
-