Class NotServingTabletException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.thrift.TException
-
- org.apache.accumulo.core.tabletserver.thrift.NotServingTabletException
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<NotServingTabletException>,org.apache.thrift.TBase<NotServingTabletException,NotServingTabletException._Fields>,org.apache.thrift.TSerializable
public class NotServingTabletException extends org.apache.thrift.TException implements org.apache.thrift.TBase<NotServingTabletException,NotServingTabletException._Fields>, Serializable, Cloneable, Comparable<NotServingTabletException>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotServingTabletException._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description TKeyExtentextentstatic Map<NotServingTabletException._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description NotServingTabletException()NotServingTabletException(TKeyExtent extent)NotServingTabletException(NotServingTabletException other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(NotServingTabletException other)NotServingTabletExceptiondeepCopy()booleanequals(Object that)booleanequals(NotServingTabletException that)NotServingTabletException._FieldsfieldForId(int fieldId)TKeyExtentgetExtent()ObjectgetFieldValue(NotServingTabletException._Fields field)inthashCode()booleanisSet(NotServingTabletException._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetExtent()Returns true if field extent is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)NotServingTabletExceptionsetExtent(TKeyExtent extent)voidsetExtentIsSet(boolean value)voidsetFieldValue(NotServingTabletException._Fields field, Object value)StringtoString()voidunsetExtent()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
-
extent
public TKeyExtent extent
-
metaDataMap
public static final Map<NotServingTabletException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
NotServingTabletException
public NotServingTabletException()
-
NotServingTabletException
public NotServingTabletException(TKeyExtent extent)
-
NotServingTabletException
public NotServingTabletException(NotServingTabletException other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public NotServingTabletException deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<NotServingTabletException,NotServingTabletException._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<NotServingTabletException,NotServingTabletException._Fields>
-
getExtent
public TKeyExtent getExtent()
-
setExtent
public NotServingTabletException setExtent(TKeyExtent extent)
-
unsetExtent
public void unsetExtent()
-
isSetExtent
public boolean isSetExtent()
Returns true if field extent is set (has been assigned a value) and false otherwise
-
setExtentIsSet
public void setExtentIsSet(boolean value)
-
setFieldValue
public void setFieldValue(NotServingTabletException._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<NotServingTabletException,NotServingTabletException._Fields>
-
getFieldValue
public Object getFieldValue(NotServingTabletException._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<NotServingTabletException,NotServingTabletException._Fields>
-
isSet
public boolean isSet(NotServingTabletException._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<NotServingTabletException,NotServingTabletException._Fields>
-
equals
public boolean equals(NotServingTabletException that)
-
compareTo
public int compareTo(NotServingTabletException other)
- Specified by:
compareToin interfaceComparable<NotServingTabletException>
-
fieldForId
public NotServingTabletException._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<NotServingTabletException,NotServingTabletException._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
-
-