org.apache.accumulo.core.master.thrift
Enum TabletInfo._Fields

java.lang.Object
  extended by java.lang.Enum<TabletInfo._Fields>
      extended by org.apache.accumulo.core.master.thrift.TabletInfo._Fields
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TabletInfo._Fields>, org.apache.thrift.TFieldIdEnum
Enclosing class:
TabletInfo

public static enum TabletInfo._Fields
extends java.lang.Enum<TabletInfo._Fields>
implements org.apache.thrift.TFieldIdEnum

The set of fields this struct contains, along with convenience methods for finding and manipulating them.


Enum Constant Summary
MAJOR_COUNT
           
MAJOR_ELAPSED
           
MAJOR_FAIL
           
MAJOR_NUM
           
MAJOR_QUEUE_SUM_DEV
           
MAJOR_QUEUE_TIME
           
MAJOR_SUM_DEV
           
MINOR_COUNT
           
MINOR_ELAPSED
           
MINOR_FAIL
           
MINOR_NUM
           
MINOR_QUEUE_SUM_DEV
           
MINOR_QUEUE_TIME
           
MINOR_SUM_DEV
           
NUM_ENTRIES
           
SPLIT_ELAPSED
           
SPLIT_FAIL
           
SPLIT_NUM
           
SPLIT_SUM_DEV
           
STATUS_MAJOR
           
STATUS_MINOR
           
STATUS_SPLIT
           
 
Method Summary
static TabletInfo._Fields findByName(java.lang.String name)
          Find the _Fields constant that matches name, or null if its not found.
static TabletInfo._Fields findByThriftId(int fieldId)
          Find the _Fields constant that matches fieldId, or null if its not found.
static TabletInfo._Fields findByThriftIdOrThrow(int fieldId)
          Find the _Fields constant that matches fieldId, throwing an exception if it is not found.
 java.lang.String getFieldName()
           
 short getThriftFieldId()
           
static TabletInfo._Fields valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TabletInfo._Fields[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STATUS_MAJOR

public static final TabletInfo._Fields STATUS_MAJOR

MAJOR_ELAPSED

public static final TabletInfo._Fields MAJOR_ELAPSED

MAJOR_NUM

public static final TabletInfo._Fields MAJOR_NUM

MAJOR_COUNT

public static final TabletInfo._Fields MAJOR_COUNT

MAJOR_SUM_DEV

public static final TabletInfo._Fields MAJOR_SUM_DEV

MAJOR_QUEUE_TIME

public static final TabletInfo._Fields MAJOR_QUEUE_TIME

MAJOR_QUEUE_SUM_DEV

public static final TabletInfo._Fields MAJOR_QUEUE_SUM_DEV

MAJOR_FAIL

public static final TabletInfo._Fields MAJOR_FAIL

STATUS_SPLIT

public static final TabletInfo._Fields STATUS_SPLIT

SPLIT_ELAPSED

public static final TabletInfo._Fields SPLIT_ELAPSED

SPLIT_NUM

public static final TabletInfo._Fields SPLIT_NUM

SPLIT_SUM_DEV

public static final TabletInfo._Fields SPLIT_SUM_DEV

SPLIT_FAIL

public static final TabletInfo._Fields SPLIT_FAIL

STATUS_MINOR

public static final TabletInfo._Fields STATUS_MINOR

MINOR_ELAPSED

public static final TabletInfo._Fields MINOR_ELAPSED

MINOR_NUM

public static final TabletInfo._Fields MINOR_NUM

MINOR_COUNT

public static final TabletInfo._Fields MINOR_COUNT

MINOR_SUM_DEV

public static final TabletInfo._Fields MINOR_SUM_DEV

MINOR_QUEUE_TIME

public static final TabletInfo._Fields MINOR_QUEUE_TIME

MINOR_QUEUE_SUM_DEV

public static final TabletInfo._Fields MINOR_QUEUE_SUM_DEV

MINOR_FAIL

public static final TabletInfo._Fields MINOR_FAIL

NUM_ENTRIES

public static final TabletInfo._Fields NUM_ENTRIES
Method Detail

values

public static TabletInfo._Fields[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TabletInfo._Fields c : TabletInfo._Fields.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TabletInfo._Fields valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

findByThriftId

public static TabletInfo._Fields findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.


findByThriftIdOrThrow

public static TabletInfo._Fields findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception if it is not found.


findByName

public static TabletInfo._Fields findByName(java.lang.String name)
Find the _Fields constant that matches name, or null if its not found.


getThriftFieldId

public short getThriftFieldId()
Specified by:
getThriftFieldId in interface org.apache.thrift.TFieldIdEnum

getFieldName

public java.lang.String getFieldName()
Specified by:
getFieldName in interface org.apache.thrift.TFieldIdEnum


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.