| Package | Description |
|---|---|
| org.apache.hadoop.fs |
An abstract file system API.
|
| 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 | Class | Description |
|---|---|---|
static class |
Options.CreateOpts.BlockSize |
|
static class |
Options.CreateOpts.BufferSize |
|
static class |
Options.CreateOpts.BytesPerChecksum |
This is not needed if ChecksumParam is specified.
|
static class |
Options.CreateOpts.ChecksumParam |
|
static class |
Options.CreateOpts.CreateParent |
|
static class |
Options.CreateOpts.Perms |
|
static class |
Options.CreateOpts.Progress |
|
static class |
Options.CreateOpts.ReplicationFactor |
| 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 |
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.
|
| 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.