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 voidclose()final BUFFER_TYPEGet the buffer suitable for writing to a Parquet filefinal IntBufferGet the lengths of array/vector elements added to the buffer.final booleanCheck 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, waitMethods inherited from interface io.deephaven.parquet.table.transfer.TransferObject
pageHasNull, transferOnePageToBuffer
-
Method Details
-
getRepeatCount
Description copied from interface:TransferObjectGet the lengths of array/vector elements added to the buffer.- Returns:
- the buffer with counts
-
getBuffer
Description copied from interface:TransferObjectGet the buffer suitable for writing to a Parquet file- Specified by:
getBufferin interfaceTransferObject<COLUMN_TYPE>- Returns:
- the buffer
-
hasMoreDataToBuffer
public final boolean hasMoreDataToBuffer()Description copied from interface:TransferObjectCheck if there is any more data which can be copied into buffer- Specified by:
hasMoreDataToBufferin interfaceTransferObject<COLUMN_TYPE>
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSafeCloseable
-