public class ExprDotEvalRootChild extends java.lang.Object implements ExprEvaluator, ExprEvaluatorEnumeration
Constructor and Description |
---|
ExprDotEvalRootChild(ExprDotNode dotNode,
ExprEvaluator rootNodeEvaluator,
ExprEvaluatorEnumeration rootLambdaEvaluator,
EPType typeInfo,
ExprDotEval[] evalIteratorEventBean,
ExprDotEval[] evalUnpacking,
boolean checkedUnpackEvent) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context)
Evaluate event tuple and return result.
|
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.Class |
getComponentTypeCollection() |
EventType |
getEventTypeCollection(EventAdapterService eventAdapterService,
java.lang.String statementId) |
EventType |
getEventTypeSingle(EventAdapterService eventAdapterService,
java.lang.String statementId) |
java.lang.Class |
getType()
Returns the type that the node's evaluate method returns an instance of.
|
public ExprDotEvalRootChild(ExprDotNode dotNode, ExprEvaluator rootNodeEvaluator, ExprEvaluatorEnumeration rootLambdaEvaluator, EPType typeInfo, ExprDotEval[] evalIteratorEventBean, ExprDotEval[] evalUnpacking, boolean checkedUnpackEvent)
public java.lang.Class getType()
ExprEvaluator
getType
in interface ExprEvaluator
public java.lang.Object evaluate(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
ExprEvaluator
evaluate
in interface ExprEvaluator
eventsPerStream
- - event tupleisNewData
- - indicates whether we are dealing with new data (istream) or old data (rstream)context
- context for expression evaluationpublic 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) throws ExprValidationException
getEventTypeCollection
in interface ExprEvaluatorEnumeration
ExprValidationException
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