public class UnawareBucketCompactionTopoBuilder extends Object
Note: This compaction job class is only used for unaware-bucket compaction, at start-up, it scans all the files from the latest snapshot, filter large file, and add small files into memory, generates compaction task for them. At continuous, it scans the delta files from the follow-up snapshot. We need to enable checkpoint for this compaction job, checkpoint will trigger committer stage to commit all the compacted files.
Constructor and Description |
---|
UnawareBucketCompactionTopoBuilder(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env,
String tableIdentifier,
FileStoreTable table) |
Modifier and Type | Method and Description |
---|---|
void |
build() |
void |
withContinuousMode(boolean isContinuous) |
void |
withPartitionIdleTime(java.time.Duration partitionIdleTime) |
void |
withPartitionPredicate(Predicate predicate) |
public UnawareBucketCompactionTopoBuilder(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env, String tableIdentifier, FileStoreTable table)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.