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, delegate
createDynamicOperation, createSortComparator, emptyTuples, getColumns, getContext, getLocationIndexes, problems
public DistinctComponent(ProcessingComponent delegate)
public List<Object[]> execute()
ProcessingComponent
columns
.execute
in class ProcessingComponent
columns
; never nullCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.