getPlan
public static QueryPlan getPlan(EventType[] typesPerStream,
OuterJoinDesc[] outerJoinDescList,
QueryGraph queryGraph,
String[] streamNames,
HistoricalViewableDesc historicalViewableDesc,
DependencyGraph dependencyGraph,
HistoricalStreamIndexList[] historicalStreamIndexLists,
StreamJoinAnalysisResult streamJoinAnalysisResult,
boolean isQueryPlanLogging,
Annotation[] annotations,
ExprEvaluatorContext exprEvaluatorContext,
EngineImportService engineImportService,
boolean isFireAndForget)
throws ExprValidationException
Build query plan using the filter.
- Parameters:
typesPerStream
- - event types for each stream
outerJoinDescList
- - list of outer join criteria, or null if there are no outer joins
queryGraph
- - relationships between streams based on filter expressions and outer-join on-criteria
streamNames
- - names of streams
dependencyGraph
- - dependencies between historical streams
historicalStreamIndexLists
- - index management, populated for the query plan
streamJoinAnalysisResult
- stream join analysis metadata
historicalViewableDesc
- historicals
isQueryPlanLogging
- for logging
exprEvaluatorContext
- context
annotations
- annotations
isFireAndForget
- fire-and-forget flag
engineImportService
- engine imports
- Returns:
- query plan
- Throws:
ExprValidationException
- if the query plan fails