java.lang.Object
com.espertech.esper.common.internal.epl.join.queryplanbuild.QueryPlanIndexBuilder

public class QueryPlanIndexBuilder extends Object
Build query index plans.
  • 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 info
      typePerStream - type info
      indexedStreamsUniqueProps - per-stream unique props
      Returns:
      query index specs for each stream
    • getJoinProps

      public static SubordPropPlan getJoinProps(ExprNode filterExpr, int outsideStreamCount, EventType[] allStreamTypesZeroIndexed, ExcludePlanHint excludePlanHint)