Uses of Class
org.apache.flink.connector.file.sink.compactor.FileCompactStrategy.Builder
Packages that use FileCompactStrategy.Builder
-
Uses of FileCompactStrategy.Builder in org.apache.flink.connector.file.sink.compactor
Methods in org.apache.flink.connector.file.sink.compactor that return FileCompactStrategy.BuilderModifier and TypeMethodDescriptionFileCompactStrategy.Builder.enableCompactionOnCheckpoint(int numCheckpointsBeforeCompaction) Optional, compaction will be triggered when N checkpoints passed since the last triggering, -1 by default indicating no compaction on checkpoint.static FileCompactStrategy.BuilderFileCompactStrategy.Builder.newBuilder()FileCompactStrategy.Builder.setNumCompactThreads(int numCompactThreads) Optional, the count of compacting threads in a compactor operator, 1 by default.FileCompactStrategy.Builder.setSizeThreshold(long sizeThreshold) Optional, compaction will be triggered when the total size of compacting files reaches the threshold. -1 by default, indicating the size is unlimited.