org.modeshape.jcr.query.process
Class DistinctOfSortedComponent
java.lang.Object
org.modeshape.jcr.query.process.ProcessingComponent
org.modeshape.jcr.query.process.DelegatingComponent
org.modeshape.jcr.query.process.DistinctOfSortedComponent
public class DistinctOfSortedComponent
- extends DelegatingComponent
An efficient ProcessingComponent
that removes duplicates from an already-sorted set of results.
- See Also:
DistinctComponent
Method Summary |
List<Object[]> |
execute()
Execute this stage of processing and return the resulting tuples that each conform to the columns . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistinctOfSortedComponent
public DistinctOfSortedComponent(SortValuesComponent delegate)
execute
public List<Object[]> execute()
- Description copied from class:
ProcessingComponent
- 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
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.