public enum DotDrillType extends Enum<DotDrillType>
| Enum Constant and Description |
|---|
VIEW |
| Modifier and Type | Field and Description |
|---|---|
static String |
DOT_DRILL_GLOB |
| Modifier and Type | Method and Description |
|---|---|
String |
getEnding()
Return extension string of file type represented by this object.
|
org.apache.hadoop.fs.Path |
getPath(String parentDir,
String name)
For a given parent directory and base file name return complete path including file type specific extensions.
|
boolean |
matches(org.apache.hadoop.fs.FileStatus status) |
static DotDrillType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DotDrillType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DotDrillType VIEW
public static final String DOT_DRILL_GLOB
public static DotDrillType[] values()
for (DotDrillType c : DotDrillType.values()) System.out.println(c);
public static DotDrillType 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 boolean matches(org.apache.hadoop.fs.FileStatus status)
public org.apache.hadoop.fs.Path getPath(String parentDir, String name)
parentDir - Directory where the DotDrillFile is stored.name - Base file name of the DotDrillFile.public String getEnding()
Copyright © 2017 The Apache Software Foundation. All rights reserved.