Class DataFlowOperator
java.lang.Object
com.espertech.esper.common.client.soda.DataFlowOperator
- All Implemented Interfaces:
Serializable
Object model of a data flow operator declaration.
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.DataFlowOperator
(List<AnnotationPart> annotations, String operatorName, List<DataFlowOperatorInput> input, List<DataFlowOperatorOutput> output, List<DataFlowOperatorParameter> parameters) Ctor -
Method Summary
Modifier and TypeMethodDescriptionReturns the annotations.getInput()
Returns the input stream definitions, if any.Returns the operator name.Returns the output stream definitions, if any.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.
-
Constructor Details
-
DataFlowOperator
public DataFlowOperator(List<AnnotationPart> annotations, String operatorName, List<DataFlowOperatorInput> input, List<DataFlowOperatorOutput> output, List<DataFlowOperatorParameter> parameters) Ctor- Parameters:
annotations
- annotationsoperatorName
- operator nameinput
- input stream definitionsoutput
- output stream definitionsparameters
- parameters
-
DataFlowOperator
public DataFlowOperator()Ctor.
-
-
Method Details
-
getAnnotations
Returns the annotations.- Returns:
- annotations
-
setAnnotations
Sets the annotations.- Parameters:
annotations
- to set
-
getOperatorName
Returns the operator name.- Returns:
- operator name
-
setOperatorName
Sets the operator name.- Parameters:
operatorName
- operator name
-
getInput
Returns the input stream definitions, if any.- Returns:
- input streams
-
setInput
Sets the input stream definitions, if any.- Parameters:
input
- input streams
-
getOutput
Returns the output stream definitions, if any.- Returns:
- output streams
-
setOutput
Sets the output stream definitions, if any.- Parameters:
output
- streams
-
getParameters
Returns operator parameters.Object values may be expressions, constants, JSON values or EPL statements.
- Returns:
- map of parameters
-
setParameters
Sets operator parameters.Object values may be expressions, constants, JSON values or EPL statements.
- Parameters:
parameters
- map of parameters
-
toEPL
Render to string.- Parameters:
writer
- to renderformatter
- for formatting
-