|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.expression.ExprNodeBase
com.espertech.esper.epl.expression.ExprSubselectNode
com.espertech.esper.epl.expression.ExprSubselectInNode
public class ExprSubselectInNode
Represents a subselect in an expression tree.
Field Summary |
---|
Fields inherited from class com.espertech.esper.epl.expression.ExprSubselectNode |
---|
EMPTY_SUBSELECT_ARRAY, filterExpr, rawEventType, selectAsNames, selectClause, selectClauseEvaluator, statementName, subselectNumber |
Constructor Summary | |
---|---|
ExprSubselectInNode(StatementSpecRaw statementSpec)
Ctor. |
Method Summary | |
---|---|
java.lang.Object |
evaluate(EventBean[] eventsPerStream,
boolean isNewData,
java.util.Collection<EventBean> matchingEvents,
ExprEvaluatorContext exprEvaluatorContext)
Evaluate the lookup expression returning an evaluation result object. |
java.util.Collection<EventBean> |
evaluateGetCollEvents(EventBean[] eventsPerStream,
boolean isNewData,
java.util.Collection<EventBean> matchingEvents,
ExprEvaluatorContext context)
|
java.util.Collection |
evaluateGetCollScalar(EventBean[] eventsPerStream,
boolean isNewData,
java.util.Collection<EventBean> matchingEvents,
ExprEvaluatorContext exprEvaluatorContext)
|
EventBean |
evaluateGetEventBean(EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context)
|
java.lang.Class |
getComponentTypeCollection()
|
java.util.Map<java.lang.String,java.lang.Object> |
getEventType()
|
EventType |
getEventTypeCollection(EventAdapterService eventAdapterService)
|
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. |
boolean |
isAllowMultiColumnSelect()
|
boolean |
isNotIn()
Returns true for not-in, or false for in. |
void |
setNotIn(boolean notIn)
Indicate that this is a not-in lookup. |
void |
validateSubquery(ExprValidationContext validationContext)
|
Methods inherited from class com.espertech.esper.epl.expression.ExprNodeBase |
---|
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes |
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 java.lang.Class getType()
ExprEvaluator
public void setNotIn(boolean notIn)
notIn
- is true for not-in, or false for regular 'in'public boolean isNotIn()
public void validateSubquery(ExprValidationContext validationContext) throws ExprValidationException
validateSubquery
in class ExprSubselectNode
ExprValidationException
public java.lang.Object evaluate(EventBean[] eventsPerStream, boolean isNewData, java.util.Collection<EventBean> matchingEvents, ExprEvaluatorContext exprEvaluatorContext)
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 eventsexprEvaluatorContext
- context for expression evalauation
public java.util.Map<java.lang.String,java.lang.Object> getEventType()
public java.util.Collection<EventBean> evaluateGetCollEvents(EventBean[] eventsPerStream, boolean isNewData, java.util.Collection<EventBean> matchingEvents, ExprEvaluatorContext context)
evaluateGetCollEvents
in class ExprSubselectNode
public EventType getEventTypeCollection(EventAdapterService eventAdapterService)
public java.lang.Class getComponentTypeCollection() throws ExprValidationException
ExprValidationException
public java.util.Collection evaluateGetCollScalar(EventBean[] eventsPerStream, boolean isNewData, java.util.Collection<EventBean> matchingEvents, ExprEvaluatorContext exprEvaluatorContext)
evaluateGetCollScalar
in class ExprSubselectNode
public boolean isAllowMultiColumnSelect()
isAllowMultiColumnSelect
in class ExprSubselectNode
public EventType getEventTypeSingle(EventAdapterService eventAdapterService, java.lang.String statementId) throws ExprValidationException
ExprValidationException
public EventBean evaluateGetEventBean(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
|
© 2006-2011 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 |