org.apache.jackrabbit.core.query.lucene.sort
Class DynamicOperandFieldComparatorSource

java.lang.Object
  extended by org.apache.lucene.search.FieldComparatorSource
      extended by org.apache.jackrabbit.core.query.lucene.sort.DynamicOperandFieldComparatorSource
All Implemented Interfaces:
Serializable

public final class DynamicOperandFieldComparatorSource
extends org.apache.lucene.search.FieldComparatorSource

See Also:
Serialized Form

Constructor Summary
DynamicOperandFieldComparatorSource(Session session, org.apache.jackrabbit.commons.query.qom.OperandEvaluator evaluator, Map<String,Ordering> orderByProperties)
           
 
Method Summary
 org.apache.lucene.search.FieldComparator newComparator(String fieldname, int numHits, int sortPos, boolean reversed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicOperandFieldComparatorSource

public DynamicOperandFieldComparatorSource(Session session,
                                           org.apache.jackrabbit.commons.query.qom.OperandEvaluator evaluator,
                                           Map<String,Ordering> orderByProperties)
Method Detail

newComparator

public org.apache.lucene.search.FieldComparator newComparator(String fieldname,
                                                              int numHits,
                                                              int sortPos,
                                                              boolean reversed)
                                                       throws IOException
Specified by:
newComparator in class org.apache.lucene.search.FieldComparatorSource
Throws:
IOException


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.