Class ThriftTableOperationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.thrift.TException
-
- org.apache.accumulo.core.clientImpl.thrift.ThriftTableOperationException
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<ThriftTableOperationException>
,org.apache.thrift.TBase<ThriftTableOperationException,ThriftTableOperationException._Fields>
,org.apache.thrift.TSerializable
- Direct Known Subclasses:
AcceptableThriftTableOperationException
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
Nested Classes Modifier and Type Class Description static class
ThriftTableOperationException._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description String
description
static Map<ThriftTableOperationException._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
TableOperation
op
String
tableId
String
tableName
TableOperationExceptionType
type
-
Constructor Summary
Constructors Constructor Description ThriftTableOperationException()
ThriftTableOperationException(String tableId, String tableName, TableOperation op, TableOperationExceptionType type, String description)
ThriftTableOperationException(ThriftTableOperationException other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 otherwiseboolean
isSetDescription()
Returns true if field description is set (has been assigned a value) and false otherwiseboolean
isSetOp()
Returns true if field op is set (has been assigned a value) and false otherwiseboolean
isSetTableId()
Returns true if field tableId is set (has been assigned a value) and false otherwiseboolean
isSetTableName()
Returns true if field tableName is set (has been assigned a value) and false otherwiseboolean
isSetType()
Returns true if field type is set (has been assigned a value) and false otherwisevoid
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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
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 interfaceorg.apache.thrift.TBase<ThriftTableOperationException,ThriftTableOperationException._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.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 interfaceorg.apache.thrift.TBase<ThriftTableOperationException,ThriftTableOperationException._Fields>
-
getFieldValue
public Object getFieldValue(ThriftTableOperationException._Fields field)
- Specified by:
getFieldValue
in interfaceorg.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 interfaceorg.apache.thrift.TBase<ThriftTableOperationException,ThriftTableOperationException._Fields>
-
equals
public boolean equals(ThriftTableOperationException that)
-
compareTo
public int compareTo(ThriftTableOperationException other)
- Specified by:
compareTo
in interfaceComparable<ThriftTableOperationException>
-
fieldForId
public ThriftTableOperationException._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.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 interfaceorg.apache.thrift.TSerializable
- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
- Specified by:
write
in interfaceorg.apache.thrift.TSerializable
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-