public class SubordinateQueryPlannerUtil extends Object
Constructor and Description |
---|
SubordinateQueryPlannerUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addIndexMetaAndRef(SubordinateQueryIndexDesc[] indexDescs,
EventTableIndexMetadata repo,
String deploymentId,
String statementName) |
static IndexKeyInfo |
compileIndexKeyInfo(IndexMultiKey indexMultiKey,
String[] hashIndexPropsProvided,
SubordPropHashKeyForge[] hashJoinedProps,
String[] rangeIndexPropsProvided,
SubordPropRangeKeyForge[] 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,
SubordinateWMatchExprQueryPlanForge strategy,
Annotation[] annotations,
ClasspathImportService classpathImportService) |
static void |
queryPlanLogOnSubq(boolean queryPlanLogging,
org.slf4j.Logger queryPlanLog,
SubordinateQueryPlanDescForge plan,
int subqueryNum,
Annotation[] annotations,
ClasspathImportService classpathImportService) |
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 SubordinateQueryPlannerIndexPropListPair toListOfHashedAndBtreeProps(String[] hashIndexPropsProvided, Class[] hashIndexCoercionType, String[] rangeIndexPropsProvided, Class[] rangeIndexCoercionType)
public static void queryPlanLogOnExpr(boolean queryPlanLogging, org.slf4j.Logger queryPlanLog, SubordinateWMatchExprQueryPlanForge strategy, Annotation[] annotations, ClasspathImportService classpathImportService)
public static void queryPlanLogOnSubq(boolean queryPlanLogging, org.slf4j.Logger queryPlanLog, SubordinateQueryPlanDescForge plan, int subqueryNum, Annotation[] annotations, ClasspathImportService classpathImportService)
public static IndexKeyInfo compileIndexKeyInfo(IndexMultiKey indexMultiKey, String[] hashIndexPropsProvided, SubordPropHashKeyForge[] hashJoinedProps, String[] rangeIndexPropsProvided, SubordPropRangeKeyForge[] 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 deploymentId, String statementName)
Copyright © 2005–2018. All rights reserved.