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

SimpleSubqueryExpression (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.criterion
Class SimpleSubqueryExpression

java.lang.Object
  extended byorg.hibernate.criterion.SubqueryExpression
      extended byorg.hibernate.criterion.SimpleSubqueryExpression
All Implemented Interfaces:
Criterion, Serializable

public class SimpleSubqueryExpression
extends SubqueryExpression

A comparison between a constant value and the the result of a subquery

Author:
Gavin King
See Also:
Serialized Form

Constructor Summary
protected SimpleSubqueryExpression(Object value, String op, String quantifier, DetachedCriteria dc)
           
 
Method Summary
 TypedValue[] getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
          Return typed values for all parameters in the rendered SQL fragment
protected  String toLeftSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 
Methods inherited from class org.hibernate.criterion.SubqueryExpression
getTypes, toSqlString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSubqueryExpression

protected SimpleSubqueryExpression(Object value,
                                   String op,
                                   String quantifier,
                                   DetachedCriteria dc)
Method Detail

getTypedValues

public TypedValue[] getTypedValues(Criteria criteria,
                                   CriteriaQuery criteriaQuery)
                            throws HibernateException
Description copied from interface: Criterion
Return typed values for all parameters in the rendered SQL fragment

Specified by:
getTypedValues in interface Criterion
Overrides:
getTypedValues in class SubqueryExpression
Throws:
HibernateException

toLeftSqlString

protected String toLeftSqlString(Criteria criteria,
                                 CriteriaQuery criteriaQuery)
Specified by:
toLeftSqlString in class SubqueryExpression