|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.expression.ExprNode
net.esper.eql.expression.ExprSubselectNode
net.esper.eql.expression.ExprSubselectInNode
public class ExprSubselectInNode
Represents a subselect in an expression tree.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.esper.eql.expression.ExprNode |
---|
ExprNode.MappedPropertyParseResult |
Field Summary |
---|
Fields inherited from class net.esper.eql.expression.ExprSubselectNode |
---|
filterExpr, selectClause |
Constructor Summary | |
---|---|
ExprSubselectInNode(StatementSpecRaw statementSpec)
Ctor. |
Method Summary | |
---|---|
Object |
evaluate(EventBean[] eventsPerStream,
boolean isNewData,
Set<EventBean> matchingEvents)
Evaluate the subquery expression returning an evaluation result object. |
Class |
getType()
Returns the type that the node's evaluate method returns an instance of. |
boolean |
isAllowWildcardSelect()
Return true to indicate that wildcard selects are acceptable, or false to indicate wildcard is not acceptable |
void |
setNotIn(boolean notIn)
Indicate that this is a not-in subquery. |
void |
validate(StreamTypeService streamTypeService,
MethodResolutionService methodResolutionService,
ViewResourceDelegate viewResourceDelegate)
Validate node. |
Methods inherited from class net.esper.eql.expression.ExprSubselectNode |
---|
equalsNode, evaluate, getStatementSpecCompiled, getStatementSpecRaw, isConstantResult, setFilterExpr, setSelectAsName, setSelectClause, setStatementSpecCompiled, setStrategy, toExpressionString |
Methods inherited from class net.esper.eql.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 subquery statement spec from the parser, unvalidatedMethod Detail |
---|
public boolean isAllowWildcardSelect()
ExprSubselectNode
isAllowWildcardSelect
in class ExprSubselectNode
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 void validate(StreamTypeService streamTypeService, MethodResolutionService methodResolutionService, ViewResourceDelegate viewResourceDelegate) throws ExprValidationException
ExprValidator
streamTypeService
- serves stream event type infomethodResolutionService
- - for resolving class names in library method invocationsviewResourceDelegate
- - delegates for view resources to expression nodes
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 subquery events
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |