| Package | Description |
|---|---|
| org.apache.hadoop.fs |
An abstract file system API.
|
| org.apache.hadoop.fs.crypto |
| Modifier and Type | Class and Description |
|---|---|
class |
FSDataInputStream
Utility that wraps a
FSInputStream in a DataInputStream
and buffers input through a BufferedInputStream. |
class |
FSInputStream
FSInputStream is a generic old InputStream with a little bit
of RAF-style seek ability.
|
| Modifier and Type | Method and Description |
|---|---|
static 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 void |
VectoredReadUtils.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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CryptoFSDataInputStream |
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.