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