public class QueryPlanIndexBuilder extends Object
Constructor and Description |
---|
QueryPlanIndexBuilder() |
Modifier and Type | Method and Description |
---|---|
static QueryPlanIndex[] |
buildIndexSpec(QueryGraph queryGraph,
EventType[] typePerStream,
String[][][] indexedStreamsUniqueProps)
Build index specification from navigability info.
|
static SubordPropPlan |
getJoinProps(ExprNode filterExpr,
int outsideStreamCount,
EventType[] allStreamTypesZeroIndexed,
ExcludePlanHint excludePlanHint) |
public static QueryPlanIndex[] buildIndexSpec(QueryGraph queryGraph, EventType[] typePerStream, String[][][] indexedStreamsUniqueProps)
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.
queryGraph
- - navigability infotypePerStream
- type infoindexedStreamsUniqueProps
- per-stream unique propspublic static SubordPropPlan getJoinProps(ExprNode filterExpr, int outsideStreamCount, EventType[] allStreamTypesZeroIndexed, ExcludePlanHint excludePlanHint)