net.esper.eql.join.plan
Class TwoStreamQueryPlanBuilder
java.lang.Object
net.esper.eql.join.plan.TwoStreamQueryPlanBuilder
public class TwoStreamQueryPlanBuilder
- extends Object
Builds a query plan for the simple 2-stream scenario.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TwoStreamQueryPlanBuilder
public TwoStreamQueryPlanBuilder()
build
public static QueryPlan build(EventType[] typesPerStream,
QueryGraph queryGraph,
OuterJoinType optionalOuterJoinType)
- Build query plan.
- Parameters:
queryGraph
- - navigability infooptionalOuterJoinType
- - outer join type, null if not an outer jointypesPerStream
- - event types for each stream
- Returns:
- query plan
getCoercionTypes
protected static Class[] getCoercionTypes(EventType[] typesPerStream,
int lookupStream,
int indexedStream,
String[] keyProps,
String[] indexProps)
- Returns null if no coercion is required, or an array of classes for use in coercing the
lookup keys and index keys into a common type.
- Parameters:
typesPerStream
- is the event types for each streamlookupStream
- is the stream looked up fromindexedStream
- is the indexed streamkeyProps
- is the properties to use to look upindexProps
- is the properties to index on
- Returns:
- coercion types, or null if none required