Class FileCompactStrategy

java.lang.Object
org.apache.flink.connector.file.sink.compactor.FileCompactStrategy
All Implemented Interfaces:
Serializable

@PublicEvolving public class FileCompactStrategy extends Object implements Serializable
Strategy for compacting the files written in FileSink before committing.
See Also:
  • Method Details

    • getSizeThreshold

      public long getSizeThreshold()
    • getNumCheckpointsBeforeCompaction

      public int getNumCheckpointsBeforeCompaction()
    • getNumCompactThreads

      public int getNumCompactThreads()