Package | Description |
---|---|
org.apache.hadoop.fs |
An abstract file system API.
|
org.apache.hadoop.fs.viewfs |
Modifier and Type | Method and Description |
---|---|
static Options.ChecksumOpt |
Options.ChecksumOpt.createDisabled()
Create a ChecksumOpts that disables checksum
|
Options.ChecksumOpt |
FileChecksum.getChecksumOpt() |
Options.ChecksumOpt |
Options.CreateOpts.ChecksumParam.getValue() |
static Options.ChecksumOpt |
Options.ChecksumOpt.processChecksumOpt(Options.ChecksumOpt defaultOpt,
Options.ChecksumOpt userOpt)
A helper method for processing user input and default value to
create a combined checksum option.
|
static Options.ChecksumOpt |
Options.ChecksumOpt.processChecksumOpt(Options.ChecksumOpt defaultOpt,
Options.ChecksumOpt userOpt,
int userBytesPerChecksum)
A helper method for processing user input and default value to
create a combined checksum option.
|
Modifier and Type | Method and Description |
---|---|
static Options.CreateOpts.ChecksumParam |
Options.CreateOpts.checksumParam(Options.ChecksumOpt csumOpt) |
FSDataOutputStream |
FilterFileSystem.create(Path f,
FsPermission permission,
EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt) |
FSDataOutputStream |
FileSystem.create(Path f,
FsPermission permission,
EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt)
Create an FSDataOutputStream at the indicated Path with a custom
checksum option
|
abstract FSDataOutputStream |
AbstractFileSystem.createInternal(Path f,
EnumSet<CreateFlag> flag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt,
boolean createParent)
The specification of this method matches that of
AbstractFileSystem.create(Path, EnumSet, Options.CreateOpts...) except that the opts
have been declared explicitly. |
protected FSDataOutputStream |
FilterFileSystem.primitiveCreate(Path f,
FsPermission absolutePermission,
EnumSet<CreateFlag> flag,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt) |
protected FSDataOutputStream |
FileSystem.primitiveCreate(Path f,
FsPermission absolutePermission,
EnumSet<CreateFlag> flag,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt)
Deprecated.
|
static Options.ChecksumOpt |
Options.ChecksumOpt.processChecksumOpt(Options.ChecksumOpt defaultOpt,
Options.ChecksumOpt userOpt)
A helper method for processing user input and default value to
create a combined checksum option.
|
static Options.ChecksumOpt |
Options.ChecksumOpt.processChecksumOpt(Options.ChecksumOpt defaultOpt,
Options.ChecksumOpt userOpt,
int userBytesPerChecksum)
A helper method for processing user input and default value to
create a combined checksum option.
|
Constructor and Description |
---|
Options.CreateOpts.ChecksumParam(Options.ChecksumOpt csumOpt) |
Modifier and Type | Method and Description |
---|---|
FSDataOutputStream |
ViewFs.createInternal(Path f,
EnumSet<CreateFlag> flag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt,
boolean createParent) |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.