类 SQLCriterion

    • 构造器详细资料

      • SQLCriterion

        protected SQLCriterion​(String sql,
                               Object[] values,
                               Type[] types)
      • SQLCriterion

        protected SQLCriterion​(String sql,
                               Object value,
                               Type type)
      • SQLCriterion

        protected SQLCriterion​(String sql)
    • 方法详细资料

      • toSqlString

        public String toSqlString​(Criteria criteria,
                                  CriteriaQuery criteriaQuery)
        从接口复制的说明: Criterion
        Render the SQL fragment
        指定者:
        toSqlString 在接口中 Criterion
        参数:
        criteria - The local criteria
        criteriaQuery - The overall criteria query
        返回:
        The generated SQL fragment
      • getTypedValues

        public TypedValue[] getTypedValues​(Criteria criteria,
                                           CriteriaQuery criteriaQuery)
        从接口复制的说明: Criterion
        Return typed values for all parameters in the rendered SQL fragment
        指定者:
        getTypedValues 在接口中 Criterion
        参数:
        criteria - The local criteria
        criteriaQuery - The overall criteria query
        返回:
        The types values (for binding)