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 |
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) |
protected PathHandle |
FileSystem.createPathHandle(FileStatus stat,
org.apache.hadoop.fs.Options.HandleOpt... opt)
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 |
---|---|
FSDataInputStream |
FileSystem.open(PathHandle fd)
Open an FSDataInputStream matching the PathHandle instance.
|
FSDataInputStream |
RawLocalFileSystem.open(PathHandle fd,
int bufferSize) |
FSDataInputStream |
FilterFileSystem.open(PathHandle fd,
int bufferSize) |
FSDataInputStream |
FileSystem.open(PathHandle fd,
int bufferSize)
Open an FSDataInputStream matching the PathHandle instance.
|
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,
Set<String> mandatoryKeys,
Configuration options,
int bufferSize) |
protected CompletableFuture<FSDataInputStream> |
FileSystem.openFileWithOptions(PathHandle pathHandle,
Set<String> mandatoryKeys,
Configuration options,
int bufferSize)
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 © 2019 Apache Software Foundation. All rights reserved.