public enum ListModeOptions extends Enum<ListModeOptions>
SequenceFile with the SequenceFileTool.| Enum Constant and Description |
|---|
IMAGE_DIMENSIONS
Print the dimensions of each records value if it is a valid image.
|
KEY
Print the record key
|
MIMETYPE
Print the mimetype of the value in each record
|
OFFSET
Print the offset of the record in the
SequenceFile |
SEQUENCEFILE
Print the path to the
SequenceFile in question. |
SIZE
Print the size of the record value in bytes
|
| Modifier and Type | Method and Description |
|---|---|
abstract RecordInformationExtractor |
getExtractor() |
static List<RecordInformationExtractor> |
listOptionsToExtractPolicy(List<ListModeOptions> options)
Construct a list of extractors from the given options.
|
static ListModeOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListModeOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListModeOptions KEY
public static final ListModeOptions OFFSET
SequenceFilepublic static final ListModeOptions SEQUENCEFILE
SequenceFile in question. This is useful if
you're working with a directory of SequenceFilespublic static final ListModeOptions MIMETYPE
public static final ListModeOptions SIZE
public static final ListModeOptions IMAGE_DIMENSIONS
public static ListModeOptions[] values()
for (ListModeOptions c : ListModeOptions.values()) System.out.println(c);
public static ListModeOptions 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 nullpublic abstract RecordInformationExtractor getExtractor()
RecordInformationExtractor for extracting information
from a SequenceFile record.public static List<RecordInformationExtractor> listOptionsToExtractPolicy(List<ListModeOptions> options)
options - the options