org.apache.hadoop.hbase.io
Enum Reference.Range

java.lang.Object
  extended by java.lang.Enum<Reference.Range>
      extended by org.apache.hadoop.hbase.io.Reference.Range
All Implemented Interfaces:
Serializable, Comparable<Reference.Range>
Enclosing class:
Reference

public static enum Reference.Range
extends Enum<Reference.Range>

For split HStoreFiles, it specifies if the file covers the lower half or the upper half of the key range


Enum Constant Summary
bottom
          HStoreFile contains lower half of key range
top
          HStoreFile contains upper half of key range
 
Method Summary
static Reference.Range valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Reference.Range[] 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

top

public static final Reference.Range top
HStoreFile contains upper half of key range


bottom

public static final Reference.Range bottom
HStoreFile contains lower half of key range

Method Detail

values

public static Reference.Range[] 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 (Reference.Range c : Reference.Range.values())
    System.out.println(c);

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

valueOf

public static Reference.Range valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


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