public class SortingFilter extends AggregateFunction
argIndexes| Constructor and Description |
|---|
SortingFilter(AggregateFunction proxy,
BufferManager mgr,
String groupName,
boolean removeDuplicates)
Constructor for DuplicateFilter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addInputDirect(List<?> tuple,
CommandContext commandContext)
Called for the element value in every row of a group.
|
List<ElementSymbol> |
getElements() |
Object |
getResult(CommandContext commandContext)
Called after all values have been processed to get the result.
|
void |
initialize(Class<?> dataType,
Class<?>[] inputTypes)
Called to initialize the function.
|
void |
reset()
Called to reset the state of the function.
|
boolean |
respectsNull() |
void |
setElements(List<ElementSymbol> elements) |
void |
setSortItems(List<OrderByItem> sortItems) |
addInput, filter, getArgIndexes, getOutputType, getState, getStateTypes, setArgIndexes, setConditionIndex, setStatepublic SortingFilter(AggregateFunction proxy, BufferManager mgr, String groupName, boolean removeDuplicates)
public List<ElementSymbol> getElements()
public void setElements(List<ElementSymbol> elements)
public void setSortItems(List<OrderByItem> sortItems)
public void initialize(Class<?> dataType, Class<?>[] inputTypes)
AggregateFunctioninitialize in class AggregateFunctiondataType - Data type of element begin aggregatedpublic void reset()
AggregateFunctionreset in class AggregateFunctionpublic void addInputDirect(List<?> tuple, CommandContext commandContext) throws TeiidComponentException, TeiidProcessingException
AggregateFunctionaddInputDirect in class AggregateFunctionTeiidProcessingExceptionTeiidComponentExceptionpublic Object getResult(CommandContext commandContext) throws TeiidComponentException, TeiidProcessingException
AggregateFunctiongetResult in class AggregateFunctionTeiidProcessingExceptionTeiidComponentExceptionAggregateFunction.getResult(CommandContext)public boolean respectsNull()
respectsNull in class AggregateFunctionCopyright © 2019. All rights reserved.