org.apache.accumulo.core.client.impl.thrift
Class ThriftTableOperationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.thrift.TException
              extended by org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException
All Implemented Interfaces:
Serializable, Cloneable, Comparable<ThriftTableOperationException>, org.apache.thrift.TBase<ThriftTableOperationException,ThriftTableOperationException._Fields>

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

See Also:
Serialized Form

Nested Class Summary
static class ThriftTableOperationException._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 String description
           
static Map<ThriftTableOperationException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 TableOperation op
           
 String tableId
           
 String tableName
           
 TableOperationExceptionType type
           
 
Constructor Summary
ThriftTableOperationException()
           
ThriftTableOperationException(String tableId, String tableName, TableOperation op, TableOperationExceptionType type, String description)
           
ThriftTableOperationException(ThriftTableOperationException other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
           
 int compareTo(ThriftTableOperationException other)
           
 ThriftTableOperationException deepCopy()
           
 boolean equals(Object that)
           
 boolean equals(ThriftTableOperationException that)
           
 ThriftTableOperationException._Fields fieldForId(int fieldId)
           
 String getDescription()
           
 Object getFieldValue(ThriftTableOperationException._Fields field)
           
 TableOperation getOp()
           
 String getTableId()
           
 String getTableName()
           
 TableOperationExceptionType getType()
           
 int hashCode()
           
 boolean isSet(ThriftTableOperationException._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetDescription()
          Returns true if field description is set (has been assigned a value) and false otherwise
 boolean isSetOp()
          Returns true if field op is set (has been assigned a value) and false otherwise
 boolean isSetTableId()
          Returns true if field tableId is set (has been assigned a value) and false otherwise
 boolean isSetTableName()
          Returns true if field tableName is set (has been assigned a value) and false otherwise
 boolean isSetType()
          Returns true if field type is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 ThriftTableOperationException setDescription(String description)
           
 void setDescriptionIsSet(boolean value)
           
 void setFieldValue(ThriftTableOperationException._Fields field, Object value)
           
 ThriftTableOperationException setOp(TableOperation op)
           
 void setOpIsSet(boolean value)
           
 ThriftTableOperationException setTableId(String tableId)
           
 void setTableIdIsSet(boolean value)
           
 ThriftTableOperationException setTableName(String tableName)
           
 void setTableNameIsSet(boolean value)
           
 ThriftTableOperationException setType(TableOperationExceptionType type)
           
 void setTypeIsSet(boolean value)
           
 String toString()
           
 void unsetDescription()
           
 void unsetOp()
           
 void unsetTableId()
           
 void unsetTableName()
           
 void unsetType()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

tableId

public String tableId

tableName

public String tableName

op

public TableOperation op
See Also:
TableOperation

type

public TableOperationExceptionType type
See Also:
TableOperationExceptionType

description

public String description

metaDataMap

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

ThriftTableOperationException

public ThriftTableOperationException()

ThriftTableOperationException

public ThriftTableOperationException(String tableId,
                                     String tableName,
                                     TableOperation op,
                                     TableOperationExceptionType type,
                                     String description)

ThriftTableOperationException

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

Method Detail

deepCopy

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

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<ThriftTableOperationException,ThriftTableOperationException._Fields>

getTableId

public String getTableId()

setTableId

public ThriftTableOperationException setTableId(String tableId)

unsetTableId

public void unsetTableId()

isSetTableId

public boolean isSetTableId()
Returns true if field tableId is set (has been assigned a value) and false otherwise


setTableIdIsSet

public void setTableIdIsSet(boolean value)

getTableName

public String getTableName()

setTableName

public ThriftTableOperationException setTableName(String tableName)

unsetTableName

public void unsetTableName()

isSetTableName

public boolean isSetTableName()
Returns true if field tableName is set (has been assigned a value) and false otherwise


setTableNameIsSet

public void setTableNameIsSet(boolean value)

getOp

public TableOperation getOp()
See Also:
TableOperation

setOp

public ThriftTableOperationException setOp(TableOperation op)
See Also:
TableOperation

unsetOp

public void unsetOp()

isSetOp

public boolean isSetOp()
Returns true if field op is set (has been assigned a value) and false otherwise


setOpIsSet

public void setOpIsSet(boolean value)

getType

public TableOperationExceptionType getType()
See Also:
TableOperationExceptionType

setType

public ThriftTableOperationException setType(TableOperationExceptionType type)
See Also:
TableOperationExceptionType

unsetType

public void unsetType()

isSetType

public boolean isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise


setTypeIsSet

public void setTypeIsSet(boolean value)

getDescription

public String getDescription()

setDescription

public ThriftTableOperationException setDescription(String description)

unsetDescription

public void unsetDescription()

isSetDescription

public boolean isSetDescription()
Returns true if field description is set (has been assigned a value) and false otherwise


setDescriptionIsSet

public void setDescriptionIsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

public boolean isSet(ThriftTableOperationException._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<ThriftTableOperationException,ThriftTableOperationException._Fields>

equals

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

equals

public boolean equals(ThriftTableOperationException that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

public ThriftTableOperationException._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<ThriftTableOperationException,ThriftTableOperationException._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<ThriftTableOperationException,ThriftTableOperationException._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<ThriftTableOperationException,ThriftTableOperationException._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 © 2015 Apache Accumulo Project. All rights reserved.