Package | Description |
---|---|
org.apache.flink.connector.file.sink.compactor |
Modifier and Type | Method and Description |
---|---|
FileCompactStrategy.Builder |
FileCompactStrategy.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.Builder |
FileCompactStrategy.Builder.newBuilder() |
FileCompactStrategy.Builder |
FileCompactStrategy.Builder.setNumCompactThreads(int numCompactThreads)
Optional, the count of compacting threads in a compactor operator, 1 by default.
|
FileCompactStrategy.Builder |
FileCompactStrategy.Builder.setSizeThreshold(long sizeThreshold)
Optional, compaction will be triggered when the total size of compacting files reaches
the threshold.
|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.