com.supermap.mapping
类 AggregationFunctionType
- java.lang.Object
-
- com.supermap.data.Enum
-
- com.supermap.mapping.AggregationFunctionType
-
public class AggregationFunctionType extends Enum
该枚举定义了聚合函数类型常量。 聚合函数支持对聚合字段进行求和、求最值、平均值等操作,使聚合图所反应的信息更加丰富,不再局限在聚合半径内的点数和点的权重,还可以反应聚合半径内的数据统计特性,如:表示聚合半径内的点数据基于聚合字段最值、平均值等。
-
-
字段概要
字段 限定符和类型 字段和说明 static AggregationFunctionType
AVG
聚合字段的平均值。static AggregationFunctionType
COUNT
聚合点的个数。static AggregationFunctionType
MAX
聚合字段的最大值。static AggregationFunctionType
MIN
聚合字段的最小值。static AggregationFunctionType
SUM
聚合字段的和。
-
方法概要
所有方法 静态方法 具体方法 限定符和类型 方法和说明 static String
fromAggregationType(AggregationFunctionType type)
将聚合函数类型常量转换为字符串static AggregationFunctionType
toAggregationType(String ugcType)
通过字符串获取聚合函数类型常量
-
-
-
字段详细资料
-
SUM
public static final AggregationFunctionType SUM
聚合字段的和。只对数值型字段有效。
-
AVG
public static final AggregationFunctionType AVG
聚合字段的平均值。只对数值型字段有效。
-
MAX
public static final AggregationFunctionType MAX
聚合字段的最大值。只对数值型字段有效。
-
MIN
public static final AggregationFunctionType MIN
聚合字段的最小值。只对数值型字段有效。
-
COUNT
public static final AggregationFunctionType COUNT
聚合点的个数。
-
-
方法详细资料
-
toAggregationType
public static AggregationFunctionType toAggregationType(String ugcType)
通过字符串获取聚合函数类型常量- 参数:
ugcType
- 字符串- 返回:
- 聚合函数类型常量
-
fromAggregationType
public static String fromAggregationType(AggregationFunctionType type)
将聚合函数类型常量转换为字符串- 参数:
type
- 聚合函数类型常量- 返回:
- 字符串
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.