| Interface | Description |
|---|---|
| BytesReadTracker | |
| DataInputPlus |
Extension to DataInput that provides support for reading varints
|
| DataOutputPlus |
Extension to DataOutput that provides for writing ByteBuffer and Memory, potentially with an efficient
implementation that is zero copy or at least has reduced bounds checking overhead.
|
| DataPosition | |
| FileDataInput | |
| ICompressedFile | |
| RewindableDataInput |
| Class | Description |
|---|---|
| BufferedDataOutputStreamPlus |
An implementation of the DataOutputStreamPlus interface using a ByteBuffer to stage writes
before flushing them to an underlying channel.
|
| BufferedSegmentedFile | |
| BufferedSegmentedFile.Builder | |
| ChannelProxy |
A proxy of a FileChannel that:
- implements reference counting
- exports only thread safe FileChannel operations
- wraps IO exceptions into runtime exceptions
Tested by RandomAccessReaderTest.
|
| ChecksummedRandomAccessReader | |
| ChecksummedRandomAccessReader.Builder | |
| ChecksummedSequentialWriter | |
| CompressedSegmentedFile | |
| CompressedSegmentedFile.Builder | |
| DataInputBuffer |
Input stream around a single ByteBuffer.
|
| DataInputPlus.DataInputStreamPlus |
Wrapper around an InputStream that provides no buffering but can decode varints
|
| DataIntegrityMetadata | |
| DataIntegrityMetadata.ChecksumValidator | |
| DataIntegrityMetadata.ChecksumWriter | |
| DataIntegrityMetadata.FileDigestValidator | |
| DataOutputBuffer |
An implementation of the DataOutputStream interface using a FastByteArrayOutputStream and exposing
its buffer so copies can be avoided.
|
| DataOutputBufferFixed |
An implementation of the DataOutputStream interface using a FastByteArrayOutputStream and exposing
its buffer so copies can be avoided.
|
| DataOutputStreamPlus |
Abstract base class for DataOutputStreams that accept writes from ByteBuffer or Memory and also provide
access to the underlying WritableByteChannel associated with their output stream.
|
| DiskAwareRunnable | |
| FastByteArrayInputStream |
A specialized
InputStream for reading the contents of a byte array. |
| FileSegmentInputStream |
This is the same as DataInputBuffer, i.e.
|
| FileUtils | |
| LengthAvailableInputStream |
a FilterInputStream that returns the remaining bytes to read from available()
regardless of whether the device is ready to provide them.
|
| Memory |
An off-heap region of memory that must be manually free'd when no longer needed.
|
| MemoryInputStream | |
| MemoryOutputStream |
This class provides a way to stream the writes into the
Memory |
| MmappedRegions | |
| MmappedRegions.Region | |
| MmappedRegions.Tidier | |
| MmappedSegmentedFile | |
| NIODataInputStream |
Rough equivalent of BufferedInputStream and DataInputStream wrapping the input stream of a File or Socket
Created to work around the fact that when BIS + DIS delegate to NIO for socket IO they will allocate large
thread local direct byte buffers when a large array is used to read.
|
| RandomAccessReader | |
| RandomAccessReader.BufferedRandomAccessFileMark |
Class to hold a mark to the position of the file
|
| RandomAccessReader.Builder | |
| RandomAccessReader.RandomAccessReaderWithOwnChannel | |
| RebufferingInputStream |
Rough equivalent of BufferedInputStream and DataInputStream wrapping a ByteBuffer that can be refilled
via rebuffer.
|
| RewindableDataInputStreamPlus |
Adds mark/reset functionality to another input stream by caching read bytes to a memory buffer and
spilling to disk if necessary.
|
| RewindableDataInputStreamPlus.RewindableDataInputPlusMark | |
| SafeMemory | |
| SafeMemoryWriter | |
| SegmentedFile |
Abstracts a read-only file that has been split into segments, each of which can be represented by an independent
FileDataInput.
|
| SegmentedFile.Builder |
Collects potential segmentation points in an underlying file, and builds a SegmentedFile to represent it.
|
| SegmentedFile.Cleanup | |
| SequentialWriter |
Adds buffering, mark, and fsyncing to OutputStream.
|
| SequentialWriter.BufferedFileWriterMark |
Class to hold a mark to the position of the file
|
| TrackedDataInputPlus |
This class is to track bytes read from given DataInput
|
| TrackedInputStream |
This class is to track bytes read from given DataInputStream
|
| UnbufferedDataOutputStreamPlus |
Base class for DataOutput implementations that does not have an optimized implementations of Plus methods
and does no buffering.
|
| WrappedDataOutputStreamPlus |
When possible use
WrappedDataOutputStreamPlus instead of this class, as it will
be more efficient when using Plus methods. |
| Exception | Description |
|---|---|
| ChecksummedRandomAccessReader.CorruptFileException |
Copyright © 2016 The Apache Software Foundation