| Package | Description |
|---|---|
| org.apache.hadoop.fs |
An abstract file system API.
|
| org.apache.hadoop.fs.impl |
This package contains implementation classes for use inside
filesystems.
|
| org.apache.hadoop.io |
Generic i/o code for use when reading and writing data to the network,
to databases, and to files.
|
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
FSDataInputStream.read(ByteBufferPool bufferPool,
int maxLength) |
ByteBuffer |
FSDataInputStream.read(ByteBufferPool bufferPool,
int maxLength,
EnumSet<ReadOption> opts) |
| Modifier and Type | Class and Description |
|---|---|
class |
TrackingByteBufferPool
A wrapper
ByteBufferPool implementation that tracks whether all allocated buffers
are released. |
class |
VectorIOBufferPool
A ByteBufferPool implementation that uses a pair of functions to allocate
and release ByteBuffers; intended for use implementing the VectorIO API
as it makes the pair of functions easier to pass around and use in
existing code.
|
| Modifier and Type | Method and Description |
|---|---|
static TrackingByteBufferPool |
TrackingByteBufferPool.wrap(ByteBufferPool allocator)
Wrap an existing allocator with this tracking allocator.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ElasticByteBufferPool
This is a simple ByteBufferPool which just creates ByteBuffers as needed.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.