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 |
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. |
protected PathHandle |
FilterFileSystem.createPathHandle(FileStatus stat,
org.apache.hadoop.fs.Options.HandleOpt... opts) |
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 |
---|---|
FSDataInputStream |
FileSystem.open(PathHandle fd)
Open an FSDataInputStream matching the PathHandle instance.
|
FSDataInputStream |
FileSystem.open(PathHandle fd,
int bufferSize)
Open an FSDataInputStream matching the PathHandle instance.
|
FSDataInputStream |
RawLocalFileSystem.open(PathHandle fd,
int bufferSize) |
FSDataInputStream |
FilterFileSystem.open(PathHandle fd,
int bufferSize) |
FutureDataInputStreamBuilder |
FileSystem.openFile(PathHandle pathHandle)
Open a file for reading through a builder API.
|
FutureDataInputStreamBuilder |
FilterFileSystem.openFile(PathHandle pathHandle) |
protected CompletableFuture<FSDataInputStream> |
FileSystem.openFileWithOptions(PathHandle pathHandle,
org.apache.hadoop.fs.impl.OpenFileParameters parameters)
Execute the actual open file operation.
|
protected CompletableFuture<FSDataInputStream> |
FilterFileSystem.openFileWithOptions(PathHandle pathHandle,
org.apache.hadoop.fs.impl.OpenFileParameters parameters) |
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 © 2020 Apache Software Foundation. All rights reserved.