com.espertech.esper.epl.join.plan
Class QueryPlanIndexBuilder
java.lang.Object
com.espertech.esper.epl.join.plan.QueryPlanIndexBuilder
public class QueryPlanIndexBuilder
- extends java.lang.Object
Build query index plans.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryPlanIndexBuilder
public QueryPlanIndexBuilder()
buildIndexSpec
public static QueryPlanIndex[] buildIndexSpec(QueryGraph queryGraph,
EventType[] typePerStream,
java.lang.String[][][] indexedStreamsUniqueProps)
- Build index specification from navigability info.
Looks at each stream and determines which properties in the stream must be indexed
in order for other streams to look up into the stream. Determines the unique set of properties
to avoid building duplicate indexes on the same set of properties.
- Parameters:
queryGraph
- - navigability info
- Returns:
- query index specs for each stream
getJoinProps
public static SubordPropPlan getJoinProps(ExprNode filterExpr,
int outsideStreamCount,
EventType[] allStreamTypesZeroIndexed,
ExcludePlanHint excludePlanHint)