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, waitMethods inherited from interface io.deephaven.util.codec.ObjectDecoder
checkWidth, decode
-
Constructor Details
-
IndexCodec
-
-
Method Details
-
encode
- Specified by:
encodein interfaceio.deephaven.util.codec.ObjectCodec<Index>
-
isNullable
public boolean isNullable()- Specified by:
isNullablein interfaceio.deephaven.util.codec.ObjectCodec<Index>
-
getPrecision
public int getPrecision()- Specified by:
getPrecisionin interfaceio.deephaven.util.codec.ObjectCodec<Index>
-
getScale
public int getScale()- Specified by:
getScalein interfaceio.deephaven.util.codec.ObjectCodec<Index>
-
decode
- Specified by:
decodein interfaceio.deephaven.util.codec.ObjectDecoder<Index>
-
expectedObjectWidth
public int expectedObjectWidth()- Specified by:
expectedObjectWidthin interfaceio.deephaven.util.codec.ObjectDecoder<Index>
-