public class ExprAggMultiFunctionSortedMinMaxByNode extends ExprAggregateNodeBase implements ExprEvaluatorEnumeration
Constructor and Description |
---|
ExprAggMultiFunctionSortedMinMaxByNode(boolean max,
boolean ever,
boolean sortedwin)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
EventBean |
evaluateGetEventBean(EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context) |
java.util.Collection<EventBean> |
evaluateGetROCollectionEvents(EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context) |
java.util.Collection |
evaluateGetROCollectionScalar(EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context) |
java.lang.String |
getAggregationFunctionName()
Returns the aggregation function name for representation in a generate expression string.
|
java.lang.Class |
getComponentTypeCollection() |
EventType |
getEventTypeCollection(EventAdapterService eventAdapterService,
java.lang.String statementId) |
EventType |
getEventTypeSingle(EventAdapterService eventAdapterService,
java.lang.String statementId) |
boolean |
isMax() |
boolean |
isSortedwin() |
void |
toPrecedenceFreeEPL(java.io.StringWriter writer) |
AggregationMethodFactory |
validateAggregationChild(ExprValidationContext validationContext)
Gives the aggregation node a chance to validate the sub-expression types.
|
equalsNode, evaluate, getExprEvaluator, getFactory, getPrecedence, getType, isConstantResult, isDistinct, setAggregationResultFuture, validate, validateFilter
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, accept, acceptChildnodes, addChildNode, addChildNodes, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
public ExprAggMultiFunctionSortedMinMaxByNode(boolean max, boolean ever, boolean sortedwin)
public AggregationMethodFactory validateAggregationChild(ExprValidationContext validationContext) throws ExprValidationException
ExprAggregateNodeBase
validationContext
- validation informationExprValidationException
- when expression validation failedpublic java.lang.String getAggregationFunctionName()
ExprAggregateNodeBase
public void toPrecedenceFreeEPL(java.io.StringWriter writer)
toPrecedenceFreeEPL
in class ExprAggregateNodeBase
public java.util.Collection<EventBean> evaluateGetROCollectionEvents(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
evaluateGetROCollectionEvents
in interface ExprEvaluatorEnumeration
public java.util.Collection evaluateGetROCollectionScalar(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
evaluateGetROCollectionScalar
in interface ExprEvaluatorEnumeration
public EventType getEventTypeCollection(EventAdapterService eventAdapterService, java.lang.String statementId)
getEventTypeCollection
in interface ExprEvaluatorEnumeration
public java.lang.Class getComponentTypeCollection() throws ExprValidationException
getComponentTypeCollection
in interface ExprEvaluatorEnumeration
ExprValidationException
public EventType getEventTypeSingle(EventAdapterService eventAdapterService, java.lang.String statementId) throws ExprValidationException
getEventTypeSingle
in interface ExprEvaluatorEnumeration
ExprValidationException
public EventBean evaluateGetEventBean(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
evaluateGetEventBean
in interface ExprEvaluatorEnumeration
public boolean isMax()
public boolean isSortedwin()