| Package | Description |
|---|---|
| org.apache.flink.api.common.io | |
| org.apache.flink.core.fs | |
| org.apache.flink.core.fs.local | |
| org.apache.flink.util |
| Modifier and Type | Method and Description |
|---|---|
protected FileInputFormat.FileBaseStatistics |
FileInputFormat.getFileStats(FileInputFormat.FileBaseStatistics cachedStats,
Path filePath,
FileSystem fs,
ArrayList<FileStatus> files) |
| Modifier and Type | Class and Description |
|---|---|
class |
LimitedConnectionsFileSystem
A file system that limits the number of concurrently open input streams,
output streams, and total streams for a target file system.
|
class |
SafetyNetWrapperFileSystem
This is a
WrappingProxy around FileSystem which (i) wraps all opened streams as
ClosingFSDataInputStream or ClosingFSDataOutputStream and (ii) registers them to
a SafetyNetCloseableRegistry. |
| Modifier and Type | Method and Description |
|---|---|
FileSystem |
ConnectionLimitingFactory.create(URI fsUri) |
FileSystem |
FileSystemFactory.create(URI fsUri)
Creates a new file system for the given file system URI.
|
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. |
static FileSystem |
FileSystem.getUnguardedFileSystem(URI fsUri) |
FileSystem |
SafetyNetWrapperFileSystem.getWrappedDelegate() |
| Modifier and Type | Method and Description |
|---|---|
Path |
Path.makeQualified(FileSystem fs)
Returns a qualified path object.
|
| Constructor and Description |
|---|
LimitedConnectionsFileSystem(FileSystem originalFs,
int maxNumOpenStreamsTotal)
Creates a new output connection limiting file system.
|
LimitedConnectionsFileSystem(FileSystem originalFs,
int maxNumOpenStreamsTotal,
int maxNumOpenOutputStreams,
int maxNumOpenInputStreams,
long streamOpenTimeout,
long streamInactivityTimeout)
Creates a new output connection limiting file system, limiting input and output streams with
potentially different quotas.
|
LimitedConnectionsFileSystem(FileSystem originalFs,
int maxNumOpenStreamsTotal,
long streamOpenTimeout,
long streamInactivityTimeout)
Creates a new output connection limiting file system.
|
SafetyNetWrapperFileSystem(FileSystem unsafeFileSystem,
SafetyNetCloseableRegistry registry) |
| Modifier and Type | Class and Description |
|---|---|
class |
LocalFileSystem
The class
LocalFileSystem is an implementation of the FileSystem interface
for the local file system of the machine where the JVM runs. |
| Modifier and Type | Method and Description |
|---|---|
FileSystem |
LocalFileSystemFactory.create(URI fsUri) |
| Constructor and Description |
|---|
LocalFileStatus(File f,
FileSystem fs)
Creates a
LocalFileStatus object from a given File object. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
FileUtils.deletePathIfEmpty(FileSystem fileSystem,
Path path)
Deletes the path if it is empty.
|
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.