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, logMetricpublic AutoCompactTask(DeletionVectorsMaintainer dvMaintainer, List<DataFileMeta> toCompact, BucketedAppendCompactManager.CompactRewriter rewriter, @Nullable CompactionMetrics.Reporter metricsReporter)
protected CompactResult doCompact() throws Exception
CompactTaskdoCompact in class CompactTaskCompactResult of compact before and compact after files.ExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.