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 classThriftTableOperationException._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description Stringdescriptionstatic Map<ThriftTableOperationException._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapTableOperationopStringtableIdStringtableNameTableOperationExceptionTypetype
-
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 voidclear()intcompareTo(ThriftTableOperationException other)ThriftTableOperationExceptiondeepCopy()booleanequals(Object that)booleanequals(ThriftTableOperationException that)ThriftTableOperationException._FieldsfieldForId(int fieldId)StringgetDescription()ObjectgetFieldValue(ThriftTableOperationException._Fields field)TableOperationgetOp()StringgetTableId()StringgetTableName()TableOperationExceptionTypegetType()inthashCode()booleanisSet(ThriftTableOperationException._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetDescription()Returns true if field description is set (has been assigned a value) and false otherwisebooleanisSetOp()Returns true if field op is set (has been assigned a value) and false otherwisebooleanisSetTableId()Returns true if field tableId is set (has been assigned a value) and false otherwisebooleanisSetTableName()Returns true if field tableName is set (has been assigned a value) and false otherwisebooleanisSetType()Returns true if field type is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ThriftTableOperationExceptionsetDescription(String description)voidsetDescriptionIsSet(boolean value)voidsetFieldValue(ThriftTableOperationException._Fields field, Object value)ThriftTableOperationExceptionsetOp(TableOperation op)voidsetOpIsSet(boolean value)ThriftTableOperationExceptionsetTableId(String tableId)voidsetTableIdIsSet(boolean value)ThriftTableOperationExceptionsetTableName(String tableName)voidsetTableNameIsSet(boolean value)ThriftTableOperationExceptionsetType(TableOperationExceptionType type)voidsetTypeIsSet(boolean value)StringtoString()voidunsetDescription()voidunsetOp()voidunsetTableId()voidunsetTableName()voidunsetType()voidvalidate()voidwrite(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:
deepCopyin interfaceorg.apache.thrift.TBase<ThriftTableOperationException,ThriftTableOperationException._Fields>
-
clear
public void clear()
- Specified by:
clearin 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:
setFieldValuein interfaceorg.apache.thrift.TBase<ThriftTableOperationException,ThriftTableOperationException._Fields>
-
getFieldValue
public Object getFieldValue(ThriftTableOperationException._Fields field)
- Specified by:
getFieldValuein 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:
isSetin interfaceorg.apache.thrift.TBase<ThriftTableOperationException,ThriftTableOperationException._Fields>
-
equals
public boolean equals(ThriftTableOperationException that)
-
compareTo
public int compareTo(ThriftTableOperationException other)
- Specified by:
compareToin interfaceComparable<ThriftTableOperationException>
-
fieldForId
public ThriftTableOperationException._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ThriftTableOperationException,ThriftTableOperationException._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin 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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-