public class SubordinateQueryPlannerUtil extends Object
Constructor and Description |
---|
SubordinateQueryPlannerUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addIndexMetaAndRef(SubordinateQueryIndexDesc[] indexDescs,
EventTableIndexMetadata repo,
String statementName) |
static IndexKeyInfo |
compileIndexKeyInfo(IndexMultiKey indexMultiKey,
String[] hashIndexPropsProvided,
SubordPropHashKey[] hashJoinedProps,
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.slf4j.Logger queryPlanLog,
SubordinateWMatchExprQueryPlanResult strategy,
Annotation[] annotations,
EngineImportService engineImportService) |
static void |
queryPlanLogOnSubq(boolean queryPlanLogging,
org.slf4j.Logger queryPlanLog,
SubordinateQueryPlanDesc plan,
int subqueryNum,
Annotation[] annotations,
EngineImportService engineImportService) |
static EventTable[] |
realizeTables(SubordinateQueryIndexDesc[] indexDescriptors,
EventType eventType,
EventTableIndexRepository indexRepository,
Iterable<EventBean> contents,
AgentInstanceContext agentInstanceContext,
boolean isRecoveringResilient) |
static SubordinateQueryPlannerIndexPropListPair |
toListOfHashedAndBtreeProps(String[] hashIndexPropsProvided,
Class[] hashIndexCoercionType,
String[] rangeIndexPropsProvided,
Class[] rangeIndexCoercionType) |
public static void queryPlanLogOnExpr(boolean queryPlanLogging, org.slf4j.Logger queryPlanLog, SubordinateWMatchExprQueryPlanResult strategy, Annotation[] annotations, EngineImportService engineImportService)
public static void queryPlanLogOnSubq(boolean queryPlanLogging, org.slf4j.Logger queryPlanLog, SubordinateQueryPlanDesc plan, int subqueryNum, Annotation[] annotations, EngineImportService engineImportService)
public static SubordinateQueryPlannerIndexPropListPair toListOfHashedAndBtreeProps(String[] hashIndexPropsProvided, Class[] hashIndexCoercionType, String[] rangeIndexPropsProvided, Class[] rangeIndexCoercionType)
public static IndexKeyInfo compileIndexKeyInfo(IndexMultiKey indexMultiKey, String[] hashIndexPropsProvided, SubordPropHashKey[] hashJoinedProps, 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, Iterable<EventBean> contents, AgentInstanceContext agentInstanceContext, boolean isRecoveringResilient)
public static void addIndexMetaAndRef(SubordinateQueryIndexDesc[] indexDescs, EventTableIndexMetadata repo, String statementName) throws ExprValidationException
ExprValidationException