@Namespace(value="parquet") @NoOffset @Properties(inherit=parquet.class) public class ParquetFileReader extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
ParquetFileReader.Contents |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ParquetFileReader() |
ParquetFileReader(long size)
Native array allocator.
|
ParquetFileReader(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
Close() |
ParquetFileReader |
getPointer(long i) |
FileMetaData |
metadata() |
void |
Open(ParquetFileReader.Contents contents) |
static ParquetFileReader |
Open(RandomAccessFile source) |
static ParquetFileReader |
Open(RandomAccessFile source,
ReaderProperties props,
FileMetaData metadata) |
static ParquetFileReader |
OpenFile(BytePointer path) |
static ParquetFileReader |
OpenFile(BytePointer path,
boolean memory_map,
ReaderProperties props,
FileMetaData metadata) |
static ParquetFileReader |
OpenFile(String path) |
static ParquetFileReader |
OpenFile(String path,
boolean memory_map,
ReaderProperties props,
FileMetaData metadata) |
ParquetFileReader |
position(long position) |
void |
PreBuffer(int[] row_groups,
int[] column_indices,
IOContext ctx,
CacheOptions options) |
void |
PreBuffer(IntBuffer row_groups,
IntBuffer column_indices,
IOContext ctx,
CacheOptions options) |
void |
PreBuffer(IntPointer row_groups,
IntPointer column_indices,
IOContext ctx,
CacheOptions options)
Pre-buffer the specified column indices in all row groups.
|
RowGroupReader |
RowGroup(int i) |
Future |
WhenBuffered(int[] row_groups,
int[] column_indices) |
Future |
WhenBuffered(IntBuffer row_groups,
IntBuffer column_indices) |
Future |
WhenBuffered(IntPointer row_groups,
IntPointer column_indices)
Wait for the specified row groups and column indices to be pre-buffered.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public ParquetFileReader(Pointer p)
Pointer(Pointer)
.public ParquetFileReader(long size)
Pointer.position(long)
.public ParquetFileReader()
public ParquetFileReader position(long position)
public ParquetFileReader getPointer(long i)
getPointer
in class Pointer
@UniquePtr @ByVal public static ParquetFileReader Open(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::io::RandomAccessFile>"}) RandomAccessFile source, @Const @ByRef(nullValue="parquet::ReaderProperties(parquet::default_reader_properties())") ReaderProperties props, @SharedPtr FileMetaData metadata)
@UniquePtr @ByVal public static ParquetFileReader Open(@SharedPtr @Cast(value={"","std::shared_ptr<arrow::io::RandomAccessFile>"}) RandomAccessFile source)
@UniquePtr @ByVal public static ParquetFileReader OpenFile(@StdString String path, @Cast(value="bool") boolean memory_map, @Const @ByRef(nullValue="parquet::ReaderProperties(parquet::default_reader_properties())") ReaderProperties props, @SharedPtr FileMetaData metadata)
@UniquePtr @ByVal public static ParquetFileReader OpenFile(@StdString String path)
@UniquePtr @ByVal public static ParquetFileReader OpenFile(@StdString BytePointer path, @Cast(value="bool") boolean memory_map, @Const @ByRef(nullValue="parquet::ReaderProperties(parquet::default_reader_properties())") ReaderProperties props, @SharedPtr FileMetaData metadata)
@UniquePtr @ByVal public static ParquetFileReader OpenFile(@StdString BytePointer path)
public void Open(@UniquePtr @ByVal ParquetFileReader.Contents contents)
public void Close()
@SharedPtr public RowGroupReader RowGroup(int i)
@SharedPtr public FileMetaData metadata()
public void PreBuffer(@StdVector IntPointer row_groups, @StdVector IntPointer column_indices, @Const @ByRef IOContext ctx, @Const @ByRef CacheOptions options)
public void PreBuffer(@StdVector IntBuffer row_groups, @StdVector IntBuffer column_indices, @Const @ByRef IOContext ctx, @Const @ByRef CacheOptions options)
public void PreBuffer(@StdVector int[] row_groups, @StdVector int[] column_indices, @Const @ByRef IOContext ctx, @Const @ByRef CacheOptions options)
@ByVal public Future WhenBuffered(@StdVector IntPointer row_groups, @StdVector IntPointer column_indices)
@ByVal public Future WhenBuffered(@StdVector IntBuffer row_groups, @StdVector IntBuffer column_indices)
@ByVal public Future WhenBuffered(@StdVector int[] row_groups, @StdVector int[] column_indices)
Copyright © 2022. All rights reserved.