Package org.yamcs.yarch.streamsql
Class ColumnExpression
java.lang.Object
org.yamcs.yarch.streamsql.Expression
org.yamcs.yarch.streamsql.ColumnExpression
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
Modifier and TypeMethodDescriptionstatic String
capitalizeFirstLetter
(String original) void
collectRequiredInputs
(Set<ColumnDefinition> inputs) compile()
void
doBind()
void
getName()
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, setArgs, setColumnName
-
Method Details
-
getName
-
doBind
- Specified by:
doBind
in classExpression
- Throws:
StreamSqlException
-
fillCode_getValueReturn
- Specified by:
fillCode_getValueReturn
in classExpression
- Throws:
StreamSqlException
-
collectRequiredInputs
- Overrides:
collectRequiredInputs
in classExpression
-
compile
- Overrides:
compile
in classExpression
- Throws:
StreamSqlException
-
toString
-
capitalizeFirstLetter
-