Show / Hide Table of Contents

    Class OpenBitSetDISI

    OpenBitSet with added methods to bulk-update the bits from a DocIdSetIterator. (DISI stands for DocIdSetIterator).

    Inheritance
    System.Object
    DocIdSet
    OpenBitSet
    OpenBitSetDISI
    Implements
    IBits
    Inherited Members
    OpenBitSet.m_bits
    OpenBitSet.m_wlen
    OpenBitSet.GetIterator()
    OpenBitSet.Bits
    OpenBitSet.IsCacheable
    OpenBitSet.Capacity
    OpenBitSet.Length
    OpenBitSet.IsEmpty
    OpenBitSet.GetBits()
    OpenBitSet.NumWords
    OpenBitSet.Get(Int32)
    OpenBitSet.FastGet(Int32)
    OpenBitSet.Get(Int64)
    OpenBitSet.FastGet(Int64)
    OpenBitSet.GetBit(Int32)
    OpenBitSet.Set(Int64)
    OpenBitSet.FastSet(Int32)
    OpenBitSet.FastSet(Int64)
    OpenBitSet.Set(Int64, Int64)
    OpenBitSet.ExpandingWordNum(Int64)
    OpenBitSet.FastClear(Int32)
    OpenBitSet.FastClear(Int64)
    OpenBitSet.Clear(Int64)
    OpenBitSet.Clear(Int32, Int32)
    OpenBitSet.Clear(Int64, Int64)
    OpenBitSet.GetAndSet(Int32)
    OpenBitSet.GetAndSet(Int64)
    OpenBitSet.FastFlip(Int32)
    OpenBitSet.FastFlip(Int64)
    OpenBitSet.Flip(Int64)
    OpenBitSet.FlipAndGet(Int32)
    OpenBitSet.FlipAndGet(Int64)
    OpenBitSet.Flip(Int64, Int64)
    OpenBitSet.Cardinality()
    OpenBitSet.IntersectionCount(OpenBitSet, OpenBitSet)
    OpenBitSet.UnionCount(OpenBitSet, OpenBitSet)
    OpenBitSet.AndNotCount(OpenBitSet, OpenBitSet)
    OpenBitSet.XorCount(OpenBitSet, OpenBitSet)
    OpenBitSet.NextSetBit(Int32)
    OpenBitSet.NextSetBit(Int64)
    OpenBitSet.PrevSetBit(Int32)
    OpenBitSet.PrevSetBit(Int64)
    OpenBitSet.Clone()
    OpenBitSet.Intersect(OpenBitSet)
    OpenBitSet.Union(OpenBitSet)
    OpenBitSet.Remove(OpenBitSet)
    OpenBitSet.Xor(OpenBitSet)
    OpenBitSet.And(OpenBitSet)
    OpenBitSet.Or(OpenBitSet)
    OpenBitSet.AndNot(OpenBitSet)
    OpenBitSet.Intersects(OpenBitSet)
    OpenBitSet.EnsureCapacityWords(Int32)
    OpenBitSet.EnsureCapacity(Int64)
    OpenBitSet.TrimTrailingZeros()
    OpenBitSet.Bits2words(Int64)
    OpenBitSet.Equals(Object)
    OpenBitSet.GetHashCode()
    DocIdSet.NewAnonymous(Func<DocIdSetIterator>)
    DocIdSet.NewAnonymous(Func<DocIdSetIterator>, Func<IBits>)
    DocIdSet.NewAnonymous(Func<DocIdSetIterator>, Func<Boolean>)
    DocIdSet.NewAnonymous(Func<DocIdSetIterator>, Func<IBits>, Func<Boolean>)
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public class OpenBitSetDISI : OpenBitSet, IBits

    Constructors

    | Improve this Doc View Source

    OpenBitSetDISI(DocIdSetIterator, Int32)

    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.

    Declaration
    public OpenBitSetDISI(DocIdSetIterator disi, int maxSize)
    Parameters
    Type Name Description
    DocIdSetIterator disi
    System.Int32 maxSize
    | Improve this Doc View Source

    OpenBitSetDISI(Int32)

    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.

    Declaration
    public OpenBitSetDISI(int maxSize)
    Parameters
    Type Name Description
    System.Int32 maxSize

    Methods

    | Improve this Doc View Source

    InPlaceAnd(DocIdSetIterator)

    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.

    Declaration
    public virtual void InPlaceAnd(DocIdSetIterator disi)
    Parameters
    Type Name Description
    DocIdSetIterator disi
    | Improve this Doc View Source

    InPlaceNot(DocIdSetIterator)

    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.

    Declaration
    public virtual void InPlaceNot(DocIdSetIterator disi)
    Parameters
    Type Name Description
    DocIdSetIterator disi
    | Improve this Doc View Source

    InPlaceOr(DocIdSetIterator)

    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.

    Declaration
    public virtual void InPlaceOr(DocIdSetIterator disi)
    Parameters
    Type Name Description
    DocIdSetIterator disi
    | Improve this Doc View Source

    InPlaceXor(DocIdSetIterator)

    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.

    Declaration
    public virtual void InPlaceXor(DocIdSetIterator disi)
    Parameters
    Type Name Description
    DocIdSetIterator disi

    Implements

    IBits
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)