Class InputFormatBasedReader.Factory<T>
java.lang.Object
org.apache.flink.connector.file.sink.compactor.InputFormatBasedReader.Factory<T>
- All Implemented Interfaces:
Serializable,RecordWiseFileCompactor.Reader.Factory<T>
- Enclosing class:
- InputFormatBasedReader<T>
public static class InputFormatBasedReader.Factory<T>
extends Object
implements RecordWiseFileCompactor.Reader.Factory<T>
Factory for
InputFormatBasedReader.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFactory(org.apache.flink.util.function.SerializableSupplierWithException<org.apache.flink.api.common.io.FileInputFormat<T>, IOException> inputFormatFactory) -
Method Summary
-
Constructor Details
-
Factory
public Factory(org.apache.flink.util.function.SerializableSupplierWithException<org.apache.flink.api.common.io.FileInputFormat<T>, IOException> inputFormatFactory)
-
-
Method Details
-
createFor
- Specified by:
createForin interfaceRecordWiseFileCompactor.Reader.Factory<T>- Returns:
- A reader that reads elements from the given file.
- Throws:
IOException- Thrown if an I/O error occurs when opening the file.
-