public class MaxAggregation extends Object implements Aggregation
举例:如果字段“age”恰好有5行(少一点我们方便举例),分别为:1、2、3、4、5,则进行 MaxAggregation 的结果为5。
| Modifier and Type | Class and Description |
|---|---|
static class |
MaxAggregation.Builder |
| Constructor and Description |
|---|
MaxAggregation() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAggName() |
AggregationType |
getAggType() |
String |
getFieldName() |
ColumnValue |
getMissing() |
static MaxAggregation.Builder |
newBuilder() |
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 in interface Aggregationpublic AggregationType getAggType()
getAggType in interface Aggregationpublic com.google.protobuf.ByteString serialize()
serialize in interface Aggregationpublic String getFieldName()
public ColumnValue getMissing()
public MaxAggregation setAggName(String aggName)
public MaxAggregation setFieldName(String fieldName)
public MaxAggregation setMissing(ColumnValue missing)
Copyright © 2024. All Rights Reserved.