public class DataFlowOperator extends Object implements Serializable
Constructor and Description |
---|
DataFlowOperator()
Ctor.
|
DataFlowOperator(List<AnnotationPart> annotations,
String operatorName,
List<DataFlowOperatorInput> input,
List<DataFlowOperatorOutput> output,
List<DataFlowOperatorParameter> parameters)
Ctor
|
Modifier and Type | Method and Description |
---|---|
List<AnnotationPart> |
getAnnotations()
Returns the annotations.
|
List<DataFlowOperatorInput> |
getInput()
Returns the input stream definitions, if any.
|
String |
getOperatorName()
Returns the operator name.
|
List<DataFlowOperatorOutput> |
getOutput()
Returns the output stream definitions, if any.
|
List<DataFlowOperatorParameter> |
getParameters()
Returns operator parameters.
|
void |
setAnnotations(List<AnnotationPart> annotations)
Sets the annotations.
|
void |
setInput(List<DataFlowOperatorInput> input)
Sets the input stream definitions, if any.
|
void |
setOperatorName(String operatorName)
Sets the operator name.
|
void |
setOutput(List<DataFlowOperatorOutput> output)
Sets the output stream definitions, if any.
|
void |
setParameters(List<DataFlowOperatorParameter> parameters)
Sets operator parameters.
|
void |
toEPL(StringWriter writer,
EPStatementFormatter formatter)
Render to string.
|
public DataFlowOperator(List<AnnotationPart> annotations, String operatorName, List<DataFlowOperatorInput> input, List<DataFlowOperatorOutput> output, List<DataFlowOperatorParameter> parameters)
annotations
- annotationsoperatorName
- operator nameinput
- input stream definitionsoutput
- output stream definitionsparameters
- parameterspublic DataFlowOperator()
public List<AnnotationPart> getAnnotations()
public void setAnnotations(List<AnnotationPart> annotations)
annotations
- to setpublic String getOperatorName()
public void setOperatorName(String operatorName)
operatorName
- operator namepublic List<DataFlowOperatorInput> getInput()
public void setInput(List<DataFlowOperatorInput> input)
input
- input streamspublic List<DataFlowOperatorOutput> getOutput()
public void setOutput(List<DataFlowOperatorOutput> output)
output
- streamspublic List<DataFlowOperatorParameter> getParameters()
Object values may be expressions, constants, JSON values or EPL statements.
public void setParameters(List<DataFlowOperatorParameter> parameters)
Object values may be expressions, constants, JSON values or EPL statements.
parameters
- map of parameterspublic void toEPL(StringWriter writer, EPStatementFormatter formatter)
writer
- to renderformatter
- for formatting