|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.expression.core.ExprNodeBase
com.espertech.esper.epl.expression.subquery.ExprSubselectNode
com.espertech.esper.epl.expression.subquery.ExprSubselectAllSomeAnyNode
public class ExprSubselectAllSomeAnyNode
Represents a subselect in an expression tree.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.espertech.esper.epl.expression.subquery.ExprSubselectNode |
---|
ExprSubselectNode.SubqueryAggregationType |
Field Summary |
---|
Fields inherited from class com.espertech.esper.epl.expression.subquery.ExprSubselectNode |
---|
EMPTY_SUBSELECT_ARRAY, filterExpr, rawEventType, selectAsNames, selectClause, selectClauseEvaluator, statementName, subselectAggregationService, subselectNumber |
Constructor Summary | |
---|---|
ExprSubselectAllSomeAnyNode(StatementSpecRaw statementSpec,
boolean not,
boolean all,
RelationalOpEnum relationalOpEnum)
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,
java.util.Collection<EventBean> matchingEvents,
ExprEvaluatorContext exprEvaluatorContext)
|
EventBean |
evaluateGetEventBean(EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context)
|
java.lang.Object[][] |
evaluateTypableMulti(EventBean[] eventsPerStream,
boolean isNewData,
java.util.Collection<EventBean> matchingEvents,
ExprEvaluatorContext exprEvaluatorContext)
|
java.lang.Object[] |
evaluateTypableSingle(EventBean[] eventsPerStream,
boolean isNewData,
java.util.Collection<EventBean> matchingEvents,
ExprEvaluatorContext exprEvaluatorContext)
|
java.lang.Class |
getComponentTypeCollection()
|
EventType |
getEventTypeCollection(EventAdapterService eventAdapterService,
java.lang.String statementId)
|
EventType |
getEventTypeSingle(EventAdapterService eventAdapterService,
java.lang.String statementId)
|
RelationalOpEnum |
getRelationalOp()
Returns relational op. |
java.lang.Class |
getType()
Returns the type that the node's evaluate method returns an instance of. |
boolean |
isAll()
Returns true for all. |
boolean |
isAllowMultiColumnSelect()
|
boolean |
isNot()
Returns true for not. |
java.util.LinkedHashMap<java.lang.String,java.lang.Object> |
typableGetRowProperties()
|
void |
validateSubquery(ExprValidationContext validationContext)
|
Methods inherited from class com.espertech.esper.epl.expression.core.ExprNodeBase |
---|
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExprSubselectAllSomeAnyNode(StatementSpecRaw statementSpec, boolean not, boolean all, RelationalOpEnum relationalOpEnum)
statementSpec
- is the lookup statement spec from the parser, unvalidatednot
- when NOTall
- when ALL, false for ANYrelationalOpEnum
- operatorMethod Detail |
---|
public boolean isNot()
public boolean isAll()
public RelationalOpEnum getRelationalOp()
public java.lang.Class getType()
ExprEvaluator
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.LinkedHashMap<java.lang.String,java.lang.Object> typableGetRowProperties()
typableGetRowProperties
in class ExprSubselectNode
public java.lang.Object[] evaluateTypableSingle(EventBean[] eventsPerStream, boolean isNewData, java.util.Collection<EventBean> matchingEvents, ExprEvaluatorContext exprEvaluatorContext)
evaluateTypableSingle
in class ExprSubselectNode
public java.lang.Object[][] evaluateTypableMulti(EventBean[] eventsPerStream, boolean isNewData, java.util.Collection<EventBean> matchingEvents, ExprEvaluatorContext exprEvaluatorContext)
evaluateTypableMulti
in class ExprSubselectNode
public java.util.Collection<EventBean> evaluateGetCollEvents(EventBean[] eventsPerStream, boolean isNewData, java.util.Collection<EventBean> matchingEvents, ExprEvaluatorContext context)
evaluateGetCollEvents
in class ExprSubselectNode
public java.util.Collection evaluateGetCollScalar(EventBean[] eventsPerStream, boolean isNewData, java.util.Collection<EventBean> matchingEvents, ExprEvaluatorContext exprEvaluatorContext)
evaluateGetCollScalar
in class ExprSubselectNode
public EventType getEventTypeCollection(EventAdapterService eventAdapterService, java.lang.String statementId)
public java.lang.Class getComponentTypeCollection() throws ExprValidationException
ExprValidationException
public EventBean evaluateGetEventBean(EventBean[] eventsPerStream, boolean isNewData, java.util.Collection<EventBean> matchingEvents, ExprEvaluatorContext exprEvaluatorContext)
evaluateGetEventBean
in class ExprSubselectNode
public EventType getEventTypeSingle(EventAdapterService eventAdapterService, java.lang.String statementId) throws ExprValidationException
ExprValidationException
public EventBean evaluateGetEventBean(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
evaluateGetEventBean
in interface ExprEvaluatorEnumeration
evaluateGetEventBean
in class ExprSubselectNode
public boolean isAllowMultiColumnSelect()
isAllowMultiColumnSelect
in class ExprSubselectNode
|
© 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 |