org.apache.accumulo.core.tabletserver.thrift
Class NotServingTabletException

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

public class NotServingTabletException
extends Exception
implements org.apache.thrift.TBase<NotServingTabletException,NotServingTabletException._Fields>, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
static class NotServingTabletException._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 TKeyExtent extent
           
static Map<NotServingTabletException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
NotServingTabletException()
           
NotServingTabletException(NotServingTabletException other)
          Performs a deep copy on other.
NotServingTabletException(TKeyExtent extent)
           
 
Method Summary
 void clear()
           
 int compareTo(NotServingTabletException other)
           
 NotServingTabletException deepCopy()
           
 boolean equals(NotServingTabletException that)
           
 boolean equals(Object that)
           
 NotServingTabletException._Fields fieldForId(int fieldId)
           
 TKeyExtent getExtent()
           
 Object getFieldValue(NotServingTabletException._Fields field)
           
 int hashCode()
           
 boolean isSet(NotServingTabletException._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetExtent()
          Returns true if field extent is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 NotServingTabletException setExtent(TKeyExtent extent)
           
 void setExtentIsSet(boolean value)
           
 void setFieldValue(NotServingTabletException._Fields field, Object value)
           
 String toString()
           
 void unsetExtent()
           
 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

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:
deepCopy in interface org.apache.thrift.TBase<NotServingTabletException,NotServingTabletException._Fields>

clear

public void clear()
Specified by:
clear in interface org.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:
setFieldValue in interface org.apache.thrift.TBase<NotServingTabletException,NotServingTabletException._Fields>

getFieldValue

public Object getFieldValue(NotServingTabletException._Fields field)
Specified by:
getFieldValue in interface org.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:
isSet in interface org.apache.thrift.TBase<NotServingTabletException,NotServingTabletException._Fields>

equals

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

equals

public boolean equals(NotServingTabletException that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

public NotServingTabletException._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<NotServingTabletException,NotServingTabletException._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<NotServingTabletException,NotServingTabletException._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<NotServingTabletException,NotServingTabletException._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 © 2012 The Apache Software Foundation. All Rights Reserved.