public class JoinSetComposerPrototypeFactory
extends java.lang.Object
JoinSetComposer
from analyzing filter nodes, for
fast join tuple result set composition.Constructor and Description |
---|
JoinSetComposerPrototypeFactory() |
Modifier and Type | Method and Description |
---|---|
static Pair<HistoricalIndexLookupStrategy,PollResultIndexingStrategy> |
determineIndexing(QueryGraph queryGraph,
EventType polledViewType,
EventType streamViewType,
int polledViewStreamNum,
int streamViewStreamNum)
Constructs indexing and lookup strategy for a given relationship that a historical stream may have with another
stream (historical or not) that looks up into results of a poll of a historical stream.
|
static JoinSetComposerPrototype |
makeComposerPrototype(java.lang.String statementName,
int statementId,
OuterJoinDesc[] outerJoinDescList,
ExprNode optionalFilterNode,
EventType[] streamTypes,
java.lang.String[] streamNames,
StreamJoinAnalysisResult streamJoinAnalysisResult,
boolean queryPlanLogging,
StatementContext statementContext,
HistoricalViewableDesc historicalViewableDesc,
ExprEvaluatorContext exprEvaluatorContext,
boolean selectsRemoveStream,
boolean hasAggregations,
TableService tableService,
boolean isOnDemandQuery,
boolean allowIndexInit) |
public static JoinSetComposerPrototype makeComposerPrototype(java.lang.String statementName, int statementId, OuterJoinDesc[] outerJoinDescList, ExprNode optionalFilterNode, EventType[] streamTypes, java.lang.String[] streamNames, StreamJoinAnalysisResult streamJoinAnalysisResult, boolean queryPlanLogging, StatementContext statementContext, HistoricalViewableDesc historicalViewableDesc, ExprEvaluatorContext exprEvaluatorContext, boolean selectsRemoveStream, boolean hasAggregations, TableService tableService, boolean isOnDemandQuery, boolean allowIndexInit) throws ExprValidationException
ExprValidationException
public static Pair<HistoricalIndexLookupStrategy,PollResultIndexingStrategy> determineIndexing(QueryGraph queryGraph, EventType polledViewType, EventType streamViewType, int polledViewStreamNum, int streamViewStreamNum)
The term "polled" refers to the assumed-historical stream.
queryGraph
- relationship representation of where-clause filter and outer join on-expressionspolledViewType
- the event type of the historical that is indexedstreamViewType
- the event type of the stream looking up in indexespolledViewStreamNum
- the stream number of the historical that is indexedstreamViewStreamNum
- the stream number of the historical that is looking up