@PublicEvolving public abstract class OutputStreamBasedFileCompactor extends Object implements FileCompactor
FileCompactor
implementations that write the compacting file by a output
stream.Constructor and Description |
---|
OutputStreamBasedFileCompactor() |
Modifier and Type | Method and Description |
---|---|
void |
compact(List<Path> inputFiles,
OutputStream outputStream) |
protected abstract void |
doCompact(List<Path> inputFiles,
OutputStream outputStream) |
public void compact(List<Path> inputFiles, OutputStream outputStream) throws Exception
Exception
protected abstract void doCompact(List<Path> inputFiles, OutputStream outputStream) throws Exception
Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.