Class OrderComparator
java.lang.Object
org.eclipse.rdf4j.query.algebra.evaluation.util.OrderComparator
- All Implemented Interfaces:
 Comparator<BindingSet>
A 
Comparator on BindingSets that imposes a total ordering by examining supplied Order
elements (i.e. the elements of an ORDER BY clause), falling back on a custom predictable ordering for BindingSet
elements if no ordering is established on the basis of the Order elements.- Author:
 - James Leigh, Jeen Broekstra
 
- 
Constructor Summary
ConstructorsConstructorDescriptionOrderComparator(EvaluationStrategy strategy, Order order, ValueComparator cmp, QueryEvaluationContext context)  - 
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong 
- 
Constructor Details
- 
OrderComparator
public OrderComparator(EvaluationStrategy strategy, Order order, ValueComparator cmp, QueryEvaluationContext context)  
 - 
 - 
Method Details
- 
compare
- Specified by:
 comparein interfaceComparator<BindingSet>
 
 -