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 | Description |
---|---|---|
void |
FieldInfos.write(IndexOutput output) |
Modifier and Type | Class | 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 | Description |
---|---|---|
IndexOutput |
DirectIOLinuxDirectory.createOutput(String name) |
|
abstract IndexOutput |
Directory.createOutput(String name) |
Creates a new, empty file in the directory with the given name.
|
IndexOutput |
FileSwitchDirectory.createOutput(String name) |
|
IndexOutput |
FSDirectory.createOutput(String name) |
Creates an IndexOutput for the file with the given name.
|
IndexOutput |
MockDirectoryWrapper.createOutput(String name) |
|
IndexOutput |
NRTCachingDirectory.createOutput(String name) |
|
IndexOutput |
RAMDirectory.createOutput(String name) |
Creates a new, empty file in the directory with the given name.
|
Modifier and Type | Method | Description |
---|---|---|
void |
BufferedIndexInput.copyBytes(IndexOutput out,
long numBytes) |
|
void |
IndexInput.copyBytes(IndexOutput out,
long numBytes) |
Copies
numBytes bytes to the given IndexOutput . |
void |
MockIndexInputWrapper.copyBytes(IndexOutput out,
long numBytes) |
|
void |
RAMInputStream.copyBytes(IndexOutput out,
long numBytes) |
|
void |
SimpleFSDirectory.SimpleFSIndexInput.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 |
MockDirectoryWrapper.removeIndexOutput(IndexOutput out,
String name) |
|
void |
RAMOutputStream.writeTo(IndexOutput out) |
Copy the current contents of this buffer to the named output.
|
Constructor | Description |
---|---|
ChecksumIndexOutput(IndexOutput main) |
|
MockIndexOutputWrapper(MockDirectoryWrapper dir,
IndexOutput delegate,
String name) |
Construct an empty output buffer.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ThrottledIndexOutput |
Intentionally slow IndexOutput for testing.
|
Modifier and Type | Method | Description |
---|---|---|
ThrottledIndexOutput |
ThrottledIndexOutput.newFromDelegate(IndexOutput output) |
Constructor | Description |
---|---|
ThrottledIndexOutput(int bytesPerSecond,
long delays,
int minBytesWritten,
IndexOutput delegate) |
|
ThrottledIndexOutput(int bytesPerSecond,
long flushDelayMillis,
long closeDelayMillis,
long seekDelayMillis,
long minBytesWritten,
IndexOutput delegate) |
|
ThrottledIndexOutput(int bytesPerSecond,
long delayInMillis,
IndexOutput delegate) |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.