public enum PythonOperatorUtils extends Enum<PythonOperatorUtils>
Modifier and Type | Class and Description |
---|---|
static class |
PythonOperatorUtils.CoFlatMapFunctionOutputFlag
The Flag for PythonCoFlatMapFunction output data.
|
static class |
PythonOperatorUtils.CoMapFunctionOutputFlag
The Flag for PythonCoMapFunction output data.
|
static class |
PythonOperatorUtils.KeyedProcessFunctionInputFlag
The Flag for PythonKeyedProcessFunction input data.
|
static class |
PythonOperatorUtils.KeyedProcessFunctionOutputFlag
The Flag for PythonKeyedProcessFunction output data.
|
public static PythonOperatorUtils[] values()
for (PythonOperatorUtils c : PythonOperatorUtils.values()) System.out.println(c);
public static PythonOperatorUtils valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static FlinkFnApi.UserDefinedFunction getUserDefinedFunctionProto(PythonFunctionInfo pythonFunctionInfo)
public static FlinkFnApi.UserDefinedAggregateFunction getUserDefinedAggregateFunctionProto(PythonAggregateFunctionInfo pythonFunctionInfo, DataViewUtils.DataViewSpec[] dataViewSpecs)
public static FlinkFnApi.UserDefinedDataStreamFunction getUserDefinedDataStreamFunctionProto(DataStreamPythonFunctionInfo dataStreamPythonFunctionInfo, RuntimeContext runtimeContext, Map<String,String> internalParameters)
public static FlinkFnApi.UserDefinedDataStreamFunction getUserDefinedDataStreamStatefulFunctionProto(DataStreamPythonFunctionInfo dataStreamPythonFunctionInfo, RuntimeContext runtimeContext, Map<String,String> internalParameters, TypeInformation keyTypeInfo)
public static boolean endOfLastFlatMap(int length, byte[] rawData)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.