Class DecoderBasedReader.Factory<T>
java.lang.Object
org.apache.flink.connector.file.sink.compactor.DecoderBasedReader.Factory<T>
- All Implemented Interfaces:
Serializable,RecordWiseFileCompactor.Reader.Factory<T>
- Enclosing class:
- DecoderBasedReader<T>
public static class DecoderBasedReader.Factory<T>
extends Object
implements RecordWiseFileCompactor.Reader.Factory<T>
Factory for
DecoderBasedReader.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Factory
-
-
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.
-