Package org.apache.flink.connector.file.sink.compactor
package org.apache.flink.connector.file.sink.compactor
-
ClassDescriptionA
OutputStreamBasedFileCompactorimplementation that simply concat the compacting files.ARecordWiseFileCompactor.Readerimplementation that reads the file as anFSDataInputStreamand decodes the record with theDecoderBasedReader.Decoder.ADecoderBasedReader.Decoderto decode the file content into the actual records.Factory to createDecoderBasedReader.Decoder.Factory forDecoderBasedReader.TheFileCompactoris responsible for compacting files into one file.Strategy for compacting the files written inFileSinkbefore committing.Builder forFileCompactStrategy.A simpleOutputStreamBasedFileCompactorimplementation that directly copy the content of the only input file to the output.ARecordWiseFileCompactor.Readerimplementation that reads the file using theFileInputFormat.Factory forInputFormatBasedReader.Base class forFileCompactorimplementations that write the compacting file by a output stream.AFileCompactorimplementation that reads input files with aRecordWiseFileCompactor.Readerand writes with aRecordWiseFileCompactor.Writer.The reader that reads record from the compacting files.Factory forRecordWiseFileCompactor.Reader.The writer that writers record into the compacting files.A sinkDecoderBasedReader.Decoderthat reads data encoded by theSimpleStringEncoderonly for compaction.