org.apache.hadoop.hbase
Enum BloomFilterDescriptor.BloomFilterType

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

public static enum BloomFilterDescriptor.BloomFilterType
extends Enum<BloomFilterDescriptor.BloomFilterType>

The type of bloom filter


Enum Constant Summary
BLOOMFILTER
          Bloom filter, as defined by Bloom in 1970.
COUNTING_BLOOMFILTER
          Counting Bloom filter, as defined by Fan et al.
RETOUCHED_BLOOMFILTER
          Retouched Bloom filter, as defined in the CoNEXT 2006 paper.
 
Method Summary
static BloomFilterDescriptor.BloomFilterType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BloomFilterDescriptor.BloomFilterType[] 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

BLOOMFILTER

public static final BloomFilterDescriptor.BloomFilterType BLOOMFILTER
Bloom filter, as defined by Bloom in 1970.


COUNTING_BLOOMFILTER

public static final BloomFilterDescriptor.BloomFilterType COUNTING_BLOOMFILTER
Counting Bloom filter, as defined by Fan et al. in a ToN 2000 paper.


RETOUCHED_BLOOMFILTER

public static final BloomFilterDescriptor.BloomFilterType RETOUCHED_BLOOMFILTER
Retouched Bloom filter, as defined in the CoNEXT 2006 paper.

Method Detail

values

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

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

valueOf

public static BloomFilterDescriptor.BloomFilterType 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