java.io.Serializable, java.lang.Comparable<SequenceFile.CompressionType>public static enum SequenceFile.CompressionType extends java.lang.Enum<SequenceFile.CompressionType>
SequenceFile.SequenceFile.Writer| Enum Constant | Description |
|---|---|
BLOCK |
Compress sequences of records together in blocks.
|
NONE |
Do not compress records.
|
RECORD |
Compress values only, each separately.
|
| Modifier and Type | Method | Description |
|---|---|---|
static SequenceFile.CompressionType |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.