@PublicEvolving public class ConcatFileCompactor extends OutputStreamBasedFileCompactor
OutputStreamBasedFileCompactor
implementation that simply concat the compacting files.
The fileDelimiter will be added between neighbouring files if provided.Constructor and Description |
---|
ConcatFileCompactor() |
ConcatFileCompactor(byte[] fileDelimiter) |
Modifier and Type | Method and Description |
---|---|
protected void |
doCompact(List<Path> inputFiles,
OutputStream outputStream) |
compact
public ConcatFileCompactor()
public ConcatFileCompactor(@Nullable byte[] fileDelimiter)
protected void doCompact(List<Path> inputFiles, OutputStream outputStream) throws Exception
doCompact
in class OutputStreamBasedFileCompactor
Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.