public final class Lucene50CompoundFormat extends CompoundFormat
Files:
Description:
IndexHeaderVIntUInt64StringCodecFooterNotes:
| Constructor and Description |
|---|
Lucene50CompoundFormat()
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
files(SegmentInfo si)
Returns the compound file names used by this segment.
|
Directory |
getCompoundReader(Directory dir,
SegmentInfo si,
IOContext context)
Returns a Directory view (read-only) for the compound files in this segment
|
void |
write(Directory dir,
SegmentInfo si,
Collection<String> files,
IOContext context)
Packs the provided files into a compound format.
|
public Directory getCompoundReader(Directory dir, SegmentInfo si, IOContext context) throws IOException
CompoundFormatgetCompoundReader in class CompoundFormatIOExceptionpublic void write(Directory dir, SegmentInfo si, Collection<String> files, IOContext context) throws IOException
CompoundFormatwrite in class CompoundFormatIOExceptionpublic String[] files(SegmentInfo si)
CompoundFormatfiles in class CompoundFormatCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.