Package | Description |
---|---|
org.apache.hadoop.fs |
Implementations of
AbstractFileSystem for hdfs
over rpc and hdfs over web. |
org.apache.hadoop.fs.impl |
This package contains implementation classes for use inside
filesystems.
|
Modifier and Type | Method and Description |
---|---|
protected PathHandle |
FilterFileSystem.createPathHandle(FileStatus stat,
org.apache.hadoop.fs.Options.HandleOpt... opts) |
protected PathHandle |
FileSystem.createPathHandle(FileStatus stat,
org.apache.hadoop.fs.Options.HandleOpt... opt)
Hook to implement support for
PathHandle operations. |
protected PathHandle |
RawLocalFileSystem.createPathHandle(FileStatus stat,
org.apache.hadoop.fs.Options.HandleOpt... opts)
Hook to implement support for
PathHandle operations. |
PathHandle |
FileSystem.getPathHandle(FileStatus stat,
org.apache.hadoop.fs.Options.HandleOpt... opt)
Create a durable, serializable handle to the referent of the given
entity.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<PathHandle> |
MultipartUploader.complete(UploadHandle uploadId,
Path filePath,
Map<Integer,PartHandle> handles)
Complete a multipart upload.
|
Modifier and Type | Method and Description |
---|---|
FSDataInputStream |
FileSystem.open(PathHandle fd)
Open an FSDataInputStream matching the PathHandle instance.
|
FSDataInputStream |
FilterFileSystem.open(PathHandle fd,
int bufferSize) |
FSDataInputStream |
FileSystem.open(PathHandle fd,
int bufferSize)
Open an FSDataInputStream matching the PathHandle instance.
|
FSDataInputStream |
RawLocalFileSystem.open(PathHandle fd,
int bufferSize) |
FutureDataInputStreamBuilder |
FilterFileSystem.openFile(PathHandle pathHandle) |
FutureDataInputStreamBuilder |
FileSystem.openFile(PathHandle pathHandle)
Open a file for reading through a builder API.
|
protected CompletableFuture<FSDataInputStream> |
FilterFileSystem.openFileWithOptions(PathHandle pathHandle,
org.apache.hadoop.fs.impl.OpenFileParameters parameters) |
protected CompletableFuture<FSDataInputStream> |
FileSystem.openFileWithOptions(PathHandle pathHandle,
org.apache.hadoop.fs.impl.OpenFileParameters parameters)
Execute the actual open file operation.
|
Modifier and Type | Method and Description |
---|---|
PathHandle |
AbstractFSBuilderImpl.getPathHandle()
Get the PathHandle: only valid if constructed with a PathHandle.
|
Modifier and Type | Method and Description |
---|---|
Optional<PathHandle> |
AbstractFSBuilderImpl.getOptionalPathHandle()
Get the optional path handle; may be empty.
|
Constructor and Description |
---|
AbstractFSBuilderImpl(PathHandle pathHandle) |
FutureDataInputStreamBuilderImpl(FileSystem fileSystem,
PathHandle pathHandle)
Constructor with PathHandle.
|
Constructor and Description |
---|
AbstractFSBuilderImpl(Optional<Path> optionalPath,
Optional<PathHandle> optionalPathHandle)
Constructor with both optional path and path handle.
|
Copyright © 2023 Apache Software Foundation. All rights reserved.