public class HoodieParquetReader<R extends org.apache.avro.generic.IndexedRecord> extends Object implements HoodieFileReader<R>
| Constructor and Description |
|---|
HoodieParquetReader(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path path) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Set<String> |
filterRowKeys(Set<String> candidateRowKeys) |
ClosableIterator<R> |
getRecordIterator(org.apache.avro.Schema schema) |
org.apache.avro.Schema |
getSchema() |
long |
getTotalRecords() |
BloomFilter |
readBloomFilter() |
String[] |
readMinMaxRecordKeys() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRecordByKey, getRecordByKey, getRecordIterator, getRecordsByKeyPrefixIterator, getRecordsByKeyPrefixIterator, getRecordsByKeysIterator, getRecordsByKeysIteratorpublic HoodieParquetReader(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path path)
public String[] readMinMaxRecordKeys()
readMinMaxRecordKeys in interface HoodieFileReader<R extends org.apache.avro.generic.IndexedRecord>public BloomFilter readBloomFilter()
readBloomFilter in interface HoodieFileReader<R extends org.apache.avro.generic.IndexedRecord>public Set<String> filterRowKeys(Set<String> candidateRowKeys)
filterRowKeys in interface HoodieFileReader<R extends org.apache.avro.generic.IndexedRecord>public ClosableIterator<R> getRecordIterator(org.apache.avro.Schema schema) throws IOException
getRecordIterator in interface HoodieFileReader<R extends org.apache.avro.generic.IndexedRecord>IOExceptionpublic org.apache.avro.Schema getSchema()
getSchema in interface HoodieFileReader<R extends org.apache.avro.generic.IndexedRecord>public void close()
close in interface AutoCloseableclose in interface HoodieFileReader<R extends org.apache.avro.generic.IndexedRecord>public long getTotalRecords()
getTotalRecords in interface HoodieFileReader<R extends org.apache.avro.generic.IndexedRecord>Copyright © 2022 The Apache Software Foundation. All rights reserved.