枚举 AggregateFun

java.lang.Object
java.lang.Enum<AggregateFun>
org.dromara.autotable.annotation.doris.emuns.AggregateFun
所有已实现的接口:
Serializable, Comparable<AggregateFun>, java.lang.constant.Constable

public enum AggregateFun extends Enum<AggregateFun>
value列的聚合类型
作者:
lizhian
  • 枚举常量详细资料

    • none

      public static final AggregateFun none
    • sum

      public static final AggregateFun sum
      求和。适用数值类型。
    • min

      public static final AggregateFun min
      求最小值。适合数值类型。
    • max

      public static final AggregateFun max
      求最大值。适合数值类型。
    • replace

      public static final AggregateFun replace
      替换。对于维度列相同的行,指标列会按照导入的先后顺序,后导入的替换先导入的。
    • replace_if_not_null

      public static final AggregateFun replace_if_not_null
      非空值替换。和 REPLACE 的区别在于对于 NULL 值,不做替换。这里要注意的是字段默认值要给 NULL,而不能是空字符串,如果是空字符串,会给你替换成空字符串。
    • hll_union

      public static final AggregateFun hll_union
      HLL 类型的列的聚合方式,通过 HyperLogLog 算法聚合。
    • bitmap_union

      public static final AggregateFun bitmap_union
      BIMTAP 类型的列的聚合方式,进行位图的并集聚合。
  • 构造器详细资料

    • AggregateFun

      private AggregateFun()
  • 方法详细资料

    • values

      public static AggregateFun[] values()
      返回包含该枚举类型的常量的数组, 顺序与声明这些常量的顺序相同
      返回:
      包含该枚举类型的常量的数组,顺序与声明这些常量的顺序相同
    • valueOf

      public static AggregateFun valueOf(String name)
      返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
      NullPointerException - 如果参数为空值