Uses of Interface
org.apache.hadoop.fs.PathHandle
Packages that use PathHandle
Package
Description
An abstract file system API.
This package contains implementation classes for use inside
filesystems.
-
Uses of PathHandle in org.apache.hadoop.fs
Classes in org.apache.hadoop.fs that implement PathHandleModifier and TypeClassDescriptionclassOpaque handle to an entity in a FileSystem.final classGeneric format of FileStatus objects.Methods in org.apache.hadoop.fs that return PathHandleModifier and TypeMethodDescriptionprotected PathHandleFileSystem.createPathHandle(FileStatus stat, Options.HandleOpt... opt) Hook to implement support forPathHandleoperations.protected PathHandleFilterFileSystem.createPathHandle(FileStatus stat, Options.HandleOpt... opts) protected PathHandleHarFileSystem.createPathHandle(FileStatus stat, Options.HandleOpt... opts) protected PathHandleRawLocalFileSystem.createPathHandle(FileStatus stat, Options.HandleOpt... opts) Hook to implement support forPathHandleoperations.final PathHandleFileSystem.getPathHandle(FileStatus stat, Options.HandleOpt... opt) Create a durable, serializable handle to the referent of the given entity.Methods in org.apache.hadoop.fs that return types with arguments of type PathHandleModifier and TypeMethodDescriptionMultipartUploader.complete(UploadHandle uploadId, Path filePath, Map<Integer, PartHandle> handles) Complete a multipart upload.static Function<FileStatus,PathHandle> Options.HandleOpt.resolve(BiFunction<FileStatus, Options.HandleOpt[], PathHandle> fsr, Options.HandleOpt... opt) Utility function for partial evaluation ofFileStatusinstances to a fixed set of handle options.static Function<FileStatus,PathHandle> Options.HandleOpt.resolve(FileSystem fs, Options.HandleOpt... opt) Utility function for mappingFileSystem.getPathHandle(org.apache.hadoop.fs.FileStatus, org.apache.hadoop.fs.Options.HandleOpt...)to a fixed set of handle options.Methods in org.apache.hadoop.fs with parameters of type PathHandleModifier and TypeMethodDescriptionprotected static org.apache.hadoop.fs.FileSystem.FSDataInputStreamBuilderFileSystem.createDataInputStreamBuilder(FileSystem fileSystem, PathHandle pathHandle) Create instance of the standardFileSystem.FSDataInputStreamBuilderfor the given filesystem and path handle.FileSystem.open(PathHandle fd) Open an FSDataInputStream matching the PathHandle instance.FileSystem.open(PathHandle fd, int bufferSize) Open an FSDataInputStream matching the PathHandle instance.FilterFileSystem.open(PathHandle fd, int bufferSize) HarFileSystem.open(PathHandle fd, int bufferSize) RawLocalFileSystem.open(PathHandle fd, int bufferSize) FileSystem.openFile(PathHandle pathHandle) Open a file for reading through a builder API.FilterFileSystem.openFile(PathHandle pathHandle) protected CompletableFuture<FSDataInputStream>FileSystem.openFileWithOptions(PathHandle pathHandle, OpenFileParameters parameters) Execute the actual open file operation.protected CompletableFuture<FSDataInputStream>FilterFileSystem.openFileWithOptions(PathHandle pathHandle, OpenFileParameters parameters) Method parameters in org.apache.hadoop.fs with type arguments of type PathHandleModifier and TypeMethodDescriptionstatic Function<FileStatus,PathHandle> Options.HandleOpt.resolve(BiFunction<FileStatus, Options.HandleOpt[], PathHandle> fsr, Options.HandleOpt... opt) Utility function for partial evaluation ofFileStatusinstances to a fixed set of handle options.Constructors in org.apache.hadoop.fs with parameters of type PathHandleModifierConstructorDescriptionRawPathHandle(PathHandle handle) Initialize using a copy of bytes from the serialized handle. -
Uses of PathHandle in org.apache.hadoop.fs.impl
Methods in org.apache.hadoop.fs.impl that return PathHandleModifier and TypeMethodDescriptionAbstractFSBuilderImpl.getPathHandle()Get the PathHandle: only valid if constructed with a PathHandle.Methods in org.apache.hadoop.fs.impl that return types with arguments of type PathHandleModifier and TypeMethodDescriptionFileSystemMultipartUploader.complete(UploadHandle uploadId, Path filePath, Map<Integer, PartHandle> handleMap) AbstractFSBuilderImpl.getOptionalPathHandle()Get the optional path handle; may be empty.Constructors in org.apache.hadoop.fs.impl with parameters of type PathHandleModifierConstructorDescriptionprotectedAbstractFSBuilderImpl(PathHandle pathHandle) FutureDataInputStreamBuilderImpl(FileSystem fileSystem, PathHandle pathHandle) Constructor with PathHandle.