Package | Description |
---|---|
org.apache.hadoop.fs |
An abstract file system API.
|
Modifier and Type | Field and Description |
---|---|
static Set<FileStatus.AttrFlags> |
FileStatus.NONE
Shared, empty set of attributes (a common case for FileStatus).
|
Modifier and Type | Method and Description |
---|---|
static FileStatus.AttrFlags |
FileStatus.AttrFlags.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileStatus.AttrFlags[] |
FileStatus.AttrFlags.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Set<FileStatus.AttrFlags> |
FileStatus.attributes(boolean acl,
boolean crypt,
boolean ec,
boolean sn)
Convert boolean attributes to a set of flags.
|
Constructor and Description |
---|
FileStatus(long length,
boolean isdir,
int block_replication,
long blocksize,
long modification_time,
long access_time,
FsPermission permission,
String owner,
String group,
Path symlink,
Path path,
Set<FileStatus.AttrFlags> attr) |
LocatedFileStatus(long length,
boolean isdir,
int block_replication,
long blocksize,
long modification_time,
long access_time,
FsPermission permission,
String owner,
String group,
Path symlink,
Path path,
Set<FileStatus.AttrFlags> attr,
BlockLocation[] locations)
Constructor.
|
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.