Package io.trino.parquet.reader.flat
Class ByteColumnAdapter
java.lang.Object
io.trino.parquet.reader.flat.ByteColumnAdapter
- All Implemented Interfaces:
ColumnAdapter<byte[]>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyValue(byte[] source, int sourceIndex, byte[] destination, int destinationIndex) byte[]createBuffer(int size) createNonNullBlock(byte[] values) createNullableBlock(boolean[] nulls, byte[] values) voiddecodeDictionaryIds(byte[] values, int offset, int length, int[] ids, byte[] dictionary) longgetSizeInBytes(byte[] values) byte[]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
-
BYTE_ADAPTER
-
-
Constructor Details
-
ByteColumnAdapter
public ByteColumnAdapter()
-
-
Method Details
-
createBuffer
public byte[] createBuffer(int size) - Specified by:
createBufferin interfaceColumnAdapter<byte[]>
-
createNonNullBlock
- Specified by:
createNonNullBlockin interfaceColumnAdapter<byte[]>
-
createNullableBlock
- Specified by:
createNullableBlockin interfaceColumnAdapter<byte[]>
-
copyValue
public void copyValue(byte[] source, int sourceIndex, byte[] destination, int destinationIndex) - Specified by:
copyValuein interfaceColumnAdapter<byte[]>
-
decodeDictionaryIds
public void decodeDictionaryIds(byte[] values, int offset, int length, int[] ids, byte[] dictionary) - Specified by:
decodeDictionaryIdsin interfaceColumnAdapter<byte[]>
-
getSizeInBytes
public long getSizeInBytes(byte[] values) - Specified by:
getSizeInBytesin interfaceColumnAdapter<byte[]>
-
merge
- Specified by:
mergein interfaceColumnAdapter<byte[]>
-