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 and 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 and Description |
---|---|
FSDataOutputStream |
FileContext.create(Path f,
EnumSet<CreateFlag> createFlag,
Options.CreateOpts... opts)
Create or overwrite file on indicated path and returns an output stream for
writing into the file.
|
FSDataOutputStream |
AbstractFileSystem.create(Path f,
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. |
Modifier and Type | Method and Description |
---|---|
static SequenceFile.Writer |
SequenceFile.createWriter(FileContext fc,
Configuration conf,
Path name,
Class keyClass,
Class valClass,
SequenceFile.CompressionType compressionType,
CompressionCodec codec,
SequenceFile.Metadata metadata,
EnumSet<CreateFlag> createFlag,
Options.CreateOpts... opts)
Construct the preferred type of SequenceFile Writer.
|
Copyright © 2017 Apache Software Foundation. All Rights Reserved.