org.jboss.dna.graph.query.process
Class SortValuesComponent
java.lang.Object
org.jboss.dna.graph.query.process.ProcessingComponent
org.jboss.dna.graph.query.process.DelegatingComponent
org.jboss.dna.graph.query.process.SortValuesComponent
public class SortValuesComponent
- extends DelegatingComponent
A ProcessingComponent
implementation that performs a PROJECT
operation to reduce the columns that
appear in the results.
SortValuesComponent
public SortValuesComponent(ProcessingComponent delegate,
List<Ordering> orderings)
getSortingComparator
public Comparator<Object[]> getSortingComparator()
- Returns:
- sortingComparator
execute
public List<Object[]> execute()
- Execute this stage of processing and return the resulting tuples that each conform to the
columns
.
- Specified by:
execute
in class ProcessingComponent
- Returns:
- the list of tuples, where each tuple corresonds to the
columns
; never null - See Also:
ProcessingComponent.execute()
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.