org.elasticsearch.common.lucene.docset
Class NotDocSet

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.GetDocSet
              extended by org.elasticsearch.common.lucene.docset.NotDocSet

public class NotDocSet
extends GetDocSet


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
NotDocSet(DocSet set, int max)
           
 
Method Summary
 boolean get(int doc)
           
 boolean isCacheable()
           
 long sizeInBytes()
           
 
Methods inherited from class org.elasticsearch.common.lucene.docset.GetDocSet
iterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotDocSet

public NotDocSet(DocSet set,
                 int max)
Method Detail

isCacheable

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

get

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

sizeInBytes

public long sizeInBytes()
Overrides:
sizeInBytes in class GetDocSet