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 StringcapitalizeFirstLetter(String original) voidcollectRequiredInputs(Set<ColumnDefinition> inputs) compile()voiddoBind()voidgetName()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:
doBindin classExpression- Throws:
StreamSqlException
-
fillCode_getValueReturn
- Specified by:
fillCode_getValueReturnin classExpression- Throws:
StreamSqlException
-
collectRequiredInputs
- Overrides:
collectRequiredInputsin classExpression
-
compile
- Overrides:
compilein classExpression- Throws:
StreamSqlException
-
toString
-
capitalizeFirstLetter
-