Package org.apache.lucene.store
package org.apache.lucene.store
Binary i/o API, used for all index data.
-
ClassDescriptionThis exception is thrown when there is an attempt to access something that has already been closed.Base implementation for a concrete
Directory
that uses aLockFactory
for locking.Wraps anotherChecksum
with an internal buffer to speed up checksum calculations.Simple implementation ofChecksumIndexInput
that wraps another input and delegates calls.Base implementation class for bufferedIndexInput
.DataInput backed by a byte array.DataOutput backed by a byte array.Base IndexInput implementation that uses an array of ByteBuffers to represent a file.ADataOutput
storing data in a list ofByteBuffer
s.An implementation of aByteBuffer
allocation and recycling policy.AByteBuffer
-basedDirectory
implementation that can be used to store index files on the heap.AnIndexOutput
writing to aByteBuffersDataOutput
.Extension of IndexInput, computing checksum as it goes.Abstract base class for performing read operations of Lucene's low-level data types.Abstract base class for performing write operations of Lucene's low-level data types.ADirectory
provides an abstraction layer for storing a list of files.Expert: A Directory instance that switches files between two other Directory instances.Directory implementation that delegates calls to another directory.A FlushInfo provides information required for a FLUSH context.Base class for Directory implementations that store index files in the file system.Base class for file system based locking implementation.Abstract base class for input from a file in aDirectory
.ADataOutput
for appending data to a file in aDirectory
.ADataInput
wrapping a plainInputStream
.IOContext holds additional details on the merge/search context.Context is a enumerator which specifies the context in which the Directory is being used for.An interprocess mutex lock.Base class for Locking implementation.This exception is thrown when thewrite.lock
could not be acquired.This exception is thrown when thewrite.lock
could not be released.Simple standalone tool that forever acquires and releases a lock using a specificLockFactory
.This class makes a best-effort check that a providedLock
is valid before any destructive filesystem operation.Simple standalone server that must be running when you useVerifyingLockFactory
.A MergeInfo provides information required for a MERGE context.File-basedDirectory
implementation that uses mmap for reading, andFSDirectory.FSIndexOutput
for writing.ImplementsLockFactory
using native OS file locks.AnFSDirectory
implementation that uses java.nio's FileChannel's positional read, which allows multiple threads to read from the same file without synchronizing.Use thisLockFactory
to disable locking entirely.Wraps a RAM-resident directory around any provided delegate directory, to be used during NRT search.ADataOutput
wrapping a plainOutputStream
.Implementation class for bufferedIndexOutput
that writes to anOutputStream
.Random Access Index API.Abstract base class to rate limit IO.Simple class to rate limit IO.ImplementsLockFactory
for a single in-process instance, meaning all locking will take place through this one instance.Directory that wraps another, and that sleeps and retries if obtaining the lock fails.A delegating Directory that records which files were written to and deleted.ALockFactory
that wraps anotherLockFactory
and verifies that each lock obtain/release is "correct" (never results in two processes holding the lock at the same time).