|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.expression.core.ExprIdentNodeEvaluatorImpl
public class ExprIdentNodeEvaluatorImpl
Constructor Summary | |
---|---|
ExprIdentNodeEvaluatorImpl(int streamNum,
EventPropertyGetter propertyGetter,
java.lang.Class propertyType,
ExprIdentNode identNode)
|
Method Summary | |
---|---|
java.lang.Object |
evaluate(EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext exprEvaluatorContext)
Evaluate event tuple and return result. |
boolean |
evaluatePropertyExists(EventBean[] eventsPerStream,
boolean isNewData)
Returns true if the property exists, or false if not. |
EventPropertyGetter |
getGetter()
|
int |
getStreamNum()
|
java.lang.Class |
getType()
Returns the type that the node's evaluate method returns an instance of. |
boolean |
isContextEvaluated()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExprIdentNodeEvaluatorImpl(int streamNum, EventPropertyGetter propertyGetter, java.lang.Class propertyType, ExprIdentNode identNode)
Method Detail |
---|
public java.lang.Object evaluate(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext exprEvaluatorContext)
ExprEvaluator
evaluate
in interface ExprEvaluator
eventsPerStream
- - event tupleisNewData
- - indicates whether we are dealing with new data (istream) or old data (rstream)exprEvaluatorContext
- context for expression evaluation
public java.lang.Class getType()
ExprEvaluator
getType
in interface ExprEvaluator
public EventPropertyGetter getGetter()
getGetter
in interface ExprIdentNodeEvaluator
public boolean evaluatePropertyExists(EventBean[] eventsPerStream, boolean isNewData)
evaluatePropertyExists
in interface ExprIdentNodeEvaluator
eventsPerStream
- each stream's eventsisNewData
- if the stream represents insert or remove stream
public int getStreamNum()
getStreamNum
in interface ExprIdentNodeEvaluator
public boolean isContextEvaluated()
isContextEvaluated
in interface ExprIdentNodeEvaluator
|
© 2006-2015 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 |