public final class CommonPathCapabilities extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ABORTABLE_STREAM
Stream abort() capability implemented by
Abortable.abort() . |
static String |
ETAGS_AVAILABLE
Does this FS support etags?
That is: will FileStatus entries from listing/getFileStatus
probes support EtagSource and return real values.
|
static String |
ETAGS_PRESERVED_IN_RENAME
Are etags guaranteed to be preserved across rename() operations..
|
static String |
FS_ACLS
Does the store support
FileSystem.setAcl(Path, List) ,
FileSystem.getAclStatus(Path)
and related methods?
Value: "fs.capability.paths.acls". |
static String |
FS_APPEND
Does the store support
FileSystem.append(Path) ?
Value: "fs.capability.paths.append". |
static String |
FS_CHECKSUMS
Does the store support
FileSystem.getFileChecksum(Path) ?
Value: "fs.capability.paths.checksums". |
static String |
FS_CONCAT
Does the store support
FileSystem.concat(Path, Path[]) ?
Value: "fs.capability.paths.concat". |
static String |
FS_EXPERIMENTAL_BATCH_LISTING
Probe for support for
BatchListingOperations . |
static String |
FS_LIST_CORRUPT_FILE_BLOCKS
Does the store support
FileSystem.listCorruptFileBlocks(Path) ()}?
Value: "fs.capability.paths.list-corrupt-file-blocks". |
static String |
FS_MULTIPART_UPLOADER
Does the store support multipart uploading?
Value: "fs.capability.multipart.uploader".
|
static String |
FS_PATHHANDLES
Does the store support
FileSystem.createPathHandle(FileStatus, Options.HandleOpt...)
and related methods?
Value: "fs.capability.paths.pathhandles". |
static String |
FS_PERMISSIONS
Does the store support
FileSystem.setPermission(Path, FsPermission)
and related methods?
Value: "fs.capability.paths.permissions". |
static String |
FS_READ_ONLY_CONNECTOR
Does this filesystem connector only support filesystem read operations?
For example, the
HttpFileSystem is always read-only. |
static String |
FS_SNAPSHOTS
Does the store support snapshots through
FileSystem.createSnapshot(Path) and related methods??
Value: "fs.capability.paths.snapshots". |
static String |
FS_STORAGEPOLICY
Does the store support
FileSystem.setStoragePolicy(Path, String)
and related methods?
Value: "fs.capability.paths.storagepolicy". |
static String |
FS_SYMLINKS
Does the store support symlinks through
FileSystem.createSymlink(Path, Path, boolean) and related methods?
Value: "fs.capability.paths.symlinks". |
static String |
FS_TRUNCATE
Does the store support
FileSystem#truncate(Path, long) ?
Value: "fs.capability.paths.truncate". |
static String |
FS_XATTRS
Does the store support XAttributes through
FileSystem#.setXAttr() and related methods?
Value: "fs.capability.paths.xattrs". |
public static final String FS_ACLS
FileSystem.setAcl(Path, List)
,
FileSystem.getAclStatus(Path)
and related methods?
Value: "fs.capability.paths.acls".public static final String FS_APPEND
FileSystem.append(Path)
?
Value: "fs.capability.paths.append".public static final String FS_CHECKSUMS
FileSystem.getFileChecksum(Path)
?
Value: "fs.capability.paths.checksums".public static final String FS_CONCAT
FileSystem.concat(Path, Path[])
?
Value: "fs.capability.paths.concat".public static final String FS_LIST_CORRUPT_FILE_BLOCKS
FileSystem.listCorruptFileBlocks(Path)
()}?
Value: "fs.capability.paths.list-corrupt-file-blocks".public static final String FS_PATHHANDLES
FileSystem.createPathHandle(FileStatus, Options.HandleOpt...)
and related methods?
Value: "fs.capability.paths.pathhandles".public static final String FS_PERMISSIONS
FileSystem.setPermission(Path, FsPermission)
and related methods?
Value: "fs.capability.paths.permissions".public static final String FS_READ_ONLY_CONNECTOR
HttpFileSystem
is always read-only.
This is different from "is the specific instance and path read only?",
which must be determined by checking permissions (where supported), or
attempting write operations under a path.
Value: "fs.capability.paths.read-only-connector".public static final String FS_SNAPSHOTS
FileSystem.createSnapshot(Path)
and related methods??
Value: "fs.capability.paths.snapshots".public static final String FS_STORAGEPOLICY
FileSystem.setStoragePolicy(Path, String)
and related methods?
Value: "fs.capability.paths.storagepolicy".public static final String FS_SYMLINKS
FileSystem.createSymlink(Path, Path, boolean)
and related methods?
Value: "fs.capability.paths.symlinks".public static final String FS_TRUNCATE
FileSystem#truncate(Path, long)
?
Value: "fs.capability.paths.truncate".public static final String FS_XATTRS
FileSystem#.setXAttr()
and related methods?
Value: "fs.capability.paths.xattrs".@InterfaceStability.Unstable public static final String FS_EXPERIMENTAL_BATCH_LISTING
BatchListingOperations
.public static final String FS_MULTIPART_UPLOADER
public static final String ABORTABLE_STREAM
Abortable.abort()
.
Value: "fs.capability.outputstream.abortable".public static final String ETAGS_AVAILABLE
public static final String ETAGS_PRESERVED_IN_RENAME
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.