protected static enum GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior extends java.lang.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(java.lang.String path)
Perform version specific handling for a missing path.
|
static GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract org.apache.hadoop.fs.FileStatus[] handle(java.lang.String path)
throws java.io.IOException
path - The missing pathjava.io.IOExceptionpublic static GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior get()
public static GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior get(HadoopVersionInfo hadoopVersionInfo)
hadoopVersionInfo - The hadoop version.Copyright © 2019. All rights reserved.