org.elasticsearch.common.lucene.docset
Class FixedBitDocSet

java.lang.Object
  extended by org.apache.lucene.search.DocIdSet
      extended by org.elasticsearch.common.lucene.docset.DocSet
          extended by org.elasticsearch.common.lucene.docset.FixedBitDocSet

public class FixedBitDocSet
extends DocSet


Field Summary
 
Fields inherited from class org.elasticsearch.common.lucene.docset.DocSet
EMPTY_DOC_SET
 
Fields inherited from class org.apache.lucene.search.DocIdSet
EMPTY_DOCIDSET
 
Constructor Summary
FixedBitDocSet(org.apache.lucene.util.FixedBitSet set)
           
FixedBitDocSet(int numBits)
           
 
Method Summary
 boolean get(int doc)
           
 boolean isCacheable()
           
 org.apache.lucene.search.DocIdSetIterator iterator()
           
 org.apache.lucene.util.FixedBitSet set()
           
 long sizeInBytes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedBitDocSet

public FixedBitDocSet(org.apache.lucene.util.FixedBitSet set)

FixedBitDocSet

public FixedBitDocSet(int numBits)
Method Detail

isCacheable

public boolean isCacheable()
Overrides:
isCacheable in class org.apache.lucene.search.DocIdSet

set

public org.apache.lucene.util.FixedBitSet set()

get

public boolean get(int doc)
            throws java.io.IOException
Specified by:
get in class DocSet
Throws:
java.io.IOException

iterator

public org.apache.lucene.search.DocIdSetIterator iterator()
                                                   throws java.io.IOException
Specified by:
iterator in class org.apache.lucene.search.DocIdSet
Throws:
java.io.IOException

sizeInBytes

public long sizeInBytes()
Specified by:
sizeInBytes in class DocSet