类 AggregationFunction<T>

    • 构造器详细资料

      • AggregationFunction

        public AggregationFunction​(CriteriaBuilderImpl criteriaBuilder,
                                   Class<T> returnType,
                                   String functionName,
                                   Object argument)
        Constructs an aggregation function with a single literal argument.
        参数:
        criteriaBuilder - The query builder instance.
        returnType - The function return type.
        functionName - The name of the function.
        argument - The literal argument
      • AggregationFunction

        public AggregationFunction​(CriteriaBuilderImpl criteriaBuilder,
                                   Class<T> returnType,
                                   String functionName,
                                   javax.persistence.criteria.Expression<?> argument)
        Constructs an aggregation function with a single literal argument.
        参数:
        criteriaBuilder - The query builder instance.
        returnType - The function return type.
        functionName - The name of the function.
        argument - The argument