public class ChunkedPack extends Object implements AutoCloseable
Constructor and Description |
---|
ChunkedPack(long nativePtr)
This constructor is invoked by `Table.makeChunkedPack` after creating a native
`cudf::chunked_pack`.
|
Modifier and Type | Method and Description |
---|---|
PackedColumnMetadata |
buildMetadata()
Generates opaque table metadata that can be unpacked via `cudf::unpack`
at a later time.
|
void |
close() |
long |
getTotalContiguousSize()
Get the final contiguous size of the table we are packing.
|
boolean |
hasNext()
Method to be called to ensure that `ChunkedPack` has work left.
|
long |
next(DeviceMemoryBuffer userPtr)
Place the next contiguous chunk of our table into `userPtr`.
|
public ChunkedPack(long nativePtr)
nativePtr
- pointer to a `cudf::chunked_pack`public long getTotalContiguousSize()
public boolean hasNext()
public long next(DeviceMemoryBuffer userPtr)
userPtr
- the bounce buffer to use for this iterationpublic PackedColumnMetadata buildMetadata()
public void close()
close
in interface AutoCloseable
Copyright © 2024. All rights reserved.