public abstract class FlinkHints extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
HINT_NAME_JSON_AGGREGATE_WRAPPED
Internal hint that JSON aggregation function arguments have been wrapped already.
|
static String |
HINT_NAME_OPTIONS |
| 构造器和说明 |
|---|
FlinkHints() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Map<String,String> |
getHintedOptions(List<org.apache.calcite.rel.hint.RelHint> tableHints)
Returns the OPTIONS hint options from the given list of table hints
tableHints, never
null. |
static Map<String,String> |
mergeTableOptions(Map<String,String> hints,
Map<String,String> props)
Merges the dynamic table options from
hints and static table options from table
definition props. |
public static final String HINT_NAME_JSON_AGGREGATE_WRAPPED
WrapJsonAggFunctionArgumentsRule.public static Map<String,String> getHintedOptions(List<org.apache.calcite.rel.hint.RelHint> tableHints)
tableHints, never
null.public static Map<String,String> mergeTableOptions(Map<String,String> hints, Map<String,String> props)
hints and static table options from table
definition props.
The options in hints would override the ones in props if they have the
same option key.
hints - Dynamic table options, usually from the OPTIONS hintprops - Static table options defined in DDL or connect APIprops if there is
no dynamic table optionsCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.