PackedColumnMetadata#

public final class PackedColumnMetadata implements AutoCloseable#

Metadata for a table that is backed by a single contiguous device buffer.

Method Summary

close()

Close the PackedColumnMetadata instance and its underlying resources.

getMetadataDirectBuffer()

Get the byte buffer containing the host metadata describing the schema and layout of the contiguous table.

Methods

public ByteBuffer getMetadataDirectBuffer()#

Get the byte buffer containing the host metadata describing the schema and layout of the contiguous table.

NOTE: This is a direct byte buffer that is backed by the underlying native metadata instance and therefore is only valid to be used while this PackedColumnMetadata instance is valid. Attempts to cache and access the resulting buffer after this instance has been destroyed will result in undefined behavior including the possibility of segmentation faults or data corruption.

public void close()#

Close the PackedColumnMetadata instance and its underlying resources.