程序包 | 说明 |
---|---|
org.apache.flink.api.common.io | |
org.apache.flink.core.fs | |
org.apache.flink.core.fs.local |
限定符和类型 | 方法和说明 |
---|---|
protected FileInputFormat.FileBaseStatistics |
FileInputFormat.getFileStats(FileInputFormat.FileBaseStatistics cachedStats,
Path filePath,
FileSystem fs,
ArrayList<FileStatus> files) |
限定符和类型 | 类和说明 |
---|---|
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 . |
限定符和类型 | 方法和说明 |
---|---|
FileSystem |
ConnectionLimitingFactory.create(URI fsUri) |
FileSystem |
PluginFileSystemFactory.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() |
限定符和类型 | 方法和说明 |
---|---|
static Path |
EntropyInjector.addEntropy(FileSystem fs,
Path path)
Handles entropy injection across regular and entropy-aware file systems.
|
static OutputStreamAndPath |
EntropyInjector.createEntropyAware(FileSystem fs,
Path path,
FileSystem.WriteMode writeMode)
Handles entropy injection across regular and entropy-aware file systems.
|
static boolean |
EntropyInjector.isEntropyInjecting(FileSystem fs) |
Path |
Path.makeQualified(FileSystem fs)
Returns a qualified path object.
|
static Path |
EntropyInjector.removeEntropyMarkerIfPresent(FileSystem fs,
Path path)
Removes the entropy marker string from the path, if the given file system is an
entropy-injecting file system (implements
EntropyInjectingFileSystem ) and the entropy
marker key is present. |
构造器和说明 |
---|
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) |
限定符和类型 | 类和说明 |
---|---|
class |
LocalFileSystem
The class
LocalFileSystem is an implementation of the FileSystem interface for
the local file system of the machine where the JVM runs. |
限定符和类型 | 方法和说明 |
---|---|
FileSystem |
LocalFileSystemFactory.create(URI fsUri) |
构造器和说明 |
---|
LocalFileStatus(File f,
FileSystem fs)
Creates a
LocalFileStatus object from a given File object. |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.