public class

OpenBitSetDISI

extends OpenBitSet
java.lang.Object
   ↳ org.apache.lucene.search.DocIdSet
     ↳ org.apache.lucene.util.OpenBitSet
       ↳ org.apache.lucene.util.OpenBitSetDISI

Summary

[Expand]
Inherited Fields
From class org.apache.lucene.util.OpenBitSet
From class org.apache.lucene.search.DocIdSet
Public Constructors
OpenBitSetDISI(DocIdSetIterator disi, int maxSize)
Construct an OpenBitSetDISI with its bits set from the doc ids of the given DocIdSetIterator.
OpenBitSetDISI(int maxSize)
Construct an OpenBitSetDISI with no bits set, and a given maximum size one larger than the largest doc id for which a bit may ever be set on this OpenBitSetDISI.
Public Methods
void inPlaceAnd(DocIdSetIterator disi)
Perform an inplace AND with the doc ids from a given DocIdSetIterator, leaving only the bits set for which the doc ids are in common.
void inPlaceNot(DocIdSetIterator disi)
Perform an inplace NOT with the doc ids from a given DocIdSetIterator, clearing all the bits for each such doc id.
void inPlaceOr(DocIdSetIterator disi)
Perform an inplace OR with the doc ids from a given DocIdSetIterator, setting the bit for each such doc id.
void inPlaceXor(DocIdSetIterator disi)
Perform an inplace XOR with the doc ids from a given DocIdSetIterator, flipping all the bits for each such doc id.
[Expand]
Inherited Methods
From class org.apache.lucene.util.OpenBitSet
From class org.apache.lucene.search.DocIdSet
From class java.lang.Object

Public Constructors

public OpenBitSetDISI (DocIdSetIterator disi, int maxSize)

Construct an OpenBitSetDISI with its bits set from the doc ids of the given DocIdSetIterator. Also give a maximum size one larger than the largest doc id for which a bit may ever be set on this OpenBitSetDISI.

Throws
IOException

public OpenBitSetDISI (int maxSize)

Construct an OpenBitSetDISI with no bits set, and a given maximum size one larger than the largest doc id for which a bit may ever be set on this OpenBitSetDISI.

Public Methods

public void inPlaceAnd (DocIdSetIterator disi)

Perform an inplace AND with the doc ids from a given DocIdSetIterator, leaving only the bits set for which the doc ids are in common. These doc ids should be smaller than the maximum size passed to the constructor.

Throws
IOException

public void inPlaceNot (DocIdSetIterator disi)

Perform an inplace NOT with the doc ids from a given DocIdSetIterator, clearing all the bits for each such doc id. These doc ids should be smaller than the maximum size passed to the constructor.

Throws
IOException

public void inPlaceOr (DocIdSetIterator disi)

Perform an inplace OR with the doc ids from a given DocIdSetIterator, setting the bit for each such doc id. These doc ids should be smaller than the maximum size passed to the constructor.

Throws
IOException

public void inPlaceXor (DocIdSetIterator disi)

Perform an inplace XOR with the doc ids from a given DocIdSetIterator, flipping all the bits for each such doc id. These doc ids should be smaller than the maximum size passed to the constructor.

Throws
IOException