|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.expression.ExprNodeBase
com.espertech.esper.epl.expression.ExprAggregateNodeBase
com.espertech.esper.epl.expression.ExprAggMultiFunctionLinearAccessNode
public class ExprAggMultiFunctionLinearAccessNode
Field Summary |
---|
Fields inherited from class com.espertech.esper.epl.expression.ExprAggregateNodeBase |
---|
aggregationResultFuture, column, isDistinct |
Constructor Summary | |
---|---|
ExprAggMultiFunctionLinearAccessNode(AggregationStateType stateType,
boolean wildcard,
java.lang.String streamWildcard)
Ctor. |
Method Summary | |
---|---|
protected boolean |
equalsNodeAggregate(ExprAggregateNode node)
Return true if a expression aggregate node semantically equals the current node, or false if not. |
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)
|
protected java.lang.String |
getAggregationFunctionName()
Returns the aggregation function name for representation in a generate expression string. |
java.lang.Class |
getComponentTypeCollection()
|
EventType |
getEventTypeCollection(EventAdapterService eventAdapterService)
|
EventType |
getEventTypeSingle(EventAdapterService eventAdapterService,
java.lang.String statementId)
|
protected static boolean |
getIstreamOnly(StreamTypeService streamTypeService,
int streamNum)
|
AggregationStateType |
getStateType()
|
java.lang.String |
getStreamWildcard()
|
boolean |
isWildcard()
|
java.lang.String |
toExpressionString()
Renders the aggregation function expression. |
AggregationMethodFactory |
validateAggregationChild(ExprValidationContext validationContext)
Gives the aggregation node a chance to validate the sub-expression types. |
Methods inherited from class com.espertech.esper.epl.expression.ExprAggregateNodeBase |
---|
equalsNode, evaluate, getEventType, getExprEvaluator, getFactory, getType, isConstantResult, isDistinct, setAggregationResultFuture, validate, validateFilter, validateNumericChildAllowFilter |
Methods inherited from class com.espertech.esper.epl.expression.ExprNodeBase |
---|
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.espertech.esper.epl.expression.ExprNode |
---|
accept, accept, acceptChildnodes, addChildNode, addChildNodes, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes |
Constructor Detail |
---|
public ExprAggMultiFunctionLinearAccessNode(AggregationStateType stateType, boolean wildcard, java.lang.String streamWildcard)
Method Detail |
---|
public AggregationMethodFactory validateAggregationChild(ExprValidationContext validationContext) throws ExprValidationException
ExprAggregateNodeBase
validateAggregationChild
in class ExprAggregateNodeBase
validationContext
- validation information
ExprValidationException
- when expression validation failedprotected static boolean getIstreamOnly(StreamTypeService streamTypeService, int streamNum)
protected java.lang.String getAggregationFunctionName()
ExprAggregateNodeBase
getAggregationFunctionName
in class ExprAggregateNodeBase
public java.lang.String toExpressionString()
ExprAggregateNodeBase
toExpressionString
in interface ExprNode
toExpressionString
in class ExprAggregateNodeBase
public AggregationStateType getStateType()
public boolean isWildcard()
public java.lang.String getStreamWildcard()
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)
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
protected boolean equalsNodeAggregate(ExprAggregateNode node)
ExprAggregateNodeBase
For use by the equalsNode implementation which compares the distinct flag.
equalsNodeAggregate
in class ExprAggregateNodeBase
node
- to compare to
|
© 2006-2011 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |