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
Directorythat uses aLockFactoryfor locking.Wraps anotherChecksumwith an internal buffer to speed up checksum calculations.Simple implementation ofChecksumIndexInputthat wraps another input and delegates calls.Base implementation class for bufferedIndexInput.DataInput backed by a byte array.DataOutput backed by a byte array.ADataOutputstoring data in a list ofByteBuffers.An implementation of aByteBufferallocation and recycling policy.AByteBuffer-basedDirectoryimplementation that can be used to store index files on the heap.AnIndexOutputwriting 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.ADirectoryprovides 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.IndexInput implementation that delegates calls to another directory.IndexOutput 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.ADataOutputfor appending data to a file in aDirectory.ADataInputwrapping 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.lockcould not be acquired.This exception is thrown when thewrite.lockcould 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 providedLockis 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-basedDirectoryimplementation that uses mmap for reading, andFSDirectory.FSIndexOutputfor writing.ImplementsLockFactoryusing native OS file locks.AnFSDirectoryimplementation that uses java.nio's FileChannel's positional read, which allows multiple threads to read from the same file without synchronizing.Use thisLockFactoryto disable locking entirely.Wraps a RAM-resident directory around any provided delegate directory, to be used during NRT search.ADataOutputwrapping a plainOutputStream.Implementation class for bufferedIndexOutputthat writes to anOutputStream.Random Access Index API.Abstract base class to rate limit IO.Simple class to rate limit IO.Advice regarding the read access pattern.ImplementsLockFactoryfor 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.ALockFactorythat wraps anotherLockFactoryand verifies that each lock obtain/release is "correct" (never results in two processes holding the lock at the same time).