@PublicEvolving public class RecordWiseFileCompactor<IN> extends Object implements FileCompactor
FileCompactor
implementation that reads input files with a RecordWiseFileCompactor.Reader
and writes
with a RecordWiseFileCompactor.Writer
.Modifier and Type | Class and Description |
---|---|
static interface |
RecordWiseFileCompactor.Reader<T>
The reader that reads record from the compacting files.
|
static interface |
RecordWiseFileCompactor.Writer<T>
The writer that writers record into the compacting files.
|
Constructor and Description |
---|
RecordWiseFileCompactor(RecordWiseFileCompactor.Reader.Factory<IN> readerFactory) |
Modifier and Type | Method and Description |
---|---|
void |
compact(List<Path> inputFiles,
RecordWiseFileCompactor.Writer<IN> writer) |
public RecordWiseFileCompactor(RecordWiseFileCompactor.Reader.Factory<IN> readerFactory)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.