public class OpenBitSetDISI extends OpenBitSet
DocIdSetIterator
.Bits.MatchAllBits, Bits.MatchNoBits
bits, wlen
EMPTY_ARRAY
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
and, andNot, andNotCount, bits, bits2words, capacity, cardinality, clear, clear, clear, clone, ensureCapacity, ensureCapacityWords, equals, expandingWordNum, fastClear, fastClear, fastFlip, fastFlip, fastGet, fastGet, fastSet, fastSet, flip, flip, flipAndGet, flipAndGet, get, get, getAndSet, getAndSet, getBit, getBits, getNumWords, hashCode, intersect, intersectionCount, intersects, isCacheable, isEmpty, iterator, length, nextSetBit, nextSetBit, or, prevSetBit, prevSetBit, ramBytesUsed, remove, set, set, size, trimTrailingZeros, union, unionCount, xor, xorCount
public OpenBitSetDISI(DocIdSetIterator disi, int maxSize) throws IOException
IOException
public OpenBitSetDISI(int maxSize)
public void inPlaceOr(DocIdSetIterator disi) throws IOException
IOException
public void inPlaceAnd(DocIdSetIterator disi) throws IOException
IOException
public void inPlaceNot(DocIdSetIterator disi) throws IOException
IOException
public void inPlaceXor(DocIdSetIterator disi) throws IOException
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.