public interface HoodieFileReader<R extends org.apache.avro.generic.IndexedRecord>
| 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 Iterator<R> |
getRecordIterator() |
Iterator<R> |
getRecordIterator(org.apache.avro.Schema readerSchema) |
org.apache.avro.Schema |
getSchema() |
long |
getTotalRecords() |
BloomFilter |
readBloomFilter() |
String[] |
readMinMaxRecordKeys() |
String[] readMinMaxRecordKeys()
BloomFilter readBloomFilter()
Iterator<R> getRecordIterator(org.apache.avro.Schema readerSchema) throws IOException
IOExceptiondefault Iterator<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
IOExceptionorg.apache.avro.Schema getSchema()
void close()
long getTotalRecords()
Copyright © 2021 The Apache Software Foundation. All rights reserved.