org.makumba.providers.query.oql
Class AnalysisTree
java.lang.Object
org.makumba.providers.query.oql.AnalysisTree
- Direct Known Subclasses:
- AdditiveTree, ComparisonTree, InTree
public class AnalysisTree
- extends Object
OR
public static final int OR
- See Also:
- Constant Field Values
AND
public static final int AND
- See Also:
- Constant Field Values
SIM_COMP
public static final int SIM_COMP
- See Also:
- Constant Field Values
ASIM_COMP
public static final int ASIM_COMP
- See Also:
- Constant Field Values
LIKE
public static final int LIKE
- See Also:
- Constant Field Values
ADD
public static final int ADD
- See Also:
- Constant Field Values
MUL
public static final int MUL
- See Also:
- Constant Field Values
CONCAT
public static final int CONCAT
- See Also:
- Constant Field Values
UNION
public static final int UNION
- See Also:
- Constant Field Values
EXCEPT
public static final int EXCEPT
- See Also:
- Constant Field Values
INTERSECT
public static final int INTERSECT
- See Also:
- Constant Field Values
IN
public static final int IN
- See Also:
- Constant Field Values
leaf
OQLAST leaf
makumbaType
Object makumbaType
op
int op
left
AnalysisTree left
right
AnalysisTree right
AnalysisTree
public AnalysisTree(OQLAST leaf)
AnalysisTree
public AnalysisTree(Object left,
int op,
Object right)
getTree
AnalysisTree getTree(Object o)
toString
public String toString()
- Overrides:
toString in class Object
getMakumbaType
public Object getMakumbaType()
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
computeType
public void computeType()
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
adjustType
void adjustType(AnalysisTree t1,
AnalysisTree t2)
computeTypeFromOperands
public Object computeTypeFromOperands()
guessParameterType
public Object guessParameterType(Object otherOperandType)
guessParameterType
public Object guessParameterType()
checkOperandTypes
public void checkOperandTypes()
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
checkOperandTypes
public void checkOperandTypes(Object t1,
Object t2)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException
negociateOperandTypes
public void negociateOperandTypes(Object t1,
Object t2)
throws antlr.RecognitionException
- Throws:
antlr.RecognitionException