Package org.apache.lucene.index
Class ReaderSlice
- java.lang.Object
-
- org.apache.lucene.index.ReaderSlice
-
public final class ReaderSlice extends java.lang.Object
Subreader slice from a parent composite reader.
-
-
Field Summary
Fields Modifier and Type Field Description static ReaderSlice[]
EMPTY_ARRAY
Zero-lengthReaderSlice
array.int
length
Number of documents in this slice.int
readerIndex
Sub-reader index for this slice.int
start
Document ID this slice starts from.
-
Constructor Summary
Constructors Constructor Description ReaderSlice(int start, int length, int readerIndex)
Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
EMPTY_ARRAY
public static final ReaderSlice[] EMPTY_ARRAY
Zero-lengthReaderSlice
array.
-
start
public final int start
Document ID this slice starts from.
-
length
public final int length
Number of documents in this slice.
-
readerIndex
public final int readerIndex
Sub-reader index for this slice.
-
-