public static enum SequenceFile.CompressionType extends Enum<SequenceFile.CompressionType>
SequenceFile
.SequenceFile.Writer
枚举常量和说明 |
---|
BLOCK
Compress sequences of records together in blocks.
|
NONE
Do not compress records.
|
RECORD
Compress values only, each separately.
|
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
- 要返回的枚举常量的名称。Copyright © 2009 The Apache Software Foundation