com.espertech.esper.epl.lookup
Class SubordinateQueryPlannerUtil
java.lang.Object
com.espertech.esper.epl.lookup.SubordinateQueryPlannerUtil
public class SubordinateQueryPlannerUtil
- extends java.lang.Object
Method Summary |
static void |
addIndexMetaAndRef(SubordinateQueryIndexDesc[] indexDescs,
EventTableIndexMetadata repo,
java.lang.String statementName)
|
static IndexKeyInfo |
compileIndexKeyInfo(IndexMultiKey indexMultiKey,
java.lang.String[] hashIndexPropsProvided,
SubordPropHashKey[] hashJoinedProps,
java.lang.String[] rangeIndexPropsProvided,
SubordPropRangeKey[] rangeJoinedProps)
Given an index with a defined set of hash(equals) and range(btree) props and uniqueness flag,
and given a list of indexable properties and accessors for both hash and range,
return the ordered keys and coercion information. |
static void |
queryPlanLogOnExpr(boolean queryPlanLogging,
org.apache.commons.logging.Log queryPlanLog,
SubordinateWMatchExprQueryPlanResult strategy,
java.lang.annotation.Annotation[] annotations)
|
static void |
queryPlanLogOnSubq(boolean queryPlanLogging,
org.apache.commons.logging.Log queryPlanLog,
SubordinateQueryPlanDesc plan,
int subqueryNum,
java.lang.annotation.Annotation[] annotations)
|
static EventTable[] |
realizeTables(SubordinateQueryIndexDesc[] indexDescriptors,
EventType eventType,
EventTableIndexRepository indexRepository,
java.lang.Iterable<EventBean> contents)
|
static SubordinateQueryPlannerIndexPropListPair |
toListOfHashedAndBtreeProps(java.lang.String[] hashIndexPropsProvided,
java.lang.Class[] hashIndexCoercionType,
java.lang.String[] rangeIndexPropsProvided,
java.lang.Class[] rangeIndexCoercionType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubordinateQueryPlannerUtil
public SubordinateQueryPlannerUtil()
queryPlanLogOnExpr
public static void queryPlanLogOnExpr(boolean queryPlanLogging,
org.apache.commons.logging.Log queryPlanLog,
SubordinateWMatchExprQueryPlanResult strategy,
java.lang.annotation.Annotation[] annotations)
queryPlanLogOnSubq
public static void queryPlanLogOnSubq(boolean queryPlanLogging,
org.apache.commons.logging.Log queryPlanLog,
SubordinateQueryPlanDesc plan,
int subqueryNum,
java.lang.annotation.Annotation[] annotations)
toListOfHashedAndBtreeProps
public static SubordinateQueryPlannerIndexPropListPair toListOfHashedAndBtreeProps(java.lang.String[] hashIndexPropsProvided,
java.lang.Class[] hashIndexCoercionType,
java.lang.String[] rangeIndexPropsProvided,
java.lang.Class[] rangeIndexCoercionType)
compileIndexKeyInfo
public static IndexKeyInfo compileIndexKeyInfo(IndexMultiKey indexMultiKey,
java.lang.String[] hashIndexPropsProvided,
SubordPropHashKey[] hashJoinedProps,
java.lang.String[] rangeIndexPropsProvided,
SubordPropRangeKey[] rangeJoinedProps)
- Given an index with a defined set of hash(equals) and range(btree) props and uniqueness flag,
and given a list of indexable properties and accessors for both hash and range,
return the ordered keys and coercion information.
- Parameters:
indexMultiKey
- index definitionhashIndexPropsProvided
- hash indexable propertieshashJoinedProps
- keys for hash indexable propertiesrangeIndexPropsProvided
- btree indexable propertiesrangeJoinedProps
- keys for btree indexable properties
- Returns:
- ordered set of key information
realizeTables
public static EventTable[] realizeTables(SubordinateQueryIndexDesc[] indexDescriptors,
EventType eventType,
EventTableIndexRepository indexRepository,
java.lang.Iterable<EventBean> contents)
addIndexMetaAndRef
public static void addIndexMetaAndRef(SubordinateQueryIndexDesc[] indexDescs,
EventTableIndexMetadata repo,
java.lang.String statementName)
throws ExprValidationException
- Throws:
ExprValidationException