@Namespace(value="arrow::ipc") @NoOffset @Properties(inherit=arrow.class) public class RecordBatchFileReader extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
RecordBatchFileReader(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
num_record_batches()
\brief Returns the number of record batches in the file
|
static Status |
Open(RandomAccessFile file,
long footer_offset,
RecordBatchFileReader reader)
\brief Open a RecordBatchFileReader
If the file is embedded within some larger file or memory region, you can
pass the absolute memory offset to the end of the file (which contains the
metadata footer).
|
static Status |
Open(RandomAccessFile file,
RecordBatchFileReader reader)
\brief Open a RecordBatchFileReader
Open a file-like object that is assumed to be self-contained; i.e., the
end of the file interface is the end of the Arrow file.
|
Status |
ReadRecordBatch(int i,
RecordBatch batch)
\brief Read a particular record batch from the file.
|
Schema |
schema()
\brief The schema read from the file
|
arrow.MetadataVersion |
version()
\brief Return the metadata version from the file metadata
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic RecordBatchFileReader(Pointer p)
Pointer.Pointer(Pointer).@ByVal public static Status Open(RandomAccessFile file, @SharedPtr RecordBatchFileReader reader)
@ByVal public static Status Open(RandomAccessFile file, @Cast(value="int64_t") long footer_offset, @SharedPtr RecordBatchFileReader reader)
file - [in] the data sourcefooter_offset - [in] the position of the end of the Arrow filereader - [out] the returned reader@SharedPtr @ByVal public Schema schema()
public int num_record_batches()
public arrow.MetadataVersion version()
@ByVal public Status ReadRecordBatch(int i, @SharedPtr RecordBatch batch)
i - [in] the index of the record batch to returnbatch - [out] the read batchCopyright © 2020. All rights reserved.