public static class BucketedAppendCompactManager.AutoCompactTask extends CompactTask
CompactTask
impl for append-only table auto-compaction.
This task accepts an already-picked candidate to perform one-time rewrite. And for the
rest of input files, it is the duty of AppendOnlyWriter
to invoke the next time
compaction.
Constructor and Description |
---|
AutoCompactTask(DeletionVectorsMaintainer dvMaintainer,
List<DataFileMeta> toCompact,
BucketedAppendCompactManager.CompactRewriter rewriter,
CompactionMetrics.Reporter metricsReporter) |
Modifier and Type | Method and Description |
---|---|
protected CompactResult |
doCompact()
Perform compaction.
|
call, logMetric
public AutoCompactTask(DeletionVectorsMaintainer dvMaintainer, List<DataFileMeta> toCompact, BucketedAppendCompactManager.CompactRewriter rewriter, @Nullable CompactionMetrics.Reporter metricsReporter)
protected CompactResult doCompact() throws Exception
CompactTask
doCompact
in class CompactTask
CompactResult
of compact before and compact after files.Exception
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.