public class HoodieAvroParquetReader extends HoodieAvroFileReader
HoodieFileReader implementation for parquet format.| Constructor and Description |
|---|
HoodieAvroParquetReader(HoodieStorage storage,
StoragePath path) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Set<String> |
filterRowKeys(Set<String> candidateRowKeys) |
protected ClosableIterator<org.apache.avro.generic.IndexedRecord> |
getIndexedRecordIterator(org.apache.avro.Schema schema) |
ClosableIterator<org.apache.avro.generic.IndexedRecord> |
getIndexedRecordIterator(org.apache.avro.Schema readerSchema,
org.apache.avro.Schema requestedSchema) |
ClosableIterator<HoodieRecord<org.apache.avro.generic.IndexedRecord>> |
getRecordIterator(org.apache.avro.Schema readerSchema) |
ClosableIterator<String> |
getRecordKeyIterator() |
org.apache.avro.Schema |
getSchema() |
long |
getTotalRecords() |
BloomFilter |
readBloomFilter() |
String[] |
readMinMaxRecordKeys() |
getRecordIteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRecordIteratorpublic HoodieAvroParquetReader(HoodieStorage storage, StoragePath path)
public ClosableIterator<HoodieRecord<org.apache.avro.generic.IndexedRecord>> getRecordIterator(org.apache.avro.Schema readerSchema) throws IOException
IOExceptionpublic String[] readMinMaxRecordKeys()
public BloomFilter readBloomFilter()
protected ClosableIterator<org.apache.avro.generic.IndexedRecord> getIndexedRecordIterator(org.apache.avro.Schema schema) throws IOException
getIndexedRecordIterator in class HoodieAvroFileReaderIOExceptionpublic ClosableIterator<org.apache.avro.generic.IndexedRecord> getIndexedRecordIterator(org.apache.avro.Schema readerSchema, org.apache.avro.Schema requestedSchema) throws IOException
getIndexedRecordIterator in class HoodieAvroFileReaderIOExceptionpublic org.apache.avro.Schema getSchema()
public void close()
public long getTotalRecords()
public ClosableIterator<String> getRecordKeyIterator() throws IOException
IOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.