IndexReaderContext

abstract class IndexReaderContext

A struct-like class that represents a hierarchical relationship between IndexReader instances.

Inheritors

Properties

Link copied to clipboard

the doc base for this reader in the parent, 0 if parent is null

Link copied to clipboard
Link copied to clipboard

true if this context struct represents the top level reader within the hierarchical context

Link copied to clipboard

the ord for this reader in the parent, 0 if parent is null

Link copied to clipboard

The reader context for this reader's immediate parent, or null if none

Functions

Link copied to clipboard

Returns the context's children iff this context is a composite context otherwise null * .

Link copied to clipboard
fun id(): Any

Expert: Return an Object that uniquely identifies this context. The returned object does neither reference this IndexReaderContext nor the wrapped IndexReader.

Link copied to clipboard

Returns the context's leaves if this context is a top-level context. For convenience, if this is an LeafReaderContext this returns itself as the only leaf, and it will never return a null value.

Link copied to clipboard
abstract fun reader(): IndexReader

Returns the IndexReader, this context represents.