org.apache.hadoop.hbase.thrift.generated
Class AlreadyExists
java.lang.Object
java.lang.Throwable
java.lang.Exception
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. |
message
public String message
metaDataMap
public static final Map<AlreadyExists._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
AlreadyExists
public AlreadyExists()
AlreadyExists
public AlreadyExists(String message)
AlreadyExists
public AlreadyExists(AlreadyExists other)
- Performs a deep copy on other.
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.