public abstract class ExprNodeScriptEvalBase extends java.lang.Object implements ExprEvaluator, ExprEvaluatorEnumeration
Constructor and Description |
---|
ExprNodeScriptEvalBase(java.lang.String scriptName,
java.lang.String statementName,
java.lang.String[] names,
ExprEvaluator[] parameters,
java.lang.Class returnType) |
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.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.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
evaluate
public ExprNodeScriptEvalBase(java.lang.String scriptName, java.lang.String statementName, java.lang.String[] names, ExprEvaluator[] parameters, java.lang.Class returnType)
public java.lang.Class getType()
ExprEvaluator
getType
in interface ExprEvaluator
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