public class Annotation extends Object implements org.apache.thrift.TBase<Annotation,Annotation._Fields>, Serializable, Cloneable, Comparable<Annotation>
| Modifier and Type | Class and Description |
|---|---|
static class |
Annotation._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static Map<Annotation._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
msg |
long |
time |
| Constructor and Description |
|---|
Annotation() |
Annotation(Annotation other)
Performs a deep copy on other.
|
Annotation(long time,
String msg) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(Annotation other) |
Annotation |
deepCopy() |
boolean |
equals(Annotation that) |
boolean |
equals(Object that) |
Annotation._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(Annotation._Fields field) |
String |
getMsg() |
long |
getTime() |
int |
hashCode() |
boolean |
isSet(Annotation._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetMsg()
Returns true if field msg is set (has been assigned a value) and false otherwise
|
boolean |
isSetTime()
Returns true if field time is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(Annotation._Fields field,
Object value) |
Annotation |
setMsg(String msg) |
void |
setMsgIsSet(boolean value) |
Annotation |
setTime(long time) |
void |
setTimeIsSet(boolean value) |
String |
toString() |
void |
unsetMsg() |
void |
unsetTime() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long time
public String msg
public static final Map<Annotation._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Annotation()
public Annotation(long time,
String msg)
public Annotation(Annotation other)
public Annotation deepCopy()
deepCopy in interface org.apache.thrift.TBase<Annotation,Annotation._Fields>public void clear()
clear in interface org.apache.thrift.TBase<Annotation,Annotation._Fields>public long getTime()
public Annotation setTime(long time)
public void unsetTime()
public boolean isSetTime()
public void setTimeIsSet(boolean value)
public String getMsg()
public Annotation setMsg(String msg)
public void unsetMsg()
public boolean isSetMsg()
public void setMsgIsSet(boolean value)
public void setFieldValue(Annotation._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<Annotation,Annotation._Fields>public Object getFieldValue(Annotation._Fields field)
getFieldValue in interface org.apache.thrift.TBase<Annotation,Annotation._Fields>public boolean isSet(Annotation._Fields field)
isSet in interface org.apache.thrift.TBase<Annotation,Annotation._Fields>public boolean equals(Annotation that)
public int compareTo(Annotation other)
compareTo in interface Comparable<Annotation>public Annotation._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<Annotation,Annotation._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<Annotation,Annotation._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<Annotation,Annotation._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2015 Apache Accumulo Project. All rights reserved.