org.elasticsearch.common.lucene.docset
Class GetDocSet

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
All Implemented Interfaces:
org.apache.lucene.util.Bits
Direct Known Subclasses:
GeoDistanceFilter.GeoDistanceDocSet, GeoDistanceRangeFilter.GeoDistanceRangeDocSet, GeoPolygonFilter.GeoPolygonDocSet, InMemoryGeoBoundingBoxFilter.GeoBoundingBoxDocSet, InMemoryGeoBoundingBoxFilter.Meridian180GeoBoundingBoxDocSet, LimitFilter.LimitDocSet, NotDocSet

public abstract class GetDocSet
extends DocSet


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 class org.elasticsearch.common.lucene.docset.DocSet
EMPTY_DOC_SET
 
Fields inherited from class org.apache.lucene.search.DocIdSet
EMPTY_DOCIDSET
 
Fields inherited from interface org.apache.lucene.util.Bits
EMPTY_ARRAY
 
Constructor Summary
protected GetDocSet(int maxDoc)
           
 
Method Summary
 org.apache.lucene.search.DocIdSetIterator iterator()
           
 int length()
           
 long sizeInBytes()
           
 
Methods inherited from class org.elasticsearch.common.lucene.docset.DocSet
get
 
Methods inherited from class org.apache.lucene.search.DocIdSet
isCacheable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetDocSet

protected GetDocSet(int maxDoc)
Method Detail

sizeInBytes

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

length

public int length()

iterator

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


Copyright © 2009-2012. All Rights Reserved.