Class TCMResult
- java.lang.Object
-
- org.apache.accumulo.core.data.thrift.TCMResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<TCMResult>
,org.apache.thrift.TBase<TCMResult,TCMResult._Fields>
public class TCMResult extends Object implements org.apache.thrift.TBase<TCMResult,TCMResult._Fields>, Serializable, Cloneable, Comparable<TCMResult>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TCMResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description long
cmid
static Map<TCMResult._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
TCMStatus
status
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(TCMResult other)
TCMResult
deepCopy()
boolean
equals(Object that)
boolean
equals(TCMResult that)
TCMResult._Fields
fieldForId(int fieldId)
long
getCmid()
Object
getFieldValue(TCMResult._Fields field)
TCMStatus
getStatus()
int
hashCode()
boolean
isSet(TCMResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetCmid()
Returns true if field cmid is set (has been assigned a value) and false otherwiseboolean
isSetStatus()
Returns true if field status is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
TCMResult
setCmid(long cmid)
void
setCmidIsSet(boolean value)
void
setFieldValue(TCMResult._Fields field, Object value)
TCMResult
setStatus(TCMStatus status)
void
setStatusIsSet(boolean value)
String
toString()
void
unsetCmid()
void
unsetStatus()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
cmid
public long cmid
-
metaDataMap
public static final Map<TCMResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Method Detail
-
deepCopy
public TCMResult deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<TCMResult,TCMResult._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<TCMResult,TCMResult._Fields>
-
getCmid
public long getCmid()
-
setCmid
public TCMResult setCmid(long cmid)
-
unsetCmid
public void unsetCmid()
-
isSetCmid
public boolean isSetCmid()
Returns true if field cmid is set (has been assigned a value) and false otherwise
-
setCmidIsSet
public void setCmidIsSet(boolean value)
-
unsetStatus
public void unsetStatus()
-
isSetStatus
public boolean isSetStatus()
Returns true if field status is set (has been assigned a value) and false otherwise
-
setStatusIsSet
public void setStatusIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TCMResult._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<TCMResult,TCMResult._Fields>
-
getFieldValue
public Object getFieldValue(TCMResult._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<TCMResult,TCMResult._Fields>
-
isSet
public boolean isSet(TCMResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<TCMResult,TCMResult._Fields>
-
equals
public boolean equals(TCMResult that)
-
compareTo
public int compareTo(TCMResult other)
- Specified by:
compareTo
in interfaceComparable<TCMResult>
-
fieldForId
public TCMResult._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<TCMResult,TCMResult._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<TCMResult,TCMResult._Fields>
- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
- Specified by:
write
in interfaceorg.apache.thrift.TBase<TCMResult,TCMResult._Fields>
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-