org.apache.hadoop.hbase.regionserver
Enum HStoreFile.Range

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

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

For split HStoreFiles, 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 HStoreFile.Range valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HStoreFile.Range[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

top

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


bottom

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

Method Detail

values

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

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

valueOf

public static HStoreFile.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


Copyright © 2008 The Apache Software Foundation