Class ConcatFileCompactor
- java.lang.Object
-
- org.apache.flink.connector.file.sink.compactor.OutputStreamBasedFileCompactor
-
- org.apache.flink.connector.file.sink.compactor.ConcatFileCompactor
-
- All Implemented Interfaces:
Serializable,FileCompactor
- Direct Known Subclasses:
IdenticalFileCompactor
@PublicEvolving public class ConcatFileCompactor extends OutputStreamBasedFileCompactor
AOutputStreamBasedFileCompactorimplementation that simply concat the compacting files. The fileDelimiter will be added between neighbouring files if provided.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConcatFileCompactor()ConcatFileCompactor(byte[] fileDelimiter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoCompact(List<org.apache.flink.core.fs.Path> inputFiles, OutputStream outputStream)-
Methods inherited from class org.apache.flink.connector.file.sink.compactor.OutputStreamBasedFileCompactor
compact
-
-
-
-
Method Detail
-
doCompact
protected void doCompact(List<org.apache.flink.core.fs.Path> inputFiles, OutputStream outputStream) throws Exception
- Specified by:
doCompactin classOutputStreamBasedFileCompactor- Throws:
Exception
-
-