T - target engine-specific representation of the raw data (IndexedRecord for Avro,
InternalRow for Spark, etc)public interface HoodieFileReader<T> extends AutoCloseable
HoodieRecords| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Set<Pair<String,Long>> |
filterRowKeys(Set<String> candidateRowKeys) |
default ClosableIterator<HoodieRecord<T>> |
getRecordIterator() |
default ClosableIterator<HoodieRecord<T>> |
getRecordIterator(org.apache.avro.Schema readerSchema) |
ClosableIterator<HoodieRecord<T>> |
getRecordIterator(org.apache.avro.Schema readerSchema,
org.apache.avro.Schema requestedSchema) |
ClosableIterator<String> |
getRecordKeyIterator() |
org.apache.avro.Schema |
getSchema() |
long |
getTotalRecords() |
BloomFilter |
readBloomFilter() |
String[] |
readMinMaxRecordKeys() |
String[] readMinMaxRecordKeys()
BloomFilter readBloomFilter()
ClosableIterator<HoodieRecord<T>> getRecordIterator(org.apache.avro.Schema readerSchema, org.apache.avro.Schema requestedSchema) throws IOException
IOExceptiondefault ClosableIterator<HoodieRecord<T>> getRecordIterator(org.apache.avro.Schema readerSchema) throws IOException
IOExceptiondefault ClosableIterator<HoodieRecord<T>> getRecordIterator() throws IOException
IOExceptionClosableIterator<String> getRecordKeyIterator() throws IOException
IOExceptionorg.apache.avro.Schema getSchema()
void close()
close in interface AutoCloseablelong getTotalRecords()
Copyright © 2024 The Apache Software Foundation. All rights reserved.