Package org.yamcs.yarch
Class ConstantValueCompiledExpression
- java.lang.Object
-
- org.yamcs.yarch.ConstantValueCompiledExpression
-
- All Implemented Interfaces:
CompiledExpression
public class ConstantValueCompiledExpression extends Object implements CompiledExpression
this is no compiled expression at all, it just returns the same value
-
-
Constructor Summary
Constructors Constructor Description ConstantValueCompiledExpression(Object value2, ColumnDefinition cdef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnDefinitiongetDefinition()ObjectgetValue(Tuple tuple)
-
-
-
Constructor Detail
-
ConstantValueCompiledExpression
public ConstantValueCompiledExpression(Object value2, ColumnDefinition cdef)
-
-
Method Detail
-
getValue
public Object getValue(Tuple tuple)
- Specified by:
getValuein interfaceCompiledExpression
-
getDefinition
public ColumnDefinition getDefinition()
- Specified by:
getDefinitionin interfaceCompiledExpression
-
-