public static enum ColumnExplorer.ImplicitFileColumns extends Enum<ColumnExplorer.ImplicitFileColumns>
| Enum Constant and Description |
|---|
FILENAME
File name with extension without path
|
FILEPATH
Full path to file without file name
|
FQN
Fully qualified name, contains full path to file and file name
|
SUFFIX
File suffix (without dot at the beginning)
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getValue(org.apache.hadoop.fs.Path path)
Using file path calculates value for each implicit file column
|
static ColumnExplorer.ImplicitFileColumns |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnExplorer.ImplicitFileColumns[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnExplorer.ImplicitFileColumns FQN
public static final ColumnExplorer.ImplicitFileColumns FILEPATH
public static final ColumnExplorer.ImplicitFileColumns FILENAME
public static final ColumnExplorer.ImplicitFileColumns SUFFIX
public static ColumnExplorer.ImplicitFileColumns[] values()
for (ColumnExplorer.ImplicitFileColumns c : ColumnExplorer.ImplicitFileColumns.values()) System.out.println(c);
public static ColumnExplorer.ImplicitFileColumns 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 String getValue(org.apache.hadoop.fs.Path path)
Copyright © 2017 The Apache Software Foundation. All rights reserved.