org.apache.hadoop.hbase.thrift.generated
Class AlreadyExists

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.hadoop.hbase.thrift.generated.AlreadyExists
All Implemented Interfaces:
Serializable, Cloneable, Comparable<AlreadyExists>, org.apache.thrift.TBase<AlreadyExists._Fields>

public class AlreadyExists
extends Exception
implements org.apache.thrift.TBase<AlreadyExists._Fields>, Serializable, Cloneable, Comparable<AlreadyExists>

An AlreadyExists exceptions signals that a table with the specified name already exists

See Also:
Serialized Form

Nested Class Summary
static class AlreadyExists._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 String message
           
static Map<AlreadyExists._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
AlreadyExists()
           
AlreadyExists(AlreadyExists other)
          Performs a deep copy on other.
AlreadyExists(String message)
           
 
Method Summary
 AlreadyExists clone()
          Deprecated. 
 int compareTo(AlreadyExists other)
           
 AlreadyExists deepCopy()
           
 boolean equals(AlreadyExists that)
           
 boolean equals(Object that)
           
 Object getFieldValue(AlreadyExists._Fields field)
           
 Object getFieldValue(int fieldId)
           
 String getMessage()
           
 int hashCode()
           
 boolean isSet(AlreadyExists._Fields field)
          Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
 boolean isSet(int fieldID)
           
 boolean isSetMessage()
          Returns true if field message is set (has been asigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(AlreadyExists._Fields field, Object value)
           
 void setFieldValue(int fieldID, Object value)
           
 AlreadyExists setMessage(String message)
           
 void setMessageIsSet(boolean value)
           
 String toString()
           
 void unsetMessage()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

message

public String message

metaDataMap

public static final Map<AlreadyExists._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

AlreadyExists

public AlreadyExists()

AlreadyExists

public AlreadyExists(String message)

AlreadyExists

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

Method Detail

deepCopy

public AlreadyExists deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<AlreadyExists._Fields>

clone

@Deprecated
public AlreadyExists clone()
Deprecated. 

Overrides:
clone in class Object

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

setMessage

public AlreadyExists setMessage(String message)

unsetMessage

public void unsetMessage()

isSetMessage

public boolean isSetMessage()
Returns true if field message is set (has been asigned a value) and false otherwise


setMessageIsSet

public void setMessageIsSet(boolean value)

setFieldValue

public void setFieldValue(AlreadyExists._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<AlreadyExists._Fields>

setFieldValue

public void setFieldValue(int fieldID,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<AlreadyExists._Fields>

getFieldValue

public Object getFieldValue(AlreadyExists._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<AlreadyExists._Fields>

getFieldValue

public Object getFieldValue(int fieldId)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<AlreadyExists._Fields>

isSet

public boolean isSet(AlreadyExists._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<AlreadyExists._Fields>

isSet

public boolean isSet(int fieldID)
Specified by:
isSet in interface org.apache.thrift.TBase<AlreadyExists._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(AlreadyExists that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(AlreadyExists other)
Specified by:
compareTo in interface Comparable<AlreadyExists>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<AlreadyExists._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<AlreadyExists._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Throwable

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.