|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.expression.core.ExprNodeBase
com.espertech.esper.epl.expression.baseagg.ExprAggregateNodeBase
com.espertech.esper.epl.expression.accessagg.ExprAggCountMinSketchNode
public class ExprAggCountMinSketchNode
Represents the Count-min sketch aggregate function.
Field Summary |
---|
Fields inherited from class com.espertech.esper.epl.expression.baseagg.ExprAggregateNodeBase |
---|
aggregationResultFuture, column, isDistinct |
Constructor Summary | |
---|---|
ExprAggCountMinSketchNode(boolean distinct,
CountMinSketchAggType aggType)
Ctor. |
Method Summary | |
---|---|
boolean |
equalsNodeAggregateMethodOnly(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)
|
java.lang.String |
getAggregationFunctionName()
Returns the aggregation function name for representation in a generate expression string. |
CountMinSketchAggType |
getAggType()
|
java.lang.Class |
getComponentTypeCollection()
|
ExprValidationException |
getDeclaredWrongParameterExpr()
|
EventType |
getEventTypeCollection(EventAdapterService eventAdapterService,
java.lang.String statementId)
|
EventType |
getEventTypeSingle(EventAdapterService eventAdapterService,
java.lang.String statementId)
|
protected boolean |
isExprTextWildcardWhenNoParams()
|
AggregationMethodFactory |
validateAggregationChild(ExprValidationContext validationContext)
Gives the aggregation node a chance to validate the sub-expression types. |
AggregationMethodFactory |
validateAggregationParamsWBinding(ExprValidationContext context,
TableMetadataColumnAggregation tableAccessColumn)
|
Methods inherited from class com.espertech.esper.epl.expression.baseagg.ExprAggregateNodeBase |
---|
equalsNode, evaluate, getExprEvaluator, getFactory, getPrecedence, getType, isConstantResult, isDistinct, setAggregationResultFuture, toPrecedenceFreeEPL, validate, validateFilter, validateNumericChildAllowFilter |
Methods inherited from class com.espertech.esper.epl.expression.core.ExprNodeBase |
---|
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL |
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.core.ExprNode |
---|
accept, accept, acceptChildnodes, addChildNode, addChildNodes, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL |
Constructor Detail |
---|
public ExprAggCountMinSketchNode(boolean distinct, CountMinSketchAggType aggType)
distinct
- - flag indicating unique or non-unique value aggregationMethod Detail |
---|
public AggregationMethodFactory validateAggregationChild(ExprValidationContext validationContext) throws ExprValidationException
ExprAggregateNodeBase
validateAggregationChild
in class ExprAggregateNodeBase
validationContext
- validation information
ExprValidationException
- when expression validation failedpublic AggregationMethodFactory validateAggregationParamsWBinding(ExprValidationContext context, TableMetadataColumnAggregation tableAccessColumn) throws ExprValidationException
validateAggregationParamsWBinding
in interface ExprAggregateAccessMultiValueNode
ExprValidationException
public java.lang.String getAggregationFunctionName()
ExprAggregateNodeBase
getAggregationFunctionName
in class ExprAggregateNodeBase
public final boolean equalsNodeAggregateMethodOnly(ExprAggregateNode node)
ExprAggregateNodeBase
For use by the equalsNode implementation which compares the distinct flag.
equalsNodeAggregateMethodOnly
in class ExprAggregateNodeBase
node
- to compare to
public CountMinSketchAggType getAggType()
public EventType getEventTypeCollection(EventAdapterService eventAdapterService, java.lang.String statementId) throws ExprValidationException
getEventTypeCollection
in interface ExprEvaluatorEnumeration
ExprValidationException
public java.util.Collection<EventBean> evaluateGetROCollectionEvents(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
evaluateGetROCollectionEvents
in interface ExprEvaluatorEnumeration
public java.lang.Class getComponentTypeCollection() throws ExprValidationException
getComponentTypeCollection
in interface ExprEvaluatorEnumeration
ExprValidationException
public java.util.Collection evaluateGetROCollectionScalar(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
evaluateGetROCollectionScalar
in interface ExprEvaluatorEnumeration
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 isExprTextWildcardWhenNoParams()
isExprTextWildcardWhenNoParams
in class ExprAggregateNodeBase
public ExprValidationException getDeclaredWrongParameterExpr() throws ExprValidationException
ExprValidationException
|
© 2006-2014 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 |