public class MosaicReader extends Object implements AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Map<String,ColumnStatistics> |
getRowGroupStatistics(int rgIndex)
Returns column statistics for the given row group, keyed by column name.
|
org.apache.arrow.vector.types.pojo.Schema |
getSchema() |
int |
numRowGroups() |
static MosaicReader |
open(InputFile inputFile,
long fileLength,
org.apache.arrow.memory.BufferAllocator allocator) |
void |
project(String[] columns) |
org.apache.arrow.vector.VectorSchemaRoot |
readRowGroup(int rgIndex,
org.apache.arrow.memory.BufferAllocator allocator) |
int |
rowGroupNumRows(int rgIndex) |
public static MosaicReader open(InputFile inputFile, long fileLength, org.apache.arrow.memory.BufferAllocator allocator)
public org.apache.arrow.vector.types.pojo.Schema getSchema()
public int numRowGroups()
public void project(String[] columns)
public org.apache.arrow.vector.VectorSchemaRoot readRowGroup(int rgIndex,
org.apache.arrow.memory.BufferAllocator allocator)
public int rowGroupNumRows(int rgIndex)
public Map<String,ColumnStatistics> getRowGroupStatistics(int rgIndex)
public void close()
close in interface AutoCloseableCopyright © 2026 The Apache Software Foundation. All rights reserved.