IntervalFilter

Wraps an IntervalIterator and passes through those intervals that match the accept function

Constructors

Link copied to clipboard
constructor(in: IntervalIterator)

Functions

Link copied to clipboard
open override fun advance(target: Int): Int
Link copied to clipboard
open override fun cost(): Long
Link copied to clipboard
open override fun docID(): Int
Link copied to clipboard
open override fun end(): Int

The end of the current interval

Link copied to clipboard
open override fun gaps(): Int

The number of gaps within the current interval

Link copied to clipboard
open fun intoBitSet(upTo: Int, bitSet: FixedBitSet, offset: Int)
Link copied to clipboard
open override fun matchCost(): Float

An indication of the average cost of iterating over all intervals in a document

Link copied to clipboard
open override fun nextDoc(): Int
Link copied to clipboard
override fun nextInterval(): Int

Advance the iterator to the next interval

Link copied to clipboard
open override fun start(): Int

The start of the current interval

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun width(): Int

The width of the current interval