Package io.trino.parquet.reader.flat
Class Int128ColumnAdapter
java.lang.Object
io.trino.parquet.reader.flat.Int128ColumnAdapter
- All Implemented Interfaces:
ColumnAdapter<long[]>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyValue(long[] source, int sourceIndex, long[] destination, int destinationIndex) long[]createBuffer(int size) createNonNullBlock(long[] values) createNullableBlock(boolean[] nulls, long[] values) voiddecodeDictionaryIds(long[] values, int offset, int length, int[] ids, long[] dictionary) longgetSizeInBytes(long[] values) long[]Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.parquet.reader.flat.ColumnAdapter
createNullableDictionaryBlock, createTemporaryBuffer, unpackNullValues
-
Field Details
-
INT128_ADAPTER
-
-
Constructor Details
-
Int128ColumnAdapter
public Int128ColumnAdapter()
-
-
Method Details
-
createBuffer
public long[] createBuffer(int size) - Specified by:
createBufferin interfaceColumnAdapter<long[]>
-
createNonNullBlock
- Specified by:
createNonNullBlockin interfaceColumnAdapter<long[]>
-
createNullableBlock
- Specified by:
createNullableBlockin interfaceColumnAdapter<long[]>
-
copyValue
public void copyValue(long[] source, int sourceIndex, long[] destination, int destinationIndex) - Specified by:
copyValuein interfaceColumnAdapter<long[]>
-
decodeDictionaryIds
public void decodeDictionaryIds(long[] values, int offset, int length, int[] ids, long[] dictionary) - Specified by:
decodeDictionaryIdsin interfaceColumnAdapter<long[]>
-
getSizeInBytes
public long getSizeInBytes(long[] values) - Specified by:
getSizeInBytesin interfaceColumnAdapter<long[]>
-
merge
- Specified by:
mergein interfaceColumnAdapter<long[]>
-