Package org.yamcs.yarch.streamsql.funct
Class SubstringExpression
- java.lang.Object
-
- org.yamcs.yarch.streamsql.Expression
-
- org.yamcs.yarch.streamsql.funct.SubstringExpression
-
public class SubstringExpression extends Expression
-
-
Field Summary
-
Fields inherited from class org.yamcs.yarch.streamsql.Expression
children, constantValue, hasAggregates, inputDef, type
-
-
Constructor Summary
Constructors Constructor Description SubstringExpression(Expression[] args, boolean star)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoBind()voidfillCode_getValueReturn(StringBuilder code)static byte[]substring(byte[] b, int offset)-
Methods inherited from class org.yamcs.yarch.streamsql.Expression
addFilter, bind, collectAggregates, compile, fillCode_AllInputDefVars, fillCode_Constructor, fillCode_Declarations, fillCode_getValueBody, getColumnName, getConstantValue, getType, isAggregate, isConstant, setColumnName
-
-
-
-
Constructor Detail
-
SubstringExpression
public SubstringExpression(Expression[] args, boolean star) throws ParseException
- Throws:
ParseException
-
-
Method Detail
-
doBind
protected 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
-
substring
public static byte[] substring(byte[] b, int offset)
-
-