| Package | Description |
|---|---|
| org.apache.hadoop.fs |
An abstract file system API.
|
| org.apache.hadoop.fs.impl |
This package contains implementation classes for use inside
filesystems.
|
| org.apache.hadoop.fs.viewfs |
ViewFileSystem and ViewFileSystemOverloadScheme classes.
|
| org.apache.hadoop.io |
Generic i/o code for use when reading and writing data to the network,
to databases, and to files.
|
| Modifier and Type | Method | Description |
|---|---|---|
static CreateFlag |
CreateFlag.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CreateFlag[] |
CreateFlag.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.EnumSet<CreateFlag> |
FSDataOutputStreamBuilder.getFlags() |
| Modifier and Type | Method | Description |
|---|---|---|
FSDataOutputStream |
AbstractFileSystem.create(Path f,
java.util.EnumSet<CreateFlag> createFlag,
Options.CreateOpts... opts) |
The specification of this method matches that of
FileContext.create(Path, EnumSet, Options.CreateOpts...) except
that the Path f must be fully qualified and the permission is absolute
(i.e. |
FSDataOutputStream |
ChecksumFileSystem.create(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt) |
|
FSDataOutputStream |
FileContext.create(Path f,
java.util.EnumSet<CreateFlag> createFlag,
Options.CreateOpts... opts) |
Create or overwrite file on indicated path and returns an output stream for
writing into the file.
|
FSDataOutputStream |
FileSystem.create(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
Create an FSDataOutputStream at the indicated Path with write-progress
reporting.
|
FSDataOutputStream |
FileSystem.create(Path f,
FsPermission permission,
java.util.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.
|
FSDataOutputStream |
FilterFileSystem.create(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt) |
|
abstract FSDataOutputStream |
AbstractFileSystem.createInternal(Path f,
java.util.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. |
FSDataOutputStream |
ChecksumFs.createInternal(Path f,
java.util.EnumSet<CreateFlag> createFlag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt,
boolean createParent) |
|
FSDataOutputStream |
DelegateToFileSystem.createInternal(Path f,
java.util.EnumSet<CreateFlag> flag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt,
boolean createParent) |
|
FSDataOutputStream |
FilterFs.createInternal(Path f,
java.util.EnumSet<CreateFlag> flag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt,
boolean createParent) |
|
FSDataOutputStream |
ChecksumFileSystem.createNonRecursive(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
FSDataOutputStream |
FileSystem.createNonRecursive(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
Opens an FSDataOutputStream at the indicated Path with write-progress
reporting.
|
FSDataOutputStream |
FilterFileSystem.createNonRecursive(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
FSDataOutputStream |
RawLocalFileSystem.createNonRecursive(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
protected FSDataOutputStream |
FileSystem.primitiveCreate(Path f,
FsPermission absolutePermission,
java.util.EnumSet<CreateFlag> flag,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt) |
Deprecated.
|
protected FSDataOutputStream |
FilterFileSystem.primitiveCreate(Path f,
FsPermission absolutePermission,
java.util.EnumSet<CreateFlag> flag,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt) |
|
static void |
CreateFlag.validate(java.lang.Object path,
boolean pathExists,
java.util.EnumSet<CreateFlag> flag) |
Validate the CreateFlag for create operation
|
static void |
CreateFlag.validate(java.util.EnumSet<CreateFlag> flag) |
Validate the CreateFlag and throw exception if it is invalid
|
static void |
CreateFlag.validateForAppend(java.util.EnumSet<CreateFlag> flag) |
Validate the CreateFlag for the append operation.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.EnumSet<CreateFlag> |
FileSystemMultipartUploaderBuilder.getFlags() |
|
protected java.util.EnumSet<CreateFlag> |
MultipartUploaderBuilderImpl.getFlags() |
| Modifier and Type | Method | Description |
|---|---|---|
FSDataOutputStream |
ViewFs.createInternal(Path f,
java.util.EnumSet<CreateFlag> flag,
FsPermission absolutePermission,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt,
boolean createParent) |
|
FSDataOutputStream |
ViewFileSystem.createNonRecursive(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
| Modifier and Type | Method | Description |
|---|---|---|
static SequenceFile.Writer |
SequenceFile.createWriter(FileContext fc,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass,
SequenceFile.CompressionType compressionType,
CompressionCodec codec,
SequenceFile.Metadata metadata,
java.util.EnumSet<CreateFlag> createFlag,
Options.CreateOpts... opts) |
Construct the preferred type of SequenceFile Writer.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.