Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
org.apache.lucene.codecs.lucene41 |
Lucene 4.1 file format.
|
org.apache.lucene.store |
Binary i/o API, used for all index data.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
PostingsWriterBase.start(IndexOutput termsOut)
Called once after startup, before any terms have been
added.
|
protected void |
BlockTreeTermsWriter.writeHeader(IndexOutput out)
Writes the terms file header.
|
protected void |
BlockTreeTermsWriter.writeIndexHeader(IndexOutput out)
Writes the index file header.
|
protected void |
BlockTreeTermsWriter.writeIndexTrailer(IndexOutput indexOut,
long dirStart)
Writes the index file trailer.
|
long |
MultiLevelSkipListWriter.writeSkip(IndexOutput output)
Writes the buffered skip lists to the given output.
|
protected abstract void |
MultiLevelSkipListWriter.writeSkipData(int level,
IndexOutput skipBuffer)
Subclasses must implement the actual skip data encoding in this method.
|
protected void |
BlockTreeTermsWriter.writeTrailer(IndexOutput out,
long dirStart)
Writes the terms file trailer.
|
Modifier and Type | Method and Description |
---|---|
void |
Lucene41PostingsWriter.start(IndexOutput termsOut) |
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
Writes output with
RandomAccessFile.write(byte[], int, int) |
class |
RAMOutputStream
A memory-resident
IndexOutput implementation. |
Modifier and Type | Method and Description |
---|---|
abstract IndexOutput |
Directory.createOutput(String name,
IOContext context)
Creates a new, empty file in the directory with the given name.
|
IndexOutput |
CompoundFileDirectory.createOutput(String name,
IOContext context) |
IndexOutput |
TrackingDirectoryWrapper.createOutput(String name,
IOContext context) |
IndexOutput |
RateLimitedDirectoryWrapper.createOutput(String name,
IOContext context) |
IndexOutput |
RAMDirectory.createOutput(String name,
IOContext context)
Creates a new, empty file in the directory with the given name.
|
IndexOutput |
NRTCachingDirectory.createOutput(String name,
IOContext context) |
IndexOutput |
FSDirectory.createOutput(String name,
IOContext context)
Creates an IndexOutput for the file with the given name.
|
IndexOutput |
FilterDirectory.createOutput(String name,
IOContext context) |
IndexOutput |
FileSwitchDirectory.createOutput(String name,
IOContext context) |
Modifier and Type | Method and Description |
---|---|
protected int |
BufferedIndexInput.flushBuffer(IndexOutput out,
long numBytes)
Flushes the in-memory buffer 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) |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.