@Internal public class CompactBulkReader<T> extends Object implements CompactReader<T>
CompactReader to delegate CompactBulkReader.| Constructor and Description |
|---|
CompactBulkReader(BulkFormat.Reader<T> reader) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static <T> CompactReader.Factory<T> |
factory(BulkFormat<T,FileSourceSplit> format) |
T |
read()
Read a record, return null if no more record.
|
public CompactBulkReader(BulkFormat.Reader<T> reader) throws IOException
IOExceptionpublic T read() throws IOException
CompactReaderread in interface CompactReader<T>IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic static <T> CompactReader.Factory<T> factory(BulkFormat<T,FileSourceSplit> format)
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.