Package io.siddhi.core.executor
Class ConstantExpressionExecutor
- java.lang.Object
-
- io.siddhi.core.executor.ConstantExpressionExecutor
-
- All Implemented Interfaces:
ExpressionExecutor,Serializable
public class ConstantExpressionExecutor extends Object implements ExpressionExecutor
Executor class for Constant Siddhi expressions. Function execution logic is implemented in execute method.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConstantExpressionExecutor(Object value, io.siddhi.query.api.definition.Attribute.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectexecute(ComplexEvent event)io.siddhi.query.api.definition.Attribute.TypegetReturnType()ObjectgetValue()
-
-
-
Constructor Detail
-
ConstantExpressionExecutor
public ConstantExpressionExecutor(Object value, io.siddhi.query.api.definition.Attribute.Type type)
-
-
Method Detail
-
execute
public Object execute(ComplexEvent event)
- Specified by:
executein interfaceExpressionExecutor
-
getReturnType
public io.siddhi.query.api.definition.Attribute.Type getReturnType()
- Specified by:
getReturnTypein interfaceExpressionExecutor
-
getValue
public Object getValue()
-
-