java.lang.Object
org.elasticsearch.lucene.util.CombinedBits
- All Implemented Interfaces:
org.apache.lucene.util.Bits
A
Bits implementation that combines two Bits instances by and-ing them to provide a single merged view.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.lucene.util.Bits
org.apache.lucene.util.Bits.MatchAllBits, org.apache.lucene.util.Bits.MatchNoBits -
Field Summary
Fields inherited from interface org.apache.lucene.util.Bits
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionCombinedBits(org.apache.lucene.util.Bits first, org.apache.lucene.util.Bits second) -
Method Summary
-
Constructor Details
-
CombinedBits
public CombinedBits(org.apache.lucene.util.Bits first, org.apache.lucene.util.Bits second)
-
-
Method Details
-
get
public boolean get(int index) - Specified by:
getin interfaceorg.apache.lucene.util.Bits
-
length
public int length()- Specified by:
lengthin interfaceorg.apache.lucene.util.Bits
-
applyMask
public void applyMask(org.apache.lucene.util.FixedBitSet bitSet, int offset) - Specified by:
applyMaskin interfaceorg.apache.lucene.util.Bits
-