@PublicEvolving public class InputFormatBasedReader<T> extends Object implements RecordWiseFileCompactor.Reader<T>
RecordWiseFileCompactor.Reader implementation that reads the file using the FileInputFormat.| 限定符和类型 | 类和说明 |
|---|---|
static class |
InputFormatBasedReader.Factory<T>
Factory for
InputFormatBasedReader. |
| 构造器和说明 |
|---|
InputFormatBasedReader(org.apache.flink.core.fs.Path path,
org.apache.flink.api.common.io.FileInputFormat<T> inputFormat) |
public InputFormatBasedReader(org.apache.flink.core.fs.Path path,
org.apache.flink.api.common.io.FileInputFormat<T> inputFormat)
throws IOException
IOExceptionpublic T read() throws IOException
read 在接口中 RecordWiseFileCompactor.Reader<T>IOExceptionpublic void close()
throws IOException
close 在接口中 AutoCloseableIOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.