org.hibernate.hql.ast.tree

Interface OperatorNode

Known Subinterfaces:
BinaryOperatorNode, UnaryOperatorNode
Known Implementing Classes:
AbstractNullnessCheckNode, BetweenOperatorNode, BinaryArithmeticOperatorNode, BinaryLogicOperatorNode, InLogicOperatorNode, IsNotNullLogicOperatorNode, IsNullLogicOperatorNode, UnaryArithmeticNode, UnaryLogicOperatorNode

public interface OperatorNode

Contract for nodes representing operators (logic or arithmetic).
Author:
Steve Ebersole

Method Summary

Type
getDataType()
Retrieves the data type for the overall operator expression.
abstract void
initialize()
Called by the tree walker during hql-sql semantic analysis after the operator sub-tree is completely built.

Method Details

getDataType

public Type getDataType()
Retrieves the data type for the overall operator expression.
Returns:
The expression's data type.

initialize

public abstract void initialize()
            throws SemanticException
Called by the tree walker during hql-sql semantic analysis after the operator sub-tree is completely built.