protected static enum GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior extends Enum<GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior>
| Modifier and Type | Method and Description |
|---|---|
static GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior |
get()
Get the ListStatusFileNotFoundBehavior for the currently running Hadoop version.
|
static GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior |
get(HadoopVersionInfo hadoopVersionInfo)
Get the ListStatusFileNotFoundBehavior for the given hadoop version/
|
abstract org.apache.hadoop.fs.FileStatus[] |
handle(String path)
Perform version specific handling for a missing path.
|
static GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior Hadoop1
public static final GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior Hadoop2
public static GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior[] values()
for (GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior c : GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior.values()) System.out.println(c);
public static GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior 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 org.apache.hadoop.fs.FileStatus[] handle(String path) throws IOException
path - The missing pathIOExceptionpublic static GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior get()
public static GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior get(HadoopVersionInfo hadoopVersionInfo)
hadoopVersionInfo - The hadoop version.Copyright © 2015. All rights reserved.