Class RecordWiseFileCompactor<IN>
- java.lang.Object
-
- org.apache.flink.connector.file.sink.compactor.RecordWiseFileCompactor<IN>
-
- All Implemented Interfaces:
Serializable
,FileCompactor
@PublicEvolving public class RecordWiseFileCompactor<IN> extends Object implements FileCompactor
AFileCompactor
implementation that reads input files with aRecordWiseFileCompactor.Reader
and writes with aRecordWiseFileCompactor.Writer
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RecordWiseFileCompactor.Reader<T>
The reader that reads record from the compacting files.static interface
RecordWiseFileCompactor.Writer<T>
The writer that writers record into the compacting files.
-
Constructor Summary
Constructors Constructor Description RecordWiseFileCompactor(RecordWiseFileCompactor.Reader.Factory<IN> readerFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
compact(List<Path> inputFiles, RecordWiseFileCompactor.Writer<IN> writer)
-
-
-
Constructor Detail
-
RecordWiseFileCompactor
public RecordWiseFileCompactor(RecordWiseFileCompactor.Reader.Factory<IN> readerFactory)
-
-