org.apache.lucene.search
Class ShardFieldDocSortedHitQueue

java.lang.Object
  extended by org.apache.lucene.util.PriorityQueue<org.apache.lucene.search.FieldDoc>
      extended by org.apache.lucene.search.ShardFieldDocSortedHitQueue

public class ShardFieldDocSortedHitQueue
extends org.apache.lucene.util.PriorityQueue<org.apache.lucene.search.FieldDoc>


Field Summary
 
Fields inherited from class org.apache.lucene.util.PriorityQueue
heap
 
Constructor Summary
ShardFieldDocSortedHitQueue(org.apache.lucene.search.SortField[] fields, int size)
           
 
Method Summary
protected  boolean lessThan(org.apache.lucene.search.FieldDoc arg0, org.apache.lucene.search.FieldDoc arg1)
           
 void setFields(org.apache.lucene.search.SortField[] fields)
           
 
Methods inherited from class org.apache.lucene.util.PriorityQueue
add, clear, getSentinelObject, initialize, insertWithOverflow, pop, size, top, updateTop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShardFieldDocSortedHitQueue

public ShardFieldDocSortedHitQueue(org.apache.lucene.search.SortField[] fields,
                                   int size)
Method Detail

setFields

public void setFields(org.apache.lucene.search.SortField[] fields)

lessThan

protected final boolean lessThan(org.apache.lucene.search.FieldDoc arg0,
                                 org.apache.lucene.search.FieldDoc arg1)
Specified by:
lessThan in class org.apache.lucene.util.PriorityQueue<org.apache.lucene.search.FieldDoc>