com.espertech.esper.epl.join.plan
Class QueryPlanIndexBuilder

java.lang.Object
  extended by com.espertech.esper.epl.join.plan.QueryPlanIndexBuilder

public class QueryPlanIndexBuilder
extends java.lang.Object

Build query index plans.


Constructor Summary
QueryPlanIndexBuilder()
           
 
Method Summary
static QueryPlanIndex[] buildIndexSpec(QueryGraph queryGraph, EventType[] typePerStream, java.lang.String[][][] indexedStreamsUniqueProps)
          Build index specification from navigability info.
static SubordPropPlan getJoinProps(ExprNode filterExpr, int outsideStreamCount, EventType[] allStreamTypesZeroIndexed, ExcludePlanHint excludePlanHint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryPlanIndexBuilder

public QueryPlanIndexBuilder()
Method Detail

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)

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com