public class KiviBinaryExpression extends KiviNotNullableExpression
isConstant
Constructor and Description |
---|
KiviBinaryExpression(BinaryOperator binaryOperator,
KiviPredExpression exp1,
KiviPredExpression exp2) |
Modifier and Type | Method and Description |
---|---|
Object |
evaluateExpression(Tuple tuple) |
void |
generatePred(kv.NP pred,
TableModel model,
Reg dest) |
Type |
getType(TableModel tableModel)
Returns the result type of the expression, evaluated against a given TableModel
|
String |
toString()
This method should be used for debug purposes, and it should show the complete nesting
of the expressions
|
isConstant, isNullable
public KiviBinaryExpression(BinaryOperator binaryOperator, KiviPredExpression exp1, KiviPredExpression exp2)
public void generatePred(kv.NP pred, TableModel model, Reg dest)
public Type getType(TableModel tableModel)
Expression
tableModel
- TableModel to be evaluatedpublic String toString()
Expression
toString
in interface Expression
toString
in class Object
Copyright © 2020. All rights reserved.