Modifier and Type | Method and Description |
---|---|
protected FileInputFormat.FileBaseStatistics |
FileInputFormat.getFileStats(FileInputFormat.FileBaseStatistics cachedStats,
Path filePath,
FileSystem fs,
ArrayList<FileStatus> files) |
Modifier and Type | Method and Description |
---|---|
static FileSystem |
FileSystem.get(URI uri)
Returns a reference to the
FileSystem instance for accessing the
file system identified by the given URI . |
FileSystem |
Path.getFileSystem()
Returns the FileSystem that owns this Path.
|
static FileSystem |
FileSystem.getLocalFileSystem()
Returns a reference to the
FileSystem instance for accessing the
local file system. |
Modifier and Type | Method and Description |
---|---|
Path |
Path.makeQualified(FileSystem fs)
Returns a qualified path object.
|
Modifier and Type | Class and Description |
---|---|
class |
LocalFileSystem
The class
LocalFile provides an implementation of the FileSystem interface for the local file
system. |
Constructor and Description |
---|
LocalFileStatus(File f,
FileSystem fs)
Creates a
LocalFileStatus object from a given File object. |
Modifier and Type | Class and Description |
---|---|
class |
HadoopFileSystem
Concrete implementation of the
FileSystem base class for the Hadoop File System. |
Modifier and Type | Class and Description |
---|---|
class |
MapRFileSystem
Concrete implementation of the
FileSystem base class for the MapR
file system. |
Modifier and Type | Method and Description |
---|---|
FileSystem |
FsStateBackend.getFileSystem()
Gets the file system handle for the file system that stores the state for this backend.
|
protected FileSystem |
AbstractFileStateHandle.getFileSystem()
Gets the file system that stores the file state.
|
Constructor and Description |
---|
FsCheckpointStateOutputStream(Path basePath,
FileSystem fs,
HashSet<FsStateBackend.FsCheckpointStateOutputStream> openStreams,
int bufferSize,
int localStateThreshold) |
Modifier and Type | Method and Description |
---|---|
static boolean |
FileUtils.deletePathIfEmpty(FileSystem fileSystem,
Path path)
Deletes the path if it is empty.
|
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.