@InterfaceAudience.Private @InterfaceStability.Evolving public class RawLocalFs extends DelegateToFileSystem
fsImplstatistics| Modifier and Type | Method and Description |
|---|---|
void |
createSymlink(Path target,
Path link,
boolean createParent)
The specification of this method matches that of
FileContext.createSymlink(Path, Path, boolean); |
FileStatus |
getFileLinkStatus(Path f)
Return a FileStatus representing the given path.
|
Path |
getLinkTarget(Path f)
Partially resolves the path.
|
FsServerDefaults |
getServerDefaults()
Return a set of server default configuration values.
|
int |
getUriDefaultPort()
The default port of this file system.
|
boolean |
isValidName(String src)
Returns true if the specified string is considered valid in the path part
of a URI by this file system.
|
boolean |
supportsSymlinks()
Returns true if the file system supports symlinks, false otherwise.
|
createInternal, delete, getCanonicalServiceName, getDelegationTokens, getFileBlockLocations, getFileChecksum, getFileStatus, getFsStatus, getHomeDirectory, getInitialWorkingDirectory, listStatus, mkdir, open, renameInternal, setOwner, setPermission, setReplication, setTimes, setVerifyChecksumcheckPath, checkScheme, clearStatistics, create, createFileSystem, equals, get, getAllStatistics, getFsStatus, getStatistics, getStatistics, getUri, getUriPath, hashCode, listCorruptFileBlocks, listLocatedStatus, listStatusIterator, makeQualified, open, printStatistics, rename, renameInternal, resolvePathpublic int getUriDefaultPort()
AbstractFileSystemgetUriDefaultPort in class DelegateToFileSystempublic FsServerDefaults getServerDefaults() throws IOException
AbstractFileSystemgetServerDefaults in class DelegateToFileSystemIOException - an I/O error occurredpublic boolean supportsSymlinks()
AbstractFileSystemsupportsSymlinks in class DelegateToFileSystempublic void createSymlink(Path target, Path link, boolean createParent) throws IOException
AbstractFileSystemFileContext.createSymlink(Path, Path, boolean);createSymlink in class DelegateToFileSystemIOExceptionpublic FileStatus getFileLinkStatus(Path f) throws IOException
getFileLinkStatus in class DelegateToFileSystemIOExceptionpublic boolean isValidName(String src)
AbstractFileSystemisValidName in class AbstractFileSystemsrc - String source filename to check, path part of the URIpublic Path getLinkTarget(Path f) throws IOException
AbstractFileSystemFSLinkResolver, and differs from the similarly named method
FileContext.getLinkTarget(Path).getLinkTarget in class DelegateToFileSystemIOExceptionCopyright © 2013 Apache Software Foundation. All rights reserved.