类 NotExpression
- java.lang.Object
-
- org.hibernate.criterion.NotExpression
-
- 所有已实现的接口:
Serializable,Criterion
public class NotExpression extends Object implements Criterion
A criterion that is a wrapper for another, negating the wrapped one.- 作者:
- Gavin King
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 限定符 构造器 说明 protectedNotExpression(Criterion criterion)Constructs a NotExpression
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 TypedValue[]getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)Return typed values for all parameters in the rendered SQL fragmentStringtoSqlString(Criteria criteria, CriteriaQuery criteriaQuery)Render the SQL fragmentStringtoString()
-
-
-
构造器详细资料
-
NotExpression
protected NotExpression(Criterion criterion)
Constructs a NotExpression- 参数:
criterion- The expression to wrap and negate- 另请参阅:
Restrictions.not(org.hibernate.criterion.Criterion)
-
-
方法详细资料
-
toSqlString
public String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
从接口复制的说明:CriterionRender the SQL fragment- 指定者:
toSqlString在接口中Criterion- 参数:
criteria- The local criteriacriteriaQuery- The overall criteria query- 返回:
- The generated SQL fragment
- 抛出:
HibernateException- Problem during rendering.
-
getTypedValues
public TypedValue[] getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
从接口复制的说明:CriterionReturn typed values for all parameters in the rendered SQL fragment- 指定者:
getTypedValues在接口中Criterion- 参数:
criteria- The local criteriacriteriaQuery- The overall criteria query- 返回:
- The types values (for binding)
- 抛出:
HibernateException- Problem determining types.
-
-