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