|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.query.function.aggregate.AggregateFunction
org.teiid.query.processor.relational.SortingFilter
public class SortingFilter
| Constructor Summary | |
|---|---|
SortingFilter(AggregateFunction proxy,
BufferManager mgr,
java.lang.String groupName,
boolean removeDuplicates)
Constructor for DuplicateFilter. |
|
| Method Summary | |
|---|---|
void |
addInputDirect(java.lang.Object input,
java.util.List<?> tuple)
Called for the element value in every row of a group. |
java.util.List |
getElements()
|
java.lang.Object |
getResult()
Called after all values have been processed to get the result. |
void |
initialize(java.lang.Class<?> dataType,
java.lang.Class<?> inputType)
Called to initialize the function. |
void |
reset()
Called to reset the state of the function. |
void |
setElements(java.util.List elements)
|
void |
setIndecies(int[] indecies)
|
void |
setSortItems(java.util.List<OrderByItem> sortItems)
|
| Methods inherited from class org.teiid.query.function.aggregate.AggregateFunction |
|---|
addInput, setExpressionIndex |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SortingFilter(AggregateFunction proxy,
BufferManager mgr,
java.lang.String groupName,
boolean removeDuplicates)
| Method Detail |
|---|
public java.util.List getElements()
public void setElements(java.util.List elements)
public void setIndecies(int[] indecies)
public void setSortItems(java.util.List<OrderByItem> sortItems)
public void initialize(java.lang.Class<?> dataType,
java.lang.Class<?> inputType)
AggregateFunction
initialize in class AggregateFunctiondataType - Data type of element begin aggregatedorg.teiid.query.function.aggregate.AggregateFunction#initialize(String, Class)public void reset()
AggregateFunction
reset in class AggregateFunction
public void addInputDirect(java.lang.Object input,
java.util.List<?> tuple)
throws FunctionExecutionException,
ExpressionEvaluationException,
TeiidComponentException,
TeiidProcessingException
AggregateFunction
addInputDirect in class AggregateFunctioninput - Input value, may be null
TeiidProcessingException
FunctionExecutionException
ExpressionEvaluationException
TeiidComponentException
public java.lang.Object getResult()
throws TeiidComponentException,
TeiidProcessingException
AggregateFunction
getResult in class AggregateFunctionTeiidProcessingException
TeiidComponentExceptionAggregateFunction.getResult()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||