@Generated(value="Autogenerated by Thrift Compiler (0.9.3)",
date="2018-08-17")
public class Meta
extends java.lang.Object
implements org.apache.thrift.TBase<Meta,Meta._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Meta>
| Modifier and Type | Class and Description |
|---|---|
static class |
Meta._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<Meta._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
Meta() |
Meta(Meta other) |
Meta(java.lang.String attribute,
double weight) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(Meta other) |
Meta |
deepCopy() |
boolean |
equals(Meta that) |
boolean |
equals(java.lang.Object that) |
Meta._Fields |
fieldForId(int fieldId) |
java.lang.String |
getArg() |
java.lang.String |
getAttribute() |
java.lang.Object |
getFieldValue(Meta._Fields field) |
double |
getWeight() |
int |
hashCode() |
boolean |
isSet(Meta._Fields field) |
boolean |
isSetArg() |
boolean |
isSetAttribute() |
boolean |
isSetWeight() |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
Meta |
setArg(java.lang.String arg) |
void |
setArgIsSet(boolean value) |
Meta |
setAttribute(java.lang.String attribute) |
void |
setAttributeIsSet(boolean value) |
void |
setFieldValue(Meta._Fields field,
java.lang.Object value) |
Meta |
setWeight(double weight) |
void |
setWeightIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetArg() |
void |
unsetAttribute() |
void |
unsetWeight() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<Meta._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Meta()
public Meta(java.lang.String attribute,
double weight)
public Meta(Meta other)
public Meta deepCopy()
deepCopy in interface org.apache.thrift.TBase<Meta,Meta._Fields>public void clear()
clear in interface org.apache.thrift.TBase<Meta,Meta._Fields>public java.lang.String getAttribute()
public Meta setAttribute(java.lang.String attribute)
public void unsetAttribute()
public boolean isSetAttribute()
public void setAttributeIsSet(boolean value)
public double getWeight()
public Meta setWeight(double weight)
public void unsetWeight()
public boolean isSetWeight()
public void setWeightIsSet(boolean value)
public java.lang.String getArg()
public Meta setArg(java.lang.String arg)
public void unsetArg()
public boolean isSetArg()
public void setArgIsSet(boolean value)
public void setFieldValue(Meta._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<Meta,Meta._Fields>public java.lang.Object getFieldValue(Meta._Fields field)
getFieldValue in interface org.apache.thrift.TBase<Meta,Meta._Fields>public boolean isSet(Meta._Fields field)
isSet in interface org.apache.thrift.TBase<Meta,Meta._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(Meta that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(Meta other)
compareTo in interface java.lang.Comparable<Meta>public Meta._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<Meta,Meta._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<Meta,Meta._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<Meta,Meta._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.