BitDocIdSet

class BitDocIdSet(set: BitSet, cost: Long) : DocIdSet

Implementation of the DocIdSet interface on top of a BitSet.

Constructors

Link copied to clipboard
constructor(set: BitSet, cost: Long)
constructor(set: BitSet)

Same as .BitDocIdSet but uses the set's as a cost.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns nested resources of this class. The result should be a point-in-time snapshot (to avoid race conditions).

Functions

Link copied to clipboard
open override fun iterator(): DocIdSetIterator

Provides a DocIdSetIterator to access the set. This implementation can return null if there are no docs that match.

Link copied to clipboard
open override fun ramBytesUsed(): Long

Return the memory usage of this object in bytes. Negative values are illegal.

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