public class TableConfigUtils extends Object
TableConfig related helper functions.| Modifier and Type | Method and Description |
|---|---|
static AggregatePhaseStrategy |
getAggPhaseStrategy(org.apache.flink.table.api.TableConfig tableConfig)
Returns the aggregate phase strategy configuration.
|
static org.apache.flink.table.planner.calcite.CalciteConfig |
getCalciteConfig(org.apache.flink.table.api.TableConfig tableConfig)
Returns
CalciteConfig wraps in the given TableConfig. |
static java.time.ZoneId |
getLocalTimeZone(org.apache.flink.configuration.ReadableConfig tableConfig)
Similar to
TableConfig.getLocalTimeZone() but extracting it from a generic ReadableConfig. |
static long |
getMaxIdleStateRetentionTime(org.apache.flink.configuration.ReadableConfig tableConfig)
Deprecated.
|
static boolean |
isOperatorDisabled(org.apache.flink.table.api.TableConfig tableConfig,
OperatorType operatorType)
Returns whether the given operator type is disabled.
|
public static boolean isOperatorDisabled(org.apache.flink.table.api.TableConfig tableConfig,
OperatorType operatorType)
tableConfig - TableConfig objectoperatorType - operator type to checkpublic static AggregatePhaseStrategy getAggPhaseStrategy(org.apache.flink.table.api.TableConfig tableConfig)
tableConfig - TableConfig objectpublic static org.apache.flink.table.planner.calcite.CalciteConfig getCalciteConfig(org.apache.flink.table.api.TableConfig tableConfig)
CalciteConfig wraps in the given TableConfig.tableConfig - TableConfig objectpublic static java.time.ZoneId getLocalTimeZone(org.apache.flink.configuration.ReadableConfig tableConfig)
TableConfig.getLocalTimeZone() but extracting it from a generic ReadableConfig.TableConfig.getLocalTimeZone()@Deprecated public static long getMaxIdleStateRetentionTime(org.apache.flink.configuration.ReadableConfig tableConfig)
TableConfig.getMaxIdleStateRetentionTime().TableConfig.getMaxIdleStateRetentionTime()Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.