|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.expression.ExprNode
com.espertech.esper.epl.expression.ExprSubselectNode
com.espertech.esper.epl.expression.ExprSubselectInNode
public class ExprSubselectInNode
Represents a subselect in an expression tree.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.espertech.esper.epl.expression.ExprNode |
---|
ExprNode.MappedPropertyParseResult |
Field Summary |
---|
Fields inherited from class com.espertech.esper.epl.expression.ExprSubselectNode |
---|
filterExpr, rawEventType, selectClause |
Constructor Summary | |
---|---|
ExprSubselectInNode(StatementSpecRaw statementSpec)
Ctor. |
Method Summary | |
---|---|
Object |
evaluate(EventBean[] eventsPerStream,
boolean isNewData,
Set<EventBean> matchingEvents)
Evaluate the lookup expression returning an evaluation result object. |
Class |
getType()
Returns the type that the node's evaluate method returns an instance of. |
boolean |
isNotIn()
Returns true for not-in, or false for in. |
void |
setNotIn(boolean notIn)
Indicate that this is a not-in lookup. |
void |
validate(StreamTypeService streamTypeService,
MethodResolutionService methodResolutionService,
ViewResourceDelegate viewResourceDelegate,
TimeProvider timeProvider,
VariableService variableService)
Validate node. |
Methods inherited from class com.espertech.esper.epl.expression.ExprSubselectNode |
---|
equalsNode, evaluate, getStatementSpecCompiled, getStatementSpecRaw, isConstantResult, setFilterExpr, setRawEventType, setSelectAsName, setSelectClause, setStatementSpecCompiled, setStrategy, toExpressionString |
Methods inherited from class com.espertech.esper.epl.expression.ExprNode |
---|
accept, addChildNode, deepEquals, dumpDebug, getChildNodes, getValidatedSubtree, parseMappedProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExprSubselectInNode(StatementSpecRaw statementSpec)
statementSpec
- is the lookup statement spec from the parser, unvalidatedMethod Detail |
---|
public Class getType() throws ExprValidationException
ExprValidator
ExprValidationException
- thrown when validation failedpublic void setNotIn(boolean notIn)
notIn
- is true for not-in, or false for regular 'in'public boolean isNotIn()
public void validate(StreamTypeService streamTypeService, MethodResolutionService methodResolutionService, ViewResourceDelegate viewResourceDelegate, TimeProvider timeProvider, VariableService variableService) throws ExprValidationException
ExprValidator
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
ExprValidationException
- thrown when validation failedpublic Object evaluate(EventBean[] eventsPerStream, boolean isNewData, Set<EventBean> matchingEvents)
ExprSubselectNode
evaluate
in class ExprSubselectNode
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
|
© 2007 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 |