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.Base implementation class for bufferedIndexInput.Base implementation class for bufferedIndexOutput.DataInput backed by a byte array.DataOutput backed by a byte array.Reads bytes through to a primary IndexInput, computing checksum as it goes.Writes bytes through to a primary IndexOutput, computing checksum.Class for accessing a compound stream.Offset/Length for a slice inside of a compound fileAbstract 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.A Directory is a flat 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 reading input from a RandomAccessFileWrites output withRandomAccessFile.write(byte[], int, int)Base class for file system based locking implementation.Abstract base class for input from a file in aDirectory.Abstract base class for output to a file in a Directory.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.Utility class for executing code with exclusive access.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 & releases a lock using a specific LockFactory.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.Reads bytes withFileChannel.read(ByteBuffer, long)Use thisLockFactoryto disable locking entirely.This exception is thrown when you try to list a non-existent directory.Wraps aRAMDirectoryaround any provided delegate directory, to be used during NRT search.ADataOutputwrapping a plainOutputStream.A memory-residentDirectoryimplementation.Represents a file in RAM as a list of byte[] buffers.A memory-residentIndexInputimplementation.A memory-residentIndexOutputimplementation.Abstract base class to rate limit IO.Simple class to rate limit IO.A straightforward implementation ofFSDirectoryusing java.io.RandomAccessFile.Reads bytes withRandomAccessFile.seek(long)followed byRandomAccessFile.read(byte[], int, int).ImplementsLockFactoryusingFile.createNewFile().ImplementsLockFactoryfor a single in-process instance, meaning all locking will take place through this one instance.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).