@Internal public class FileInputFormatCompactReader<T> extends Object implements CompactReader<T>
CompactReader to delegate FileInputFormat.| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static <T> CompactReader.Factory<T> |
factory(org.apache.flink.api.common.io.FileInputFormat<T> format) |
T |
read()
Read a record, return null if no more record.
|
public 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(org.apache.flink.api.common.io.FileInputFormat<T> format)
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.