AbstractReaderFileProxy |
|
BufferedDataOutputStreamPlus |
An implementation of the DataOutputStreamPlus interface using a ByteBuffer to stage writes
before flushing them to an underlying channel.
|
BufferManagingRebufferer |
Buffer manager used for reading from a ChunkReader when cache is not in use.
|
BufferManagingRebufferer.Aligned |
|
BufferManagingRebufferer.Unaligned |
|
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 |
|
ChecksummedSequentialWriter |
|
ChecksumWriter |
|
CompressedChunkReader |
|
CompressedChunkReader.Mmap |
|
CompressedChunkReader.Standard |
|
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.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.
|
EmptyRebufferer |
|
File |
A thin wrapper around java.nio.file.Path to provide more ergonomic functionality.
|
FileHandle |
|
FileHandle.Builder |
Configures how the file will be read (compressed, mmapped, use cache etc.)
|
FileInputStreamPlus |
|
FileOutputStreamPlus |
|
FileReader |
|
FileSegmentInputStream |
This is the same as DataInputBuffer, i.e.
|
FileStoreUtils |
|
FileUtils |
|
FileWriter |
|
LengthAvailableInputStream |
a FilterInputStream that returns the remaining bytes to read from available()
regardless of whether the device is ready to provide them.
|
LimitingRebufferer |
Rebufferer wrapper that applies rate limiting.
|
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 |
|
MmappedRegionsCache |
It is a utility class for caching MmappedRegions primarily used by a FileHandle.Builder when a handle
to the same file is created multiple times (as when an sstable is opened early).
|
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.
|
PageAware |
|
PathUtils |
Vernacular: tryX means return false or 0L on any failure; XIfNotY means propagate any exceptions besides those caused by Y
This class tries to apply uniform IOException handling, and does not propagate IOException except for NoSuchFileException.
|
RandomAccessReader |
|
RebufferingInputStream |
Rough equivalent of BufferedInputStream and DataInputStream wrapping a ByteBuffer that can be refilled
via rebuffer.
|
SafeMemory |
|
SafeMemoryWriter |
|
SequentialWriter |
Adds buffering, mark, and fsyncing to OutputStream.
|
SequentialWriter.BufferedFileWriterMark |
Class to hold a mark to the position of the file
|
SequentialWriterOption |
SequentialWriter option
|
SequentialWriterOption.Builder |
|
SimpleCachedBufferPool |
A very simple Bytebuffer pool with a fixed allocation size and a cached max allocation count.
|
SizedInts |
Utility class for sizing, writing and reading ints with length stored separately.
|
SpinningDiskOptimizationStrategy |
|
SsdDiskOptimizationStrategy |
|
TailOverridingRebufferer |
Special rebufferer that replaces the tail of the file (from the specified cutoff point) with the given buffer.
|
TeeDataInputPlus |
DataInput that also stores the raw inputs into an output buffer
This is useful for storing serialized buffers as they are deserialized.
|
ThreadLocalByteBufferHolder |
Utility class that allow buffers to be reused by storing them in a thread local instance.
|
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 |
|
WrappingRebufferer |
Instantiated once per RandomAccessReader, thread-unsafe.
|