| 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.
|
| org.apache.lucene.util |
Some utility classes.
|
| 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 |
MockIndexOutputWrapper
Used by MockRAMDirectory to create an output stream that
will throw an IOException on fake disk full, track max
disk space actually used, and maybe throw random
IOExceptions.
|
class |
RAMOutputStream
A memory-resident
IndexOutput implementation. |
| Modifier and Type | Method and Description |
|---|---|
IndexOutput |
DirectIOLinuxDirectory.createOutput(String name) |
IndexOutput |
MockDirectoryWrapper.createOutput(String name) |
IndexOutput |
NRTCachingDirectory.createOutput(String name) |
IndexOutput |
FSDirectory.createOutput(String name)
Creates an IndexOutput for the file with the given name.
|
abstract IndexOutput |
Directory.createOutput(String name)
Creates a new, empty file in the directory with the given name.
|
IndexOutput |
RAMDirectory.createOutput(String name)
Creates a new, empty file in the directory with the given name.
|
IndexOutput |
FileSwitchDirectory.createOutput(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
MockIndexInputWrapper.copyBytes(IndexOutput out,
long numBytes) |
void |
BufferedIndexInput.copyBytes(IndexOutput out,
long numBytes) |
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. |
protected int |
BufferedIndexInput.flushBuffer(IndexOutput out,
long numBytes)
Flushes the in-memory bufer to the given output, copying at most
numBytes. |
void |
MockDirectoryWrapper.removeIndexOutput(IndexOutput out,
String name) |
void |
RAMOutputStream.writeTo(IndexOutput out)
Copy the current contents of this buffer to the named output.
|
| Constructor and Description |
|---|
ChecksumIndexOutput(IndexOutput main) |
MockIndexOutputWrapper(MockDirectoryWrapper dir,
IndexOutput delegate,
String name)
Construct an empty output buffer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ThrottledIndexOutput
Intentionally slow IndexOutput for testing.
|
| Modifier and Type | Method and Description |
|---|---|
ThrottledIndexOutput |
ThrottledIndexOutput.newFromDelegate(IndexOutput output) |
| Constructor and Description |
|---|
ThrottledIndexOutput(int bytesPerSecond,
long delayInMillis,
IndexOutput delegate) |
ThrottledIndexOutput(int bytesPerSecond,
long delays,
int minBytesWritten,
IndexOutput delegate) |
ThrottledIndexOutput(int bytesPerSecond,
long flushDelayMillis,
long closeDelayMillis,
long seekDelayMillis,
long minBytesWritten,
IndexOutput delegate) |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.