Class IdenticalFileCompactor
- java.lang.Object
-
- org.apache.flink.connector.file.sink.compactor.OutputStreamBasedFileCompactor
-
- org.apache.flink.connector.file.sink.compactor.ConcatFileCompactor
-
- org.apache.flink.connector.file.sink.compactor.IdenticalFileCompactor
-
- All Implemented Interfaces:
Serializable
,FileCompactor
@Internal public class IdenticalFileCompactor extends ConcatFileCompactor
A simpleOutputStreamBasedFileCompactor
implementation that directly copy the content of the only input file to the output.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IdenticalFileCompactor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
compact(List<Path> inputFiles, OutputStream outputStream)
-
Methods inherited from class org.apache.flink.connector.file.sink.compactor.ConcatFileCompactor
doCompact
-
-
-
-
Method Detail
-
compact
public void compact(List<Path> inputFiles, OutputStream outputStream) throws Exception
- Overrides:
compact
in classOutputStreamBasedFileCompactor
- Throws:
Exception
-
-