public class ExprSubselectRowNode extends ExprSubselectNode
Modifier and Type | Class and Description |
---|---|
protected static class |
ExprSubselectRowNode.SubselectMultirowType |
ExprSubselectNode.SubqueryAggregationType
Modifier and Type | Field and Description |
---|---|
static SubselectEvalStrategyRow |
FILTERED_SELECTED |
static SubselectEvalStrategyRow |
FILTERED_UNSELECTED |
static SubselectEvalStrategyRow |
HAVING_SELECTED |
protected ExprSubselectRowNode.SubselectMultirowType |
subselectMultirowType |
static SubselectEvalStrategyRow |
UNFILTERED_SELECTED |
static SubselectEvalStrategyRow |
UNFILTERED_SELECTED_GROUPED |
EMPTY_SUBSELECT_ARRAY, filterExpr, havingExpr, rawEventType, selectAsNames, selectClause, selectClauseEvaluator, statementName, subselectAggregationService, subselectNumber
Constructor and Description |
---|
ExprSubselectRowNode(StatementSpecRaw statementSpec)
Ctor.
|
equalsNode, evaluate, evaluateCodegen, evaluateGetEventBean, evaluateGetEventBeanCodegen, evaluateGetROCollectionEvents, evaluateGetROCollectionEventsCodegen, evaluateGetROCollectionScalar, evaluateGetROCollectionScalarCodegen, evaluateTypableMulti, evaluateTypableMultiCodegen, evaluateTypableSingle, evaluateTypableSingleCodegen, getComplexity, getExprEvaluator, getExprEvaluatorEnumeration, getFilterExpr, getFilterSubqueryStreamTypes, getForge, getForgeRenderable, getHavingExpr, getPrecedence, getRawEventType, getRowProperties, getSelectClause, getStatementSpecCompiled, getStatementSpecRaw, getSubselectAggregationService, getSubselectAggregationType, getSubselectNumber, getTypableReturnEvaluator, isConstantResult, isFilterStreamSubselect, isMultirow, setFilterExpr, setFilterStreamSubselect, setFilterSubqueryStreamTypes, setHavingExpr, setRawEventType, setSelectAsNames, setSelectClause, setStatementSpecCompiled, setStrategy, setSubselectAggregationService, setSubselectAggregationType, toArray, toPrecedenceFreeEPL, validate
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
public static final SubselectEvalStrategyRow UNFILTERED_SELECTED
public static final SubselectEvalStrategyRow FILTERED_UNSELECTED
public static final SubselectEvalStrategyRow FILTERED_SELECTED
public static final SubselectEvalStrategyRow HAVING_SELECTED
public static final SubselectEvalStrategyRow UNFILTERED_SELECTED_GROUPED
protected transient ExprSubselectRowNode.SubselectMultirowType subselectMultirowType
public ExprSubselectRowNode(StatementSpecRaw statementSpec)
statementSpec
- is the lookup statement spec from the parser, unvalidatedpublic Class getEvaluationType()
public void validateSubquery(ExprValidationContext validationContext) throws ExprValidationException
validateSubquery
in class ExprSubselectNode
ExprValidationException
public Object evaluate(EventBean[] eventsPerStream, boolean isNewData, 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 Collection<EventBean> evaluateGetCollEvents(EventBean[] eventsPerStream, boolean isNewData, Collection<EventBean> matchingEvents, ExprEvaluatorContext context)
evaluateGetCollEvents
in class ExprSubselectNode
public Collection evaluateGetCollScalar(EventBean[] eventsPerStream, boolean isNewData, Collection<EventBean> matchingEvents, ExprEvaluatorContext context)
evaluateGetCollScalar
in class ExprSubselectNode
public EventBean evaluateGetEventBean(EventBean[] eventsPerStream, boolean isNewData, Collection<EventBean> matchingEvents, ExprEvaluatorContext exprEvaluatorContext)
evaluateGetEventBean
in class ExprSubselectNode
public Object[] evaluateTypableSingle(EventBean[] eventsPerStream, boolean isNewData, Collection<EventBean> matchingEvents, ExprEvaluatorContext exprEvaluatorContext)
evaluateTypableSingle
in class ExprSubselectNode
public Object[][] evaluateTypableMulti(EventBean[] eventsPerStream, boolean isNewData, Collection<EventBean> matchingEvents, ExprEvaluatorContext exprEvaluatorContext)
evaluateTypableMulti
in class ExprSubselectNode
public LinkedHashMap<String,Object> typableGetRowProperties() throws ExprValidationException
typableGetRowProperties
in class ExprSubselectNode
ExprValidationException
public EventType getEventTypeSingle(EventAdapterService eventAdapterService, int statementId) throws ExprValidationException
ExprValidationException
public EventType getEventTypeCollection(EventAdapterService eventAdapterService, int statementId) throws ExprValidationException
ExprValidationException
public Class getComponentTypeCollection() throws ExprValidationException
ExprValidationException
public boolean isAllowMultiColumnSelect()
isAllowMultiColumnSelect
in class ExprSubselectNode
public String getMultirowMessage()
protected Map<String,Object> evaluateRow(EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)