类 AggregateCondition

    • 构造器详细资料

      • AggregateCondition

        public AggregateCondition()
      • AggregateCondition

        public AggregateCondition​(String aggregateProperty)
        默认查询count计数,不分组
        参数:
        aggregateProperty - 聚合查询属性,不能为空;为保证返回结果key与传入值相同 方法不会去除前后空格
      • AggregateCondition

        public AggregateCondition​(String aggregateProperty,
                                  String[] groupByProperties)
        默认查询count计数
        参数:
        aggregateProperty - 聚合查询属性,不能为空;为保证返回结果key与传入值相同 方法不会去除前后空格
        groupByProperties - 为保证返回结果key与传入值相同 方法不会去除每一项前后空格
      • AggregateCondition

        public AggregateCondition​(String aggregateProperty,
                                  AggregateType aggregateType)
        按指定聚合方法查询,不分组
        参数:
        aggregateProperty -
        aggregateType -
      • AggregateCondition

        public AggregateCondition​(String aggregateProperty,
                                  AggregateType aggregateType,
                                  String[] groupByProperties)
        参数:
        aggregateProperty - 不能为空,为保证返回结果key与传入值相同 方法不会去除前后空格
        aggregateType -
        groupByProperties - 为保证返回结果key与传入值相同 方法不会去除每一项前后空格