public class HoodieOrcReader<R extends org.apache.avro.generic.IndexedRecord> extends Object implements HoodieFileReader
| Constructor and Description |
|---|
HoodieOrcReader(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path path) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Set<String> |
filterRowKeys(Set 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 HoodieOrcReader(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path path)
public String[] readMinMaxRecordKeys()
readMinMaxRecordKeys in interface HoodieFileReaderpublic BloomFilter readBloomFilter()
readBloomFilter in interface HoodieFileReaderpublic Set<String> filterRowKeys(Set candidateRowKeys)
filterRowKeys in interface HoodieFileReaderpublic ClosableIterator<R> getRecordIterator(org.apache.avro.Schema schema) throws IOException
getRecordIterator in interface HoodieFileReaderIOExceptionpublic org.apache.avro.Schema getSchema()
getSchema in interface HoodieFileReaderpublic void close()
close in interface AutoCloseableclose in interface HoodieFileReaderpublic long getTotalRecords()
getTotalRecords in interface HoodieFileReaderCopyright © 2022 The Apache Software Foundation. All rights reserved.