public static enum SequenceFile.CompressionType extends Enum<SequenceFile.CompressionType>
SequenceFile.SequenceFile.Writer| Enum Constant and Description |
|---|
BLOCK
Compress sequences of records together in blocks.
|
NONE
Do not compress records.
|
RECORD
Compress values only, each separately.
|
| Modifier and Type | Method and Description |
|---|---|
static SequenceFile.CompressionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SequenceFile.CompressionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SequenceFile.CompressionType NONE
public static final SequenceFile.CompressionType RECORD
public static final SequenceFile.CompressionType BLOCK
public static SequenceFile.CompressionType[] values()
for (SequenceFile.CompressionType c : SequenceFile.CompressionType.values()) System.out.println(c);
public static SequenceFile.CompressionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2008–2022 Apache Software Foundation. All rights reserved.