Class ArrayAndVectorTransfer<COLUMN_TYPE,ENCODED_COLUMN_TYPE,BUFFER_TYPE>
java.lang.Object
io.deephaven.parquet.table.transfer.ArrayAndVectorTransfer<COLUMN_TYPE,ENCODED_COLUMN_TYPE,BUFFER_TYPE>
- All Implemented Interfaces:
TransferObject<BUFFER_TYPE>
,SafeCloseable
,AutoCloseable
- Direct Known Subclasses:
DictEncodedStringArrayAndVectorTransfer
public abstract class ArrayAndVectorTransfer<COLUMN_TYPE,ENCODED_COLUMN_TYPE,BUFFER_TYPE>
extends Object
Base class for all array and vector transfer objects
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
close()
final BUFFER_TYPE
Get the buffer suitable for writing to a Parquet filefinal IntBuffer
Get the lengths of array/vector elements added to the buffer.final boolean
Check if there is any more data which can be copied into bufferMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.parquet.table.transfer.TransferObject
pageHasNull, transferOnePageToBuffer
-
Method Details
-
getRepeatCount
Description copied from interface:TransferObject
Get the lengths of array/vector elements added to the buffer.- Returns:
- the buffer with counts
-
getBuffer
Description copied from interface:TransferObject
Get the buffer suitable for writing to a Parquet file- Specified by:
getBuffer
in interfaceTransferObject<COLUMN_TYPE>
- Returns:
- the buffer
-
hasMoreDataToBuffer
public final boolean hasMoreDataToBuffer()Description copied from interface:TransferObject
Check if there is any more data which can be copied into buffer- Specified by:
hasMoreDataToBuffer
in interfaceTransferObject<COLUMN_TYPE>
-
close
public final void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSafeCloseable
-