public class HdfsFileProvider extends AbstractOriginatingFileProvider
Constructor and Description |
---|
HdfsFileProvider()
Constructs a new HdfsFileProvider.
|
Modifier and Type | Method and Description |
---|---|
protected FileSystem |
doCreateFileSystem(FileName rootName,
FileSystemOptions fileSystemOptions)
Creates a new HdfsFileSystem instance.
|
Collection<Capability> |
getCapabilities()
Gets Capabilities of HdfsFileSystem.
|
FileSystemConfigBuilder |
getConfigBuilder()
Gets the config builder.
|
findFile, findFile, getFileSystem
addFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParser
addComponent, removeComponent
getContext, getLogger, init, setContext, setLogger
protected FileSystem doCreateFileSystem(FileName rootName, FileSystemOptions fileSystemOptions) throws FileSystemException
doCreateFileSystem
in class AbstractOriginatingFileProvider
rootName
- Name of the root file.fileSystemOptions
- Configuration options for this instance.FileSystemException
- if error occurred.public Collection<Capability> getCapabilities()
public FileSystemConfigBuilder getConfigBuilder()
getConfigBuilder
in interface FileProvider
getConfigBuilder
in class AbstractFileProvider
AbstractFileProvider.getConfigBuilder()
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.