Class RewriteDataFilesConfig
java.lang.Object
org.apache.iceberg.flink.maintenance.api.RewriteDataFilesConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final org.apache.flink.configuration.ConfigOption
<Long> static final org.apache.flink.configuration.ConfigOption
<Boolean> static final org.apache.flink.configuration.ConfigOption
<Integer> static final String
static final String
static final org.apache.flink.configuration.ConfigOption
<Integer> static final String
static final org.apache.flink.configuration.ConfigOption
<Integer> static final String
static final org.apache.flink.configuration.ConfigOption
<Long> static final String
static final org.apache.flink.configuration.ConfigOption
<Long> -
Constructor Summary
ConstructorsConstructorDescriptionRewriteDataFilesConfig
(Table table, Map<String, String> writeOptions, org.apache.flink.configuration.ReadableConfig readableConfig) -
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the maximum rewrite bytes allowed for a single rewrite operation.boolean
Gets whether partial progress commits are enabled.int
Gets the maximum number of commits allowed for partial progress.int
Gets the number of commits that trigger a rewrite operation.int
Gets the number of data files that trigger a rewrite operation.long
Gets the total size of data files that trigger a rewrite operation.long
Gets the time interval (in seconds) between two consecutive rewrite operations.
-
Field Details
-
PREFIX
- See Also:
-
MAX_BYTES
- See Also:
-
MAX_BYTES_OPTION
-
PARTIAL_PROGRESS_MAX_COMMITS_OPTION
public static final org.apache.flink.configuration.ConfigOption<Integer> PARTIAL_PROGRESS_MAX_COMMITS_OPTION -
PARTIAL_PROGRESS_ENABLED_OPTION
public static final org.apache.flink.configuration.ConfigOption<Boolean> PARTIAL_PROGRESS_ENABLED_OPTION -
SCHEDULE_ON_COMMIT_COUNT
- See Also:
-
SCHEDULE_ON_COMMIT_COUNT_OPTION
public static final org.apache.flink.configuration.ConfigOption<Integer> SCHEDULE_ON_COMMIT_COUNT_OPTION -
SCHEDULE_ON_DATA_FILE_COUNT
- See Also:
-
SCHEDULE_ON_DATA_FILE_COUNT_OPTION
public static final org.apache.flink.configuration.ConfigOption<Integer> SCHEDULE_ON_DATA_FILE_COUNT_OPTION -
SCHEDULE_ON_DATA_FILE_SIZE
- See Also:
-
SCHEDULE_ON_DATA_FILE_SIZE_OPTION
public static final org.apache.flink.configuration.ConfigOption<Long> SCHEDULE_ON_DATA_FILE_SIZE_OPTION -
SCHEDULE_ON_INTERVAL_SECOND
- See Also:
-
SCHEDULE_ON_INTERVAL_SECOND_OPTION
public static final org.apache.flink.configuration.ConfigOption<Long> SCHEDULE_ON_INTERVAL_SECOND_OPTION
-
-
Constructor Details
-
RewriteDataFilesConfig
-
-
Method Details
-
scheduleOnCommitCount
public int scheduleOnCommitCount()Gets the number of commits that trigger a rewrite operation. -
scheduleOnDataFileCount
public int scheduleOnDataFileCount()Gets the number of data files that trigger a rewrite operation. -
scheduleOnDataFileSize
public long scheduleOnDataFileSize()Gets the total size of data files that trigger a rewrite operation. -
scheduleOnIntervalSecond
public long scheduleOnIntervalSecond()Gets the time interval (in seconds) between two consecutive rewrite operations. -
partialProgressEnable
public boolean partialProgressEnable()Gets whether partial progress commits are enabled. -
partialProgressMaxCommits
public int partialProgressMaxCommits()Gets the maximum number of commits allowed for partial progress. -
maxRewriteBytes
public long maxRewriteBytes()Gets the maximum rewrite bytes allowed for a single rewrite operation. -
properties
-