net.esper.eql.expression
Class ExprSubselectExistsNode
java.lang.Object
net.esper.eql.expression.ExprNode
net.esper.eql.expression.ExprSubselectNode
net.esper.eql.expression.ExprSubselectExistsNode
- All Implemented Interfaces:
- Serializable, ExprEvaluator, ExprValidator, MetaDefItem
public class ExprSubselectExistsNode
- extends ExprSubselectNode
Represents an exists-subselect in an expression tree.
- See Also:
- Serialized Form
Methods inherited from class net.esper.eql.expression.ExprSubselectNode |
equalsNode, evaluate, getStatementSpecCompiled, getStatementSpecRaw, isConstantResult, setFilterExpr, setRawEventType, setSelectAsName, setSelectClause, setStatementSpecCompiled, setStrategy, toExpressionString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExprSubselectExistsNode
public ExprSubselectExistsNode(StatementSpecRaw statementSpec)
- Ctor.
- Parameters:
statementSpec
- is the lookup statement spec from the parser, unvalidated
getType
public Class getType()
throws ExprValidationException
- Description copied from interface:
ExprValidator
- Returns the type that the node's evaluate method returns an instance of.
- Returns:
- type returned when evaluated
- Throws:
ExprValidationException
- thrown when validation failed
validate
public void validate(StreamTypeService streamTypeService,
MethodResolutionService methodResolutionService,
ViewResourceDelegate viewResourceDelegate,
TimeProvider timeProvider,
VariableService variableService)
throws ExprValidationException
- Description copied from interface:
ExprValidator
- Validate node.
- Parameters:
streamTypeService
- serves stream event type infomethodResolutionService
- - for resolving class names in library method invocationsviewResourceDelegate
- - delegates for view resources to expression nodestimeProvider
- - provides engine current timevariableService
- - provides access to variable values
- Throws:
ExprValidationException
- thrown when validation failed
evaluate
public Object evaluate(EventBean[] eventsPerStream,
boolean isNewData,
Set<EventBean> matchingEvents)
- Description copied from class:
ExprSubselectNode
- Evaluate the lookup expression returning an evaluation result object.
- Specified by:
evaluate
in class ExprSubselectNode
- Parameters:
eventsPerStream
- is the events for each stream in a joinisNewData
- is true for new data, or false for old datamatchingEvents
- is filtered results from the table of stored lookup events
- Returns:
- evaluation result