|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.index.IndexReaderContext
org.apache.lucene.index.AtomicReaderContext
public final class AtomicReaderContext
IndexReaderContext for AtomicReader instances.
| Field Summary | |
|---|---|
int |
docBase
The readers absolute doc base |
int |
ord
The readers ord in the top-level's leaves array |
| Fields inherited from class org.apache.lucene.index.IndexReaderContext |
|---|
docBaseInParent, isTopLevel, ordInParent, parent |
| Method Summary | |
|---|---|
List<IndexReaderContext> |
children()
Returns the context's children iff this context is a composite context otherwise null. |
List<AtomicReaderContext> |
leaves()
Returns the context's leaves if this context is a top-level context. |
AtomicReader |
reader()
Returns the IndexReader, this context represents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final int ord
public final int docBase
| Method Detail |
|---|
public List<AtomicReaderContext> leaves()
IndexReaderContextAtomicReaderContext this
returns itself as the only leaf.
Note: this is convenience method since leaves can always be obtained by
walking the context tree using IndexReaderContext.children().
leaves in class IndexReaderContextIndexReaderContext.children()public List<IndexReaderContext> children()
IndexReaderContextnull.
children in class IndexReaderContextpublic AtomicReader reader()
IndexReaderContextIndexReader, this context represents.
reader in class IndexReaderContext
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||