public class SubordinateQueryPlannerUtil
extends java.lang.Object
Constructor and Description |
---|
SubordinateQueryPlannerUtil() |
Modifier and Type | Method and Description |
---|---|
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 accessAccessors for both hash and range,
return the ordered keys and coercion information.
|
static void |
queryPlanLogOnExpr(boolean queryPlanLogging,
org.slf4j.Logger queryPlanLog,
SubordinateWMatchExprQueryPlanResult strategy,
java.lang.annotation.Annotation[] annotations,
EngineImportService engineImportService) |
static void |
queryPlanLogOnSubq(boolean queryPlanLogging,
org.slf4j.Logger queryPlanLog,
SubordinateQueryPlanDesc plan,
int subqueryNum,
java.lang.annotation.Annotation[] annotations,
EngineImportService engineImportService) |
static EventTable[] |
realizeTables(SubordinateQueryIndexDesc[] indexDescriptors,
EventType eventType,
EventTableIndexRepository indexRepository,
java.lang.Iterable<EventBean> contents,
AgentInstanceContext agentInstanceContext,
boolean isRecoveringResilient) |
static SubordinateQueryPlannerIndexPropListPair |
toListOfHashedAndBtreeProps(java.lang.String[] hashIndexPropsProvided,
java.lang.Class[] hashIndexCoercionType,
java.lang.String[] rangeIndexPropsProvided,
java.lang.Class[] rangeIndexCoercionType) |
public static void queryPlanLogOnExpr(boolean queryPlanLogging, org.slf4j.Logger queryPlanLog, SubordinateWMatchExprQueryPlanResult strategy, java.lang.annotation.Annotation[] annotations, EngineImportService engineImportService)
public static void queryPlanLogOnSubq(boolean queryPlanLogging, org.slf4j.Logger queryPlanLog, SubordinateQueryPlanDesc plan, int subqueryNum, java.lang.annotation.Annotation[] annotations, EngineImportService engineImportService)
public static SubordinateQueryPlannerIndexPropListPair toListOfHashedAndBtreeProps(java.lang.String[] hashIndexPropsProvided, java.lang.Class[] hashIndexCoercionType, java.lang.String[] rangeIndexPropsProvided, java.lang.Class[] rangeIndexCoercionType)
public static IndexKeyInfo compileIndexKeyInfo(IndexMultiKey indexMultiKey, java.lang.String[] hashIndexPropsProvided, SubordPropHashKey[] hashJoinedProps, java.lang.String[] rangeIndexPropsProvided, SubordPropRangeKey[] rangeJoinedProps)
indexMultiKey
- index definitionhashIndexPropsProvided
- hash indexable propertieshashJoinedProps
- keys for hash indexable propertiesrangeIndexPropsProvided
- btree indexable propertiesrangeJoinedProps
- keys for btree indexable propertiespublic static EventTable[] realizeTables(SubordinateQueryIndexDesc[] indexDescriptors, EventType eventType, EventTableIndexRepository indexRepository, java.lang.Iterable<EventBean> contents, AgentInstanceContext agentInstanceContext, boolean isRecoveringResilient)
public static void addIndexMetaAndRef(SubordinateQueryIndexDesc[] indexDescs, EventTableIndexMetadata repo, java.lang.String statementName) throws ExprValidationException
ExprValidationException