@Generated(value="Autogenerated by Thrift Compiler (0.9.3)",
date="2018-05-31")
public class Aggregate
extends java.lang.Object
implements org.apache.thrift.TBase<Aggregate,Aggregate._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Aggregate>
| Modifier and Type | Class and Description |
|---|---|
static class |
Aggregate._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<Aggregate._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
Aggregate() |
Aggregate(Aggregate other)
Performs a deep copy on other.
|
Aggregate(java.lang.String groupKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(Aggregate other) |
Aggregate |
deepCopy() |
boolean |
equals(Aggregate that) |
boolean |
equals(java.lang.Object that) |
Aggregate._Fields |
fieldForId(int fieldId) |
java.lang.String |
getAggFilter()
指定过滤某些统计。
|
java.lang.String |
getAggFun()
指定统计的方法。当前支持:count、max、min、sum等。
|
java.lang.String |
getAggSamplerStep()
指定抽样的步长。
|
java.lang.String |
getAggSamplerThresHold()
指定抽样的阈值。
|
java.lang.Object |
getFieldValue(Aggregate._Fields field) |
java.lang.String |
getGroupKey()
指定需要统计的字段名称。
|
java.lang.String |
getMaxGroup()
最大组个数。
|
java.lang.String |
getRange()
指定统计范围。
|
int |
hashCode() |
boolean |
isSet(Aggregate._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAggFilter()
Returns true if field aggFilter is set (has been assigned a value) and false otherwise
|
boolean |
isSetAggFun()
Returns true if field aggFun is set (has been assigned a value) and false otherwise
|
boolean |
isSetAggSamplerStep()
Returns true if field aggSamplerStep is set (has been assigned a value) and false otherwise
|
boolean |
isSetAggSamplerThresHold()
Returns true if field aggSamplerThresHold is set (has been assigned a value) and false otherwise
|
boolean |
isSetGroupKey()
Returns true if field groupKey is set (has been assigned a value) and false otherwise
|
boolean |
isSetMaxGroup()
Returns true if field maxGroup is set (has been assigned a value) and false otherwise
|
boolean |
isSetRange()
Returns true if field range is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
Aggregate |
setAggFilter(java.lang.String aggFilter)
指定过滤某些统计。
|
void |
setAggFilterIsSet(boolean value) |
Aggregate |
setAggFun(java.lang.String aggFun)
指定统计的方法。当前支持:count、max、min、sum等。
|
void |
setAggFunIsSet(boolean value) |
Aggregate |
setAggSamplerStep(java.lang.String aggSamplerStep)
指定抽样的步长。
|
void |
setAggSamplerStepIsSet(boolean value) |
Aggregate |
setAggSamplerThresHold(java.lang.String aggSamplerThresHold)
指定抽样的阈值。
|
void |
setAggSamplerThresHoldIsSet(boolean value) |
void |
setFieldValue(Aggregate._Fields field,
java.lang.Object value) |
Aggregate |
setGroupKey(java.lang.String groupKey)
指定需要统计的字段名称。
|
void |
setGroupKeyIsSet(boolean value) |
Aggregate |
setMaxGroup(java.lang.String maxGroup)
最大组个数。
|
void |
setMaxGroupIsSet(boolean value) |
Aggregate |
setRange(java.lang.String range)
指定统计范围。
|
void |
setRangeIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetAggFilter() |
void |
unsetAggFun() |
void |
unsetAggSamplerStep() |
void |
unsetAggSamplerThresHold() |
void |
unsetGroupKey() |
void |
unsetMaxGroup() |
void |
unsetRange() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<Aggregate._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Aggregate()
public Aggregate(java.lang.String groupKey)
public Aggregate(Aggregate other)
public Aggregate deepCopy()
deepCopy in interface org.apache.thrift.TBase<Aggregate,Aggregate._Fields>public void clear()
clear in interface org.apache.thrift.TBase<Aggregate,Aggregate._Fields>public java.lang.String getGroupKey()
public Aggregate setGroupKey(java.lang.String groupKey)
public void unsetGroupKey()
public boolean isSetGroupKey()
public void setGroupKeyIsSet(boolean value)
public java.lang.String getAggFun()
public Aggregate setAggFun(java.lang.String aggFun)
public void unsetAggFun()
public boolean isSetAggFun()
public void setAggFunIsSet(boolean value)
public java.lang.String getRange()
public Aggregate setRange(java.lang.String range)
public void unsetRange()
public boolean isSetRange()
public void setRangeIsSet(boolean value)
public java.lang.String getMaxGroup()
public Aggregate setMaxGroup(java.lang.String maxGroup)
public void unsetMaxGroup()
public boolean isSetMaxGroup()
public void setMaxGroupIsSet(boolean value)
public java.lang.String getAggFilter()
public Aggregate setAggFilter(java.lang.String aggFilter)
public void unsetAggFilter()
public boolean isSetAggFilter()
public void setAggFilterIsSet(boolean value)
public java.lang.String getAggSamplerThresHold()
public Aggregate setAggSamplerThresHold(java.lang.String aggSamplerThresHold)
public void unsetAggSamplerThresHold()
public boolean isSetAggSamplerThresHold()
public void setAggSamplerThresHoldIsSet(boolean value)
public java.lang.String getAggSamplerStep()
public Aggregate setAggSamplerStep(java.lang.String aggSamplerStep)
public void unsetAggSamplerStep()
public boolean isSetAggSamplerStep()
public void setAggSamplerStepIsSet(boolean value)
public void setFieldValue(Aggregate._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<Aggregate,Aggregate._Fields>public java.lang.Object getFieldValue(Aggregate._Fields field)
getFieldValue in interface org.apache.thrift.TBase<Aggregate,Aggregate._Fields>public boolean isSet(Aggregate._Fields field)
isSet in interface org.apache.thrift.TBase<Aggregate,Aggregate._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(Aggregate that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(Aggregate other)
compareTo in interface java.lang.Comparable<Aggregate>public Aggregate._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<Aggregate,Aggregate._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<Aggregate,Aggregate._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<Aggregate,Aggregate._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2018. All Rights Reserved.