@Generated(value="Autogenerated by Thrift Compiler (0.9.3)",
date="2020-09-19")
public class FinalDistinctKey
extends java.lang.Object
implements org.apache.thrift.TBase<FinalDistinctKey,FinalDistinctKey._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<FinalDistinctKey>
| Modifier and Type | Class and Description |
|---|---|
static class |
FinalDistinctKey._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
int |
count
相同字段值文档的抽取个数
|
java.lang.String |
key
指定打散的字段
|
static java.util.Map<FinalDistinctKey._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
FinalDistinctKey() |
FinalDistinctKey(FinalDistinctKey other)
Performs a deep copy on other.
|
FinalDistinctKey(java.lang.String key,
int count) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(FinalDistinctKey other) |
FinalDistinctKey |
deepCopy() |
boolean |
equals(FinalDistinctKey that) |
boolean |
equals(java.lang.Object that) |
FinalDistinctKey._Fields |
fieldForId(int fieldId) |
int |
getCount()
相同字段值文档的抽取个数
|
java.lang.Object |
getFieldValue(FinalDistinctKey._Fields field) |
java.lang.String |
getKey()
指定打散的字段
|
int |
hashCode() |
boolean |
isSet(FinalDistinctKey._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCount()
Returns true if field count is set (has been assigned a value) and false otherwise
|
boolean |
isSetKey()
Returns true if field key is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
FinalDistinctKey |
setCount(int count)
相同字段值文档的抽取个数
|
void |
setCountIsSet(boolean value) |
void |
setFieldValue(FinalDistinctKey._Fields field,
java.lang.Object value) |
FinalDistinctKey |
setKey(java.lang.String key)
指定打散的字段
|
void |
setKeyIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetCount() |
void |
unsetKey() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public java.lang.String key
public int count
public static final java.util.Map<FinalDistinctKey._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public FinalDistinctKey()
public FinalDistinctKey(java.lang.String key,
int count)
public FinalDistinctKey(FinalDistinctKey other)
public FinalDistinctKey deepCopy()
deepCopy in interface org.apache.thrift.TBase<FinalDistinctKey,FinalDistinctKey._Fields>public void clear()
clear in interface org.apache.thrift.TBase<FinalDistinctKey,FinalDistinctKey._Fields>public java.lang.String getKey()
public FinalDistinctKey setKey(java.lang.String key)
public void unsetKey()
public boolean isSetKey()
public void setKeyIsSet(boolean value)
public int getCount()
public FinalDistinctKey setCount(int count)
public void unsetCount()
public boolean isSetCount()
public void setCountIsSet(boolean value)
public void setFieldValue(FinalDistinctKey._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<FinalDistinctKey,FinalDistinctKey._Fields>public java.lang.Object getFieldValue(FinalDistinctKey._Fields field)
getFieldValue in interface org.apache.thrift.TBase<FinalDistinctKey,FinalDistinctKey._Fields>public boolean isSet(FinalDistinctKey._Fields field)
isSet in interface org.apache.thrift.TBase<FinalDistinctKey,FinalDistinctKey._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(FinalDistinctKey that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(FinalDistinctKey other)
compareTo in interface java.lang.Comparable<FinalDistinctKey>public FinalDistinctKey._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<FinalDistinctKey,FinalDistinctKey._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<FinalDistinctKey,FinalDistinctKey._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<FinalDistinctKey,FinalDistinctKey._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 © 2023. All Rights Reserved.