Class LongFromUnsignedLongMaterializer
java.lang.Object
io.deephaven.parquet.base.materializers.LongFromUnsignedLongMaterializer
- All Implemented Interfaces:
PageMaterializer
Materializes an unsigned 64-bit parquet int as a primitive
long, rejecting values that exceed
Long.MAX_VALUE rather than silently reinterpreting them as negative.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic longconvertValue(long value) An unsigned value exceedsLong.MAX_VALUEexactly when its signed bit pattern is negative.data()fillAll()voidfillNulls(int startIndex, int endIndex) voidfillValues(int startIndex, int endIndex) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.parquet.base.PageMaterializer
data, fillAll, fillNulls
-
Field Details
-
FACTORY
-
-
Method Details
-
convertValue
public static long convertValue(long value) An unsigned value exceedsLong.MAX_VALUEexactly when its signed bit pattern is negative. -
fillValues
public void fillValues(int startIndex, int endIndex) - Specified by:
fillValuesin interfacePageMaterializer
-
fillNulls
public void fillNulls(int startIndex, int endIndex) - Specified by:
fillNullsin interfacePageMaterializer
-
fillAll
- Specified by:
fillAllin interfacePageMaterializer
-
data
- Specified by:
datain interfacePageMaterializer
-