public class ExprSubselectRowNode extends ExprSubselectNode
ExprSubselectNode.SubqueryAggregationType
Modifier and Type | Field and Description |
---|---|
static com.espertech.esper.epl.expression.ExprSubselectRowNode.SubqueryEvalStrategy |
FILTERED_SELECTED |
static com.espertech.esper.epl.expression.ExprSubselectRowNode.SubqueryEvalStrategy |
FILTERED_UNSELECTED |
static com.espertech.esper.epl.expression.ExprSubselectRowNode.SubqueryEvalStrategy |
UNFILTERED_SELECTED |
static com.espertech.esper.epl.expression.ExprSubselectRowNode.SubqueryEvalStrategy |
UNFILTERED_SELECTED_GROUPED |
static com.espertech.esper.epl.expression.ExprSubselectRowNode.SubqueryEvalStrategy |
UNFILTERED_UNSELECTED |
EMPTY_SUBSELECT_ARRAY
Constructor and Description |
---|
ExprSubselectRowNode(StatementSpecRaw statementSpec)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
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 context) |
EventBean |
evaluateGetEventBean(EventBean[] eventsPerStream,
boolean isNewData,
java.util.Collection<EventBean> matchingEvents,
ExprEvaluatorContext exprEvaluatorContext) |
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) |
java.lang.Object |
getMultirowMessage() |
java.lang.Class |
getType()
Returns the type that the node's evaluate method returns an instance of.
|
boolean |
isAllowMultiColumnSelect() |
java.util.LinkedHashMap<java.lang.String,java.lang.Object> |
typableGetRowProperties() |
void |
validateSubquery(ExprValidationContext validationContext) |
equalsNode, evaluate, evaluateGetEventBean, evaluateGetROCollectionEvents, evaluateGetROCollectionScalar, evaluateTypableMulti, evaluateTypableSingle, getExprEvaluator, getFilterExpr, getFilterSubqueryStreamTypes, getPrecedence, getRawEventType, getRowProperties, getSelectClause, getStatementSpecCompiled, getStatementSpecRaw, getSubselectAggregationService, getSubselectAggregationType, getSubselectNumber, isConstantResult, isFilterStreamSubselect, isMultirow, setFilterExpr, setFilterStreamSubselect, setFilterSubqueryStreamTypes, setRawEventType, setSelectAsNames, setSelectClause, setStatementSpecCompiled, setStrategy, setSubselectAggregationService, setSubselectAggregationType, toArray, toPrecedenceFreeEPL, validate
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
public static final com.espertech.esper.epl.expression.ExprSubselectRowNode.SubqueryEvalStrategy UNFILTERED_UNSELECTED
public static final com.espertech.esper.epl.expression.ExprSubselectRowNode.SubqueryEvalStrategy UNFILTERED_SELECTED
public static final com.espertech.esper.epl.expression.ExprSubselectRowNode.SubqueryEvalStrategy FILTERED_UNSELECTED
public static final com.espertech.esper.epl.expression.ExprSubselectRowNode.SubqueryEvalStrategy FILTERED_SELECTED
public static final com.espertech.esper.epl.expression.ExprSubselectRowNode.SubqueryEvalStrategy UNFILTERED_SELECTED_GROUPED
public ExprSubselectRowNode(StatementSpecRaw statementSpec)
statementSpec
- is the lookup statement spec from the parser, unvalidatedpublic 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 evalauationpublic 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 context)
evaluateGetCollScalar
in class ExprSubselectNode
public EventBean evaluateGetEventBean(EventBean[] eventsPerStream, boolean isNewData, java.util.Collection<EventBean> matchingEvents, ExprEvaluatorContext exprEvaluatorContext)
evaluateGetEventBean
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.LinkedHashMap<java.lang.String,java.lang.Object> typableGetRowProperties() throws ExprValidationException
typableGetRowProperties
in class ExprSubselectNode
ExprValidationException
public EventType getEventTypeSingle(EventAdapterService eventAdapterService, java.lang.String statementId) throws ExprValidationException
ExprValidationException
public EventType getEventTypeCollection(EventAdapterService eventAdapterService, java.lang.String statementId) throws ExprValidationException
ExprValidationException
public java.lang.Class getComponentTypeCollection() throws ExprValidationException
ExprValidationException
public boolean isAllowMultiColumnSelect()
isAllowMultiColumnSelect
in class ExprSubselectNode
public java.lang.Object getMultirowMessage()