Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.store |
Binary i/o API, used for all index data.
|
Modifier and Type | Method and Description |
---|---|
void |
FieldInfos.write(IndexOutput output) |
Modifier and Type | Class and Description |
---|---|
class |
BufferedIndexOutput
Base implementation class for buffered
IndexOutput . |
class |
ChecksumIndexOutput
Writes bytes through to a primary IndexOutput, computing
checksum.
|
protected static class |
FSDirectory.FSIndexOutput |
class |
RAMOutputStream
A memory-resident
IndexOutput implementation. |
Modifier and Type | Method and Description |
---|---|
IndexOutput |
RAMDirectory.createOutput(String name)
Creates a new, empty file in the directory with the given name.
|
IndexOutput |
NRTCachingDirectory.createOutput(String name) |
IndexOutput |
FSDirectory.createOutput(String name)
Creates an IndexOutput for the file with the given name.
|
IndexOutput |
FileSwitchDirectory.createOutput(String name) |
abstract IndexOutput |
Directory.createOutput(String name)
Creates a new, empty file in the directory with the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleFSDirectory.SimpleFSIndexInput.copyBytes(IndexOutput out,
long numBytes) |
void |
RAMInputStream.copyBytes(IndexOutput out,
long numBytes) |
void |
IndexInput.copyBytes(IndexOutput out,
long numBytes)
Copies
numBytes bytes to the given IndexOutput . |
void |
BufferedIndexInput.copyBytes(IndexOutput out,
long numBytes) |
protected int |
BufferedIndexInput.flushBuffer(IndexOutput out,
long numBytes)
Flushes the in-memory bufer to the given output, copying at most
numBytes . |
void |
RAMOutputStream.writeTo(IndexOutput out)
Copy the current contents of this buffer to the named output.
|
Constructor and Description |
---|
ChecksumIndexOutput(IndexOutput main) |