| Package | Description |
|---|---|
| org.apache.hadoop.fs |
An abstract file system API.
|
| org.apache.hadoop.fs.ftp | |
| org.apache.hadoop.fs.sftp |
SFTP FileSystem package.
|
| 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.
|
| org.apache.hadoop.util |
Common utilities.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected Progressable |
FSDataOutputStreamBuilder.getProgress() |
|
Progressable |
Options.CreateOpts.Progress.getValue() |
| Modifier and Type | Method | Description |
|---|---|---|
FSDataOutputStream |
ChecksumFileSystem.append(Path f,
int bufferSize,
Progressable progress) |
|
abstract FSDataOutputStream |
FileSystem.append(Path f,
int bufferSize,
Progressable progress) |
Append to an existing file (optional operation).
|
FSDataOutputStream |
FileSystem.append(Path f,
int bufferSize,
Progressable progress,
boolean appendToNewBlock) |
Append to an existing file (optional operation).
|
FSDataOutputStream |
FilterFileSystem.append(Path f,
int bufferSize,
Progressable progress) |
|
FSDataOutputStream |
HarFileSystem.append(Path f,
int bufferSize,
Progressable progress) |
|
FSDataOutputStream |
RawLocalFileSystem.append(Path f,
int bufferSize,
Progressable progress) |
|
FSDataOutputStream |
ChecksumFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
FSDataOutputStream |
ChecksumFileSystem.create(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt) |
|
FSDataOutputStream |
FileSystem.create(Path f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
Create an FSDataOutputStream at the indicated Path with write-progress
reporting.
|
FSDataOutputStream |
FileSystem.create(Path f,
boolean overwrite,
int bufferSize,
Progressable progress) |
Create an
FSDataOutputStream at the indicated Path
with write-progress reporting. |
FSDataOutputStream |
FileSystem.create(Path f,
short replication,
Progressable progress) |
Create an FSDataOutputStream at the indicated Path with write-progress
reporting.
|
abstract FSDataOutputStream |
FileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
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) |
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 |
FileSystem.create(Path f,
Progressable progress) |
Create an FSDataOutputStream at the indicated Path with write-progress
reporting.
|
FSDataOutputStream |
FilterFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
FSDataOutputStream |
FilterFileSystem.create(Path f,
FsPermission permission,
java.util.EnumSet<CreateFlag> flags,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
Options.ChecksumOpt checksumOpt) |
|
FSDataOutputStream |
HarFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
FSDataOutputStream |
RawLocalFileSystem.create(Path f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
FSDataOutputStream |
RawLocalFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
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,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
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,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
Opens an FSDataOutputStream at the indicated Path with write-progress
reporting.
|
FSDataOutputStream |
FileSystem.createNonRecursive(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
Opens an FSDataOutputStream at the indicated Path with write-progress
reporting.
|
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 |
HarFileSystem.createNonRecursive(Path f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
FSDataOutputStream |
RawLocalFileSystem.createNonRecursive(Path f,
FsPermission permission,
boolean overwrite,
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) |
|
B |
FSDataOutputStreamBuilder.progress(Progressable prog) |
Set the facility of reporting progress.
|
static Options.CreateOpts.Progress |
Options.CreateOpts.progress(Progressable prog) |
| Constructor | Description |
|---|---|
Progress(Progressable prog) |
| Modifier and Type | Method | Description |
|---|---|---|
FSDataOutputStream |
FTPFileSystem.append(Path f,
int bufferSize,
Progressable progress) |
This optional operation is not yet supported.
|
FSDataOutputStream |
FTPFileSystem.create(Path file,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
A stream obtained via this call must be closed before using other APIs of
this class or else the invocation will block.
|
| Modifier and Type | Method | Description |
|---|---|---|
FSDataOutputStream |
SFTPFileSystem.append(Path f,
int bufferSize,
Progressable progress) |
|
FSDataOutputStream |
SFTPFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
A stream obtained via this call must be closed before using other APIs of
this class or else the invocation will block.
|
| Modifier and Type | Method | Description |
|---|---|---|
FSDataOutputStream |
ViewFileSystem.append(Path f,
int bufferSize,
Progressable progress) |
|
FSDataOutputStream |
ViewFileSystem.create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
|
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 |
|---|---|---|
SequenceFile.Writer |
SequenceFile.Sorter.cloneFileAttributes(Path inputFile,
Path outputFile,
Progressable prog) |
Clones the attributes (like compression of the input file and creates a
corresponding Writer
|
static SequenceFile.Writer |
SequenceFile.createWriter(FileSystem fs,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass,
int bufferSize,
short replication,
long blockSize,
SequenceFile.CompressionType compressionType,
CompressionCodec codec,
Progressable progress,
SequenceFile.Metadata metadata) |
Deprecated.
|
static SequenceFile.Writer |
SequenceFile.createWriter(FileSystem fs,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass,
SequenceFile.CompressionType compressionType,
CompressionCodec codec,
Progressable progress) |
Deprecated.
|
static SequenceFile.Writer |
SequenceFile.createWriter(FileSystem fs,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass,
SequenceFile.CompressionType compressionType,
CompressionCodec codec,
Progressable progress,
SequenceFile.Metadata metadata) |
Deprecated.
|
static SequenceFile.Writer |
SequenceFile.createWriter(FileSystem fs,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass,
SequenceFile.CompressionType compressionType,
Progressable progress) |
Deprecated.
|
static SequenceFile.Writer.Option |
MapFile.Writer.progressable(Progressable value) |
|
static SequenceFile.Writer.Option |
SequenceFile.Writer.progressable(Progressable value) |
|
void |
SequenceFile.Sorter.setProgressable(Progressable progressable) |
Set the progressable object in order to report progress.
|
| Constructor | Description |
|---|---|
Writer(Configuration conf,
FileSystem fs,
java.lang.String file,
java.lang.Class<? extends Writable> valClass,
SequenceFile.CompressionType compress,
Progressable progress) |
Create the named file for values of the named class.
|
Writer(Configuration conf,
FileSystem fs,
java.lang.String dirName,
java.lang.Class<? extends WritableComparable> keyClass,
java.lang.Class<? extends Writable> valClass,
SequenceFile.CompressionType compress,
CompressionCodec codec,
Progressable progress) |
Deprecated.
|
Writer(Configuration conf,
FileSystem fs,
java.lang.String dirName,
java.lang.Class<? extends WritableComparable> keyClass,
java.lang.Class valClass,
SequenceFile.CompressionType compress,
Progressable progress) |
Deprecated.
|
Writer(Configuration conf,
FileSystem fs,
java.lang.String dirName,
WritableComparator comparator,
java.lang.Class valClass,
SequenceFile.CompressionType compress,
CompressionCodec codec,
Progressable progress) |
Deprecated.
|
Writer(Configuration conf,
FileSystem fs,
java.lang.String dirName,
WritableComparator comparator,
java.lang.Class valClass,
SequenceFile.CompressionType compress,
Progressable progress) |
Deprecated.
|
Writer(Configuration conf,
FileSystem fs,
java.lang.String dirName,
java.lang.Class<? extends WritableComparable> keyClass,
java.lang.Class valClass,
SequenceFile.CompressionType compress,
CompressionCodec codec,
Progressable progress) |
Deprecated.
Use Writer(Configuration, Path, Option...) instead.
|
Writer(Configuration conf,
FileSystem fs,
java.lang.String dirName,
java.lang.Class<? extends WritableComparable> keyClass,
java.lang.Class valClass,
SequenceFile.CompressionType compress,
Progressable progress) |
Deprecated.
Use Writer(Configuration, Path, Option...) instead.
|
Writer(Configuration conf,
FileSystem fs,
java.lang.String dirName,
WritableComparator comparator,
java.lang.Class valClass,
SequenceFile.CompressionType compress,
CompressionCodec codec,
Progressable progress) |
Deprecated.
Use Writer(Configuration, Path, Option...) instead.
|
Writer(Configuration conf,
FileSystem fs,
java.lang.String dirName,
WritableComparator comparator,
java.lang.Class valClass,
SequenceFile.CompressionType compress,
Progressable progress) |
Deprecated.
Use Writer(Configuration, Path, Option...)} instead.
|
Writer(FileSystem fs,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass,
int bufferSize,
short replication,
long blockSize,
Progressable progress,
SequenceFile.Metadata metadata) |
Deprecated.
|
Writer(FileSystem fs,
Configuration conf,
Path name,
java.lang.Class keyClass,
java.lang.Class valClass,
Progressable progress,
SequenceFile.Metadata metadata) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
Progressable |
Options.ProgressableOption.getValue() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
HeapSort.sort(IndexedSortable s,
int p,
int r,
Progressable rep) |
|
void |
IndexedSorter.sort(IndexedSortable s,
int l,
int r,
Progressable rep) |
Same as
IndexedSorter.sort(IndexedSortable,int,int), but indicate progress
periodically. |
void |
QuickSort.sort(IndexedSortable s,
int p,
int r,
Progressable rep) |
| Constructor | Description |
|---|---|
ProgressableOption(Progressable value) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.