public class PythonOperator extends StreamOperator
StreamOperator that wraps python PythonFunction.| Modifier and Type | Class and Description |
|---|---|
static class |
PythonOperator.ChainedPythonOperator |
collectorList, function, name, richFunction, runtimeContext| Constructor and Description |
|---|
PythonOperator(PythonFunction function) |
PythonOperator(String moduleName,
String className) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
finish() |
String |
getClassName() |
Language |
getLanguage() |
String |
getModuleName() |
String |
getName() |
OperatorType |
getOpType() |
void |
open(List list,
RuntimeContext runtimeContext) |
String |
toString() |
collect, collect, getChainStrategy, getFunction, loadCheckpoint, saveCheckpoint, setChainStrategy, setFunctionpublic PythonOperator(PythonFunction function)
public Language getLanguage()
getLanguage in interface OperatorgetLanguage in class StreamOperatorpublic String getModuleName()
public String getClassName()
public void open(List list, RuntimeContext runtimeContext)
open in interface Operatoropen in class StreamOperatorpublic void finish()
finish in interface Operatorfinish in class StreamOperatorpublic void close()
close in interface Operatorclose in class StreamOperatorpublic OperatorType getOpType()
public String getName()
getName in interface OperatorgetName in class StreamOperatorCopyright © 2021. All rights reserved.