| 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 | 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 |
RAMOutputStream |
A memory-resident
IndexOutput implementation. |
| Modifier and Type | Method | Description |
|---|---|---|
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 |
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 |
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 |
RAMOutputStream.writeTo(IndexOutput out) |
Copy the current contents of this buffer to the named output.
|
| Constructor | Description |
|---|---|
ChecksumIndexOutput(IndexOutput main) |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.