Package org.yamcs.yarch.streamsql
Class InExpression
- java.lang.Object
-
- org.yamcs.yarch.streamsql.Expression
-
- org.yamcs.yarch.streamsql.InExpression
-
public class InExpression extends Expression
-
-
Field Summary
-
Fields inherited from class org.yamcs.yarch.streamsql.Expression
children, constantValue, hasAggregates, inputDef, type
-
-
Constructor Summary
Constructors Constructor Description InExpression(Expression expr, InClause inClause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressionaddFilter(DbReaderStream tableStream)add a filter to the table if applicable and returns an expression where the condition is removed.protected voiddoBind()protected voidfillCode_Constructor(StringBuilder code)protected voidfillCode_Declarations(StringBuilder code)protected voidfillCode_getValueBody(StringBuilder code)voidfillCode_getValueReturn(StringBuilder code)StringtoString()-
Methods inherited from class org.yamcs.yarch.streamsql.Expression
bind, collectAggregates, compile, fillCode_AllInputDefVars, getColumnName, getConstantValue, getType, isAggregate, isConstant, setColumnName
-
-
-
-
Constructor Detail
-
InExpression
public InExpression(Expression expr, InClause inClause) throws ParseException
- Throws:
ParseException
-
-
Method Detail
-
addFilter
public Expression addFilter(DbReaderStream tableStream) throws StreamSqlException
Description copied from class:Expressionadd a filter to the table if applicable and returns an expression where the condition is removed.- Overrides:
addFilterin classExpression- Returns:
- Throws:
StreamSqlException
-
doBind
protected void doBind() throws StreamSqlException- Specified by:
doBindin classExpression- Throws:
StreamSqlException
-
fillCode_Declarations
protected void fillCode_Declarations(StringBuilder code)
- Overrides:
fillCode_Declarationsin classExpression
-
fillCode_Constructor
protected void fillCode_Constructor(StringBuilder code) throws StreamSqlException
- Overrides:
fillCode_Constructorin classExpression- Throws:
StreamSqlException
-
fillCode_getValueBody
protected void fillCode_getValueBody(StringBuilder code) throws StreamSqlException
- Overrides:
fillCode_getValueBodyin classExpression- Throws:
StreamSqlException
-
fillCode_getValueReturn
public void fillCode_getValueReturn(StringBuilder code) throws StreamSqlException
- Specified by:
fillCode_getValueReturnin classExpression- Throws:
StreamSqlException
-
-