org.makumba.providers.query.oql
Class AdditiveTree
java.lang.Object
org.makumba.providers.query.oql.AnalysisTree
org.makumba.providers.query.oql.AdditiveTree
public class AdditiveTree
- extends AnalysisTree
additive operations take their type from any of the operands, and have operands of the same type
| Fields inherited from class org.makumba.providers.query.oql.AnalysisTree |
ADD, AND, ASIM_COMP, CONCAT, EXCEPT, IN, INTERSECT, leaf, left, LIKE, makumbaType, MUL, op, OR, right, SIM_COMP, UNION |
AdditiveTree
public AdditiveTree(Object left,
int op,
Object right)
computeTypeFromOperands
public Object computeTypeFromOperands()
- Overrides:
computeTypeFromOperands in class AnalysisTree
guessParameterType
public Object guessParameterType(Object otherOperandType)
- Overrides:
guessParameterType in class AnalysisTree
negociateOperandTypes
public void negociateOperandTypes(Object t1,
Object t2)
throws antlr.RecognitionException
- Overrides:
negociateOperandTypes in class AnalysisTree
- Throws:
antlr.RecognitionException