org.apache.accumulo.core.data.thrift
Class TCMResult

java.lang.Object
  extended by 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.
 
Field Summary
 long cmid
           
static Map<TCMResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 TCMStatus status
           
 
Constructor Summary
TCMResult()
           
TCMResult(long cmid, TCMStatus status)
           
TCMResult(TCMResult other)
          Performs a deep copy on other.
 
Method Summary
 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 otherwise
 boolean isSetCmid()
          Returns true if field cmid is set (has been assigned a value) and false otherwise
 boolean isSetStatus()
          Returns true if field status is set (has been assigned a value) and false otherwise
 void 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

TCMResult

public TCMResult()

TCMResult

public TCMResult(long cmid,
                 TCMStatus status)

TCMResult

public TCMResult(TCMResult other)
Performs a deep copy on other.

Method Detail

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.