Package org.yamcs.yarch.streamsql
Class ColumnExpression
- java.lang.Object
-
- org.yamcs.yarch.streamsql.Expression
-
- org.yamcs.yarch.streamsql.ColumnExpression
-
public class ColumnExpression extends Expression
Represents a column in a query, for example x and y below: select x from table where y > 0
-
-
Field Summary
-
Fields inherited from class org.yamcs.yarch.streamsql.Expression
children, constantValue, hasAggregates, inputDef, type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collectRequiredInputs(Set<ColumnDefinition> inputs)
CompiledExpression
compile()
void
doBind()
void
fillCode_getValueReturn(StringBuilder code)
String
getName()
String
toString()
-
Methods inherited from class org.yamcs.yarch.streamsql.Expression
addFilter, bind, collectAggregates, fillCode_Constructor, fillCode_Declarations, fillCode_getValueBody, fillCode_InputDefVars, getColumnName, getConstantValue, getType, isAggregate, isConstant, setColumnName
-
-
-
-
Method Detail
-
getName
public String getName()
-
doBind
public void doBind() throws StreamSqlException
- Specified by:
doBind
in classExpression
- Throws:
StreamSqlException
-
fillCode_getValueReturn
public void fillCode_getValueReturn(StringBuilder code) throws StreamSqlException
- Specified by:
fillCode_getValueReturn
in classExpression
- Throws:
StreamSqlException
-
collectRequiredInputs
public void collectRequiredInputs(Set<ColumnDefinition> inputs)
- Overrides:
collectRequiredInputs
in classExpression
-
compile
public CompiledExpression compile() throws StreamSqlException
- Overrides:
compile
in classExpression
- Throws:
StreamSqlException
-
-