org.apache.hadoop.hbase
Enum HColumnDescriptor.CompressionType

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

Deprecated. Compression now means which compression library rather than 'what' to compress.

@Deprecated
public static enum HColumnDescriptor.CompressionType
extends Enum<HColumnDescriptor.CompressionType>

The type of compression.

See Also:
SequenceFile.Writer

Enum Constant Summary
BLOCK
          Deprecated. Compress sequences of records together in blocks.
NONE
          Deprecated. Do not compress records.
RECORD
          Deprecated. Compress values only, each separately.
 
Method Summary
static HColumnDescriptor.CompressionType valueOf(String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static HColumnDescriptor.CompressionType[] values()
          Deprecated. 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

NONE

public static final HColumnDescriptor.CompressionType NONE
Deprecated. 
Do not compress records.


RECORD

public static final HColumnDescriptor.CompressionType RECORD
Deprecated. 
Compress values only, each separately.


BLOCK

public static final HColumnDescriptor.CompressionType BLOCK
Deprecated. 
Compress sequences of records together in blocks.

Method Detail

values

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

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

valueOf

public static HColumnDescriptor.CompressionType valueOf(String name)
Deprecated. 
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.