public interface HoodieFileReader<R extends org.apache.avro.generic.IndexedRecord> extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Set<String> |
filterRowKeys(Set<String> candidateRowKeys) |
default Option<R> |
getRecordByKey(String key) |
default Option<R> |
getRecordByKey(String key,
org.apache.avro.Schema readerSchema) |
default ClosableIterator<R> |
getRecordIterator() |
ClosableIterator<R> |
getRecordIterator(org.apache.avro.Schema readerSchema) |
default ClosableIterator<R> |
getRecordsByKeyPrefixIterator(List<String> keyPrefixes) |
default ClosableIterator<R> |
getRecordsByKeyPrefixIterator(List<String> keyPrefixes,
org.apache.avro.Schema schema) |
default ClosableIterator<R> |
getRecordsByKeysIterator(List<String> keys) |
default ClosableIterator<R> |
getRecordsByKeysIterator(List<String> keys,
org.apache.avro.Schema schema) |
org.apache.avro.Schema |
getSchema() |
long |
getTotalRecords() |
BloomFilter |
readBloomFilter() |
String[] |
readMinMaxRecordKeys() |
String[] readMinMaxRecordKeys()
BloomFilter readBloomFilter()
ClosableIterator<R> getRecordIterator(org.apache.avro.Schema readerSchema) throws IOException
IOExceptiondefault ClosableIterator<R> getRecordIterator() throws IOException
IOExceptiondefault Option<R> getRecordByKey(String key, org.apache.avro.Schema readerSchema) throws IOException
IOExceptiondefault Option<R> getRecordByKey(String key) throws IOException
IOExceptiondefault ClosableIterator<R> getRecordsByKeysIterator(List<String> keys, org.apache.avro.Schema schema) throws IOException
IOExceptiondefault ClosableIterator<R> getRecordsByKeysIterator(List<String> keys) throws IOException
IOExceptiondefault ClosableIterator<R> getRecordsByKeyPrefixIterator(List<String> keyPrefixes, org.apache.avro.Schema schema) throws IOException
IOExceptiondefault ClosableIterator<R> getRecordsByKeyPrefixIterator(List<String> keyPrefixes) throws IOException
IOExceptionorg.apache.avro.Schema getSchema()
void close()
close in interface AutoCloseablelong getTotalRecords()
Copyright © 2022 The Apache Software Foundation. All rights reserved.