public class MaxAggregation extends Object implements Aggregation
Example: If the field "age" has exactly 5 rows (fewer for simplicity), with values 1, 2, 3, 4, 5, then the result of MaxAggregation would be 5.
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MaxAggregation.Builder |
| 构造器和说明 |
|---|
MaxAggregation() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAggName() |
AggregationType |
getAggType() |
String |
getFieldName() |
ColumnValue |
getMissing() |
static MaxAggregation.Builder |
newBuilder() |
com.aliyun.ots.thirdparty.com.google.protobuf.ByteString |
serialize() |
MaxAggregation |
setAggName(String aggName) |
MaxAggregation |
setFieldName(String fieldName) |
MaxAggregation |
setMissing(ColumnValue missing) |
public static MaxAggregation.Builder newBuilder()
public String getAggName()
getAggName 在接口中 Aggregationpublic AggregationType getAggType()
getAggType 在接口中 Aggregationpublic com.aliyun.ots.thirdparty.com.google.protobuf.ByteString serialize()
serialize 在接口中 Aggregationpublic String getFieldName()
public ColumnValue getMissing()
public MaxAggregation setAggName(String aggName)
public MaxAggregation setFieldName(String fieldName)
public MaxAggregation setMissing(ColumnValue missing)
Copyright © 2025. All Rights Reserved.