public class CommonPythonUtil extends Object
Modifier and Type | Method and Description |
---|---|
static PythonFunctionInfo |
createPythonFunctionInfo(org.apache.calcite.rex.RexCall pythonRexCall,
Map<org.apache.calcite.rex.RexNode,Integer> inputNodes) |
static DataViewUtils.DataViewSpec[] |
extractDataViewSpecs(int index,
DataType accType) |
static Tuple2<PythonAggregateFunctionInfo[],DataViewUtils.DataViewSpec[][]> |
extractPythonAggregateFunctionInfos(org.apache.flink.table.planner.plan.utils.AggregateInfoList pythonAggregateInfoList,
org.apache.calcite.rel.core.AggregateCall[] aggCalls) |
static Tuple2<int[],PythonFunctionInfo[]> |
extractPythonAggregateFunctionInfosFromAggregateCall(org.apache.calcite.rel.core.AggregateCall[] aggCalls) |
static Configuration |
getMergedConfig(StreamExecutionEnvironment env,
TableConfig tableConfig) |
static boolean |
isPythonWorkerUsingManagedMemory(Configuration config) |
static Class |
loadClass(String className) |
public static Configuration getMergedConfig(StreamExecutionEnvironment env, TableConfig tableConfig)
public static PythonFunctionInfo createPythonFunctionInfo(org.apache.calcite.rex.RexCall pythonRexCall, Map<org.apache.calcite.rex.RexNode,Integer> inputNodes)
public static boolean isPythonWorkerUsingManagedMemory(Configuration config)
public static Tuple2<PythonAggregateFunctionInfo[],DataViewUtils.DataViewSpec[][]> extractPythonAggregateFunctionInfos(org.apache.flink.table.planner.plan.utils.AggregateInfoList pythonAggregateInfoList, org.apache.calcite.rel.core.AggregateCall[] aggCalls)
public static Tuple2<int[],PythonFunctionInfo[]> extractPythonAggregateFunctionInfosFromAggregateCall(org.apache.calcite.rel.core.AggregateCall[] aggCalls)
public static DataViewUtils.DataViewSpec[] extractDataViewSpecs(int index, DataType accType)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.