Uses of Interface
org.apache.hadoop.fs.PositionedReadable
Packages that use PositionedReadable
Package
Description
Crypto related classes.
An abstract file system API.
-
Uses of PositionedReadable in org.apache.hadoop.crypto
Classes in org.apache.hadoop.crypto that implement PositionedReadable -
Uses of PositionedReadable in org.apache.hadoop.fs
Classes in org.apache.hadoop.fs that implement PositionedReadableModifier and TypeClassDescriptionclassA class that optimizes reading from FSInputStream by buffering.classUtility that wraps aFSInputStreamin aDataInputStreamand buffers input through aBufferedInputStream.classThis is a generic input stream for verifying checksums for data before it is read by a user.classFSInputStream is a generic old InputStream with a little bit of RAF-style seek ability.Methods in org.apache.hadoop.fs with parameters of type PositionedReadableModifier and TypeMethodDescriptionstatic CompletableFuture<ByteBuffer>VectoredReadUtils.readRangeFrom(PositionedReadable stream, FileRange range, IntFunction<ByteBuffer> allocate) Synchronously reads a range from the stream dealing with the combinations of ByteBuffers buffers and PositionedReadable streams.static CompletableFuture<ByteBuffer>VectoredReadUtils.readRangeFrom(PositionedReadable stream, FileRange range, IntFunction<ByteBuffer> allocate, Consumer<ByteBuffer> release) Synchronously reads a range from the stream dealing with the combinations of ByteBuffers buffers and PositionedReadable streams.static voidVectoredReadUtils.readVectored(PositionedReadable stream, List<? extends FileRange> ranges, IntFunction<ByteBuffer> allocate) This is the default implementation which iterates through the ranges to read each synchronously, but the intent is that subclasses can make more efficient readers.static voidVectoredReadUtils.readVectored(PositionedReadable stream, List<? extends FileRange> ranges, IntFunction<ByteBuffer> allocate, Consumer<ByteBuffer> release) Variant ofVectoredReadUtils.readVectored(PositionedReadable, List, IntFunction)where a release() function is invoked if problems surface during reads. -
Uses of PositionedReadable in org.apache.hadoop.fs.crypto
Classes in org.apache.hadoop.fs.crypto that implement PositionedReadable -
Uses of PositionedReadable in org.apache.hadoop.fs.ftp
Classes in org.apache.hadoop.fs.ftp that implement PositionedReadable