站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

OperatorNode (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.hql.ast.tree
Interface OperatorNode

All Known Subinterfaces:
BinaryOperatorNode, UnaryOperatorNode
All Known Implementing Classes:
BetweenOperatorNode, BinaryArithmeticOperatorNode, BinaryLogicOperatorNode, InLogicOperatorNode, 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.
 void initialize()
          Called by the tree walker during hql-sql semantic analysis after the operator sub-tree is completely built.
 

Method Detail

initialize

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

Throws:
antlr.SemanticException

getDataType

public Type getDataType()
Retrieves the data type for the overall operator expression.

Returns:
The expression's data type.