类 InExpression
- java.lang.Object
-
- org.hibernate.criterion.InExpression
-
- 所有已实现的接口:
Serializable,Criterion
public class InExpression extends Object implements Criterion
Constrains the property to a specified list of values- 作者:
- Gavin King
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 限定符 构造器 说明 protectedInExpression(String propertyName, Object[] values)Constructs an InExpression
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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()
-
-
-
构造器详细资料
-
InExpression
protected InExpression(String propertyName, Object[] values)
Constructs an InExpression- 参数:
propertyName- The property name to checkvalues- The values to check against- 另请参阅:
Restrictions.in(String, java.util.Collection),Restrictions.in(String, Object...)
-
-
方法详细资料
-
toSqlString
public String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
从接口复制的说明:CriterionRender the SQL fragment- 指定者:
toSqlString在接口中Criterion- 参数:
criteria- The local criteriacriteriaQuery- The overall criteria query- 返回:
- The generated SQL fragment
-
getTypedValues
public TypedValue[] getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
从接口复制的说明: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)
-
-