Package | Description |
---|---|
org.apache.lucene.codecs |
Codecs API: API for customization of the encoding and structure of the index.
|
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 |
---|---|
static long |
CodecUtil.checkFooter(ChecksumIndexInput in)
Validates the codec footer previously written by
CodecUtil.writeFooter(org.apache.lucene.store.IndexOutput) . |
static void |
CodecUtil.checkFooter(ChecksumIndexInput in,
Throwable priorException)
Validates the codec footer previously written by
CodecUtil.writeFooter(org.apache.lucene.store.IndexOutput) , optionally
passing an unexpected exception that has already occurred. |
Modifier and Type | Method and Description |
---|---|
static SegmentInfos |
SegmentInfos.readCommit(Directory directory,
ChecksumIndexInput input,
long generation)
Read the commit from the provided
ChecksumIndexInput . |
Modifier and Type | Class and Description |
---|---|
class |
BufferedChecksumIndexInput
Simple implementation of
ChecksumIndexInput that wraps
another input and delegates calls. |
Modifier and Type | Method and Description |
---|---|
ChecksumIndexInput |
Directory.openChecksumInput(String name,
IOContext context)
Opens a checksum-computing stream for reading an existing file.
|
Modifier and Type | Field and Description |
---|---|
protected ChecksumIndexInput |
OfflineSorter.ByteSequencesReader.in |
Modifier and Type | Method and Description |
---|---|
protected OfflineSorter.ByteSequencesReader |
OfflineSorter.getReader(ChecksumIndexInput in,
String name)
Subclasses can override to change how byte sequences are read from disk.
|
Constructor and Description |
---|
ByteSequencesReader(ChecksumIndexInput in,
String name)
Constructs a ByteSequencesReader from the provided IndexInput
|
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.