Package org.yamcs.yarch.streamsql
Class RelationalExpression
- java.lang.Object
-
- org.yamcs.yarch.streamsql.Expression
-
- org.yamcs.yarch.streamsql.RelationalExpression
-
public class RelationalExpression extends Expression
Expressions of type "x > y"
-
-
Field Summary
-
Fields inherited from class org.yamcs.yarch.streamsql.Expression
children, constantValue, hasAggregates, inputDef, type
-
-
Constructor Summary
Constructors Constructor Description RelationalExpression(Expression left, Expression right, RelOp relOp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFilter(FilterableTarget tableStream)add a filter to the table if applicable.voiddoBind()voidfillCode_getValueReturn(StringBuilder code)RelOpgetRelation()StringtoString()-
Methods inherited from class org.yamcs.yarch.streamsql.Expression
bind, collectAggregates, collectRequiredInputs, compile, fillCode_Constructor, fillCode_Declarations, fillCode_getValueBody, fillCode_InputDefVars, getColumnName, getConstantValue, getType, isAggregate, isConstant, setColumnName
-
-
-
-
Constructor Detail
-
RelationalExpression
public RelationalExpression(Expression left, Expression right, RelOp relOp) throws ParseException
- Throws:
ParseException
-
-
Method Detail
-
getRelation
public RelOp getRelation()
-
addFilter
public void addFilter(FilterableTarget tableStream) throws StreamSqlException
Description copied from class:Expressionadd a filter to the table if applicable.- Overrides:
addFilterin classExpression- Throws:
StreamSqlException
-
doBind
public void doBind() throws StreamSqlException- Specified by:
doBindin classExpression- Throws:
StreamSqlException
-
fillCode_getValueReturn
public void fillCode_getValueReturn(StringBuilder code) throws StreamSqlException
- Specified by:
fillCode_getValueReturnin classExpression- Throws:
StreamSqlException
-
-