org.apache.lucene.index
public final class AtomicReaderContext extends IndexReaderContext
IndexReaderContext for AtomicReader instances.| Modifier and Type | Field and Description | 
|---|---|
int | 
docBase
The readers absolute doc base 
 | 
int | 
ord
The readers ord in the top-level's leaves array 
 | 
docBaseInParent, isTopLevel, ordInParent, parent| Modifier and Type | Method and Description | 
|---|---|
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. | 
public final int ord
public final int docBase
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 IndexReaderContextCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.