public class DistinctComponent extends DelegatingComponent
ProcessingComponent implementation that removes duplicates. The results from the delegate component do not need to be
sorted; in fact, if the delegate component is a SortValuesComponent, then use DistinctOfSortedComponent instead
of this class.ProcessingComponent.DynamicOperation| Constructor and Description |
|---|
DistinctComponent(ProcessingComponent delegate) |
| Modifier and Type | Method and Description |
|---|---|
List<Object[]> |
execute()
Execute this stage of processing and return the resulting tuples that each conform to the
columns. |
close, delegatecreateDynamicOperation, createSortComparator, emptyTuples, getColumns, getContext, getLocationIndexes, problemspublic DistinctComponent(ProcessingComponent delegate)
public List<Object[]> execute()
ProcessingComponentcolumns.execute in class ProcessingComponentcolumns; never nullCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.