public class ChangelogCompactTask extends Object implements Serializable
ChangelogCompactTask to compact several changelog files from the same partition into one
file, in order to reduce the number of small files.| Constructor and Description |
|---|
ChangelogCompactTask(long checkpointId,
BinaryRow partition,
int totalBuckets,
Map<Integer,List<DataFileMeta>> newFileChangelogFiles,
Map<Integer,List<DataFileMeta>> compactChangelogFiles) |
| Modifier and Type | Method and Description |
|---|---|
long |
checkpointId() |
Map<Integer,List<DataFileMeta>> |
compactChangelogFiles() |
List<Committable> |
doCompact(FileStoreTable table,
ExecutorService executor,
MemorySize bufferSize) |
boolean |
equals(Object o) |
int |
hashCode() |
Map<Integer,List<DataFileMeta>> |
newFileChangelogFiles() |
BinaryRow |
partition() |
String |
toString() |
int |
totalBuckets() |
public ChangelogCompactTask(long checkpointId,
BinaryRow partition,
int totalBuckets,
Map<Integer,List<DataFileMeta>> newFileChangelogFiles,
Map<Integer,List<DataFileMeta>> compactChangelogFiles)
public long checkpointId()
public BinaryRow partition()
public int totalBuckets()
public Map<Integer,List<DataFileMeta>> newFileChangelogFiles()
public Map<Integer,List<DataFileMeta>> compactChangelogFiles()
public List<Committable> doCompact(FileStoreTable table, ExecutorService executor, MemorySize bufferSize) throws Exception
ExceptionCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.