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 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.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.Utility class for executing code with exclusive access.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 invalid input: '&' 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-basedDirectory
implementation that uses mmap for reading, andFSDirectory.FSIndexOutput
for writing.ImplementsLockFactory
using native OS file locks.Provides JNI access to native methods such as madvise() forNativeUnixDirectory
ADirectory
implementation for all Unixes that uses DIRECT I/O to bypass OS level IO caching during merging.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.This exception is thrown when you try to list a non-existent directory.Wraps aRAMDirectory
around any provided delegate directory, to be used during NRT search.ADataOutput
wrapping a plainOutputStream
.A memory-residentDirectory
implementation.Represents a file in RAM as a list of byte[] buffers.A memory-residentIndexInput
implementation.A memory-residentIndexOutput
implementation.Abstract base class to rate limit IO.Simple class to rate limit IO.A straightforward implementation ofFSDirectory
using java.io.RandomAccessFile.ImplementsLockFactory
usingFile.createNewFile()
.ImplementsLockFactory
for 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.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).NativeDirectory
implementation for Microsoft Windows.