@Generated(value="Autogenerated by Thrift Compiler (0.9.3)",
date="2020-04-10")
public class Rank
extends java.lang.Object
implements org.apache.thrift.TBase<Rank,Rank._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Rank>
| Modifier and Type | Class and Description |
|---|---|
static class |
Rank._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
firstRankName
设置粗排表达式名称
|
static java.util.Map<Rank._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
int |
reRankSize |
java.lang.String |
secondRankName
设置精排表达式名称
|
RankType |
secondRankType
设置精排表达式类型
|
| Constructor and Description |
|---|
Rank() |
Rank(Rank other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(Rank other) |
Rank |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(Rank that) |
Rank._Fields |
fieldForId(int fieldId) |
java.lang.Object |
getFieldValue(Rank._Fields field) |
java.lang.String |
getFirstRankName()
设置粗排表达式名称
|
int |
getReRankSize() |
java.lang.String |
getSecondRankName()
设置精排表达式名称
|
RankType |
getSecondRankType()
设置精排表达式类型
|
int |
hashCode() |
boolean |
isSet(Rank._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetFirstRankName()
Returns true if field firstRankName is set (has been assigned a value) and false otherwise
|
boolean |
isSetReRankSize()
Returns true if field reRankSize is set (has been assigned a value) and false otherwise
|
boolean |
isSetSecondRankName()
Returns true if field secondRankName is set (has been assigned a value) and false otherwise
|
boolean |
isSetSecondRankType()
Returns true if field secondRankType is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(Rank._Fields field,
java.lang.Object value) |
Rank |
setFirstRankName(java.lang.String firstRankName)
设置粗排表达式名称
|
void |
setFirstRankNameIsSet(boolean value) |
Rank |
setReRankSize(int reRankSize) |
void |
setReRankSizeIsSet(boolean value) |
Rank |
setSecondRankName(java.lang.String secondRankName)
设置精排表达式名称
|
void |
setSecondRankNameIsSet(boolean value) |
Rank |
setSecondRankType(RankType secondRankType)
设置精排表达式类型
|
void |
setSecondRankTypeIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetFirstRankName() |
void |
unsetReRankSize() |
void |
unsetSecondRankName() |
void |
unsetSecondRankType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int reRankSize
public java.lang.String firstRankName
public java.lang.String secondRankName
public static final java.util.Map<Rank._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Rank()
public Rank(Rank other)
public Rank deepCopy()
deepCopy in interface org.apache.thrift.TBase<Rank,Rank._Fields>public void clear()
clear in interface org.apache.thrift.TBase<Rank,Rank._Fields>public int getReRankSize()
public Rank setReRankSize(int reRankSize)
public void unsetReRankSize()
public boolean isSetReRankSize()
public void setReRankSizeIsSet(boolean value)
public java.lang.String getFirstRankName()
public Rank setFirstRankName(java.lang.String firstRankName)
public void unsetFirstRankName()
public boolean isSetFirstRankName()
public void setFirstRankNameIsSet(boolean value)
public java.lang.String getSecondRankName()
public Rank setSecondRankName(java.lang.String secondRankName)
public void unsetSecondRankName()
public boolean isSetSecondRankName()
public void setSecondRankNameIsSet(boolean value)
public Rank setSecondRankType(RankType secondRankType)
RankTypepublic void unsetSecondRankType()
public boolean isSetSecondRankType()
public void setSecondRankTypeIsSet(boolean value)
public void setFieldValue(Rank._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<Rank,Rank._Fields>public java.lang.Object getFieldValue(Rank._Fields field)
getFieldValue in interface org.apache.thrift.TBase<Rank,Rank._Fields>public boolean isSet(Rank._Fields field)
isSet in interface org.apache.thrift.TBase<Rank,Rank._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(Rank that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(Rank other)
compareTo in interface java.lang.Comparable<Rank>public Rank._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<Rank,Rank._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<Rank,Rank._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<Rank,Rank._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.