public static class InputFormatBasedReader.Factory<T> extends Object implements RecordWiseFileCompactor.Reader.Factory<T>
InputFormatBasedReader.| Constructor and Description |
|---|
Factory(org.apache.flink.util.function.SerializableSupplierWithException<org.apache.flink.api.common.io.FileInputFormat<T>,IOException> inputFormatFactory) |
| Modifier and Type | Method and Description |
|---|---|
InputFormatBasedReader<T> |
createFor(org.apache.flink.core.fs.Path path) |
public Factory(org.apache.flink.util.function.SerializableSupplierWithException<org.apache.flink.api.common.io.FileInputFormat<T>,IOException> inputFormatFactory)
public InputFormatBasedReader<T> createFor(org.apache.flink.core.fs.Path path) throws IOException
createFor in interface RecordWiseFileCompactor.Reader.Factory<T>IOException - Thrown if an I/O error occurs when opening the file.Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.