Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
antlr.CommonAST
org.hibernate.hql.ast.tree.Node
org.hibernate.hql.ast.tree.SqlNode
org.hibernate.hql.ast.tree.HqlSqlWalkerNode
org.hibernate.hql.ast.tree.BinaryLogicOperatorNode
Method Summary | |
protected Type |
|
Type |
|
Node |
|
Node |
|
void |
|
protected void |
|
Methods inherited from class org.hibernate.hql.ast.tree.HqlSqlWalkerNode | |
getASTFactory , getAliasGenerator , getSessionFactoryHelper , getWalker , initialize |
Methods inherited from class org.hibernate.hql.ast.tree.SqlNode | |
getDataType , getOriginalText , setDataType , setText |
Methods inherited from class org.hibernate.hql.ast.tree.Node | |
getColumn , getFilename , getLine , getRenderText , getTextLength , initialize , initialize |
public Type getDataType()
Retrieves the data type for the overall operator expression.
- Specified by:
- getDataType in interface OperatorNode
- Overrides:
- getDataType in interface SqlNode
- Returns:
- The expression's data type.
public Node getLeftHandOperand()
Retrieves the left-hand operand of the operator.
- Specified by:
- getLeftHandOperand in interface BinaryOperatorNode
- Returns:
- The left-hand operand
public Node getRightHandOperand()
Retrieves the right-hand operand of the operator.
- Specified by:
- getRightHandOperand in interface BinaryOperatorNode
- Returns:
- The right-hand operand
public void initialize() throws SemanticException
Performs the operator node initialization by seeking out any parameter nodes and setting their expected type, if possible.
- Specified by:
- initialize in interface OperatorNode