org.apache.accumulo.core.data.thrift
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 |
static class |
TCMResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
cmid
public long cmid
status
public TCMStatus status
- See Also:
TCMStatus
metaDataMap
public static final Map<TCMResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
TCMResult
public TCMResult()
TCMResult
public TCMResult(long cmid,
TCMStatus status)
TCMResult
public TCMResult(TCMResult other)
- Performs a deep copy on other.
deepCopy
public TCMResult deepCopy()
- Specified by:
deepCopy
in interface org.apache.thrift.TBase<TCMResult,TCMResult._Fields>
clear
public void clear()
- Specified by:
clear
in interface org.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)
getStatus
public TCMStatus getStatus()
- See Also:
TCMStatus
setStatus
public TCMResult setStatus(TCMStatus status)
- See Also:
TCMStatus
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 interface org.apache.thrift.TBase<TCMResult,TCMResult._Fields>
getFieldValue
public Object getFieldValue(TCMResult._Fields field)
- Specified by:
getFieldValue
in interface org.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 interface org.apache.thrift.TBase<TCMResult,TCMResult._Fields>
equals
public boolean equals(Object that)
- Overrides:
equals
in class Object
equals
public boolean equals(TCMResult that)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
compareTo
public int compareTo(TCMResult other)
- Specified by:
compareTo
in interface Comparable<TCMResult>
fieldForId
public TCMResult._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interface org.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 interface org.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 interface org.apache.thrift.TBase<TCMResult,TCMResult._Fields>
- Throws:
org.apache.thrift.TException
toString
public String toString()
- Overrides:
toString
in class Object
validate
public void validate()
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
Copyright © 2015 Apache Accumulo Project. All rights reserved.