Class QueryPlanIndexBuilder
java.lang.Object
com.espertech.esper.common.internal.epl.join.queryplanbuild.QueryPlanIndexBuilder
Build query index plans.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryPlanIndexForge[]
buildIndexSpec
(QueryGraphForge queryGraph, EventType[] typePerStream, String[][][] indexedStreamsUniqueProps) Build index specification from navigability info.static SubordPropPlan
getJoinProps
(ExprNode filterExpr, int outsideStreamCount, EventType[] allStreamTypesZeroIndexed, ExcludePlanHint excludePlanHint)
-
Constructor Details
-
QueryPlanIndexBuilder
public QueryPlanIndexBuilder()
-
-
Method Details
-
buildIndexSpec
public static QueryPlanIndexForge[] buildIndexSpec(QueryGraphForge queryGraph, EventType[] typePerStream, 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 infotypePerStream
- type infoindexedStreamsUniqueProps
- per-stream unique props- Returns:
- query index specs for each stream
-
getJoinProps
public static SubordPropPlan getJoinProps(ExprNode filterExpr, int outsideStreamCount, EventType[] allStreamTypesZeroIndexed, ExcludePlanHint excludePlanHint)
-