public class EventTableIndexUtil
extends java.lang.Object
Constructor and Description |
---|
EventTableIndexUtil() |
Modifier and Type | Method and Description |
---|---|
static IndexMultiKey |
findByIndexHint(java.util.Map<IndexMultiKey,? extends EventTableIndexEntryBase> indexCandidates,
java.util.List<IndexHintInstruction> instructions) |
static IndexMultiKey |
findExactMatchNameAndType(java.util.Set<IndexMultiKey> indexMultiKeys,
boolean unique,
java.util.List<IndexedPropDesc> hashProps,
java.util.List<IndexedPropDesc> btreeProps,
AdvancedIndexDesc advancedIndexDesc) |
static Pair<IndexMultiKey,EventTableIndexEntryBase> |
findIndexBestAvailable(java.util.Map<IndexMultiKey,? extends EventTableIndexEntryBase> tablesAvailable,
java.util.Set<java.lang.String> keyPropertyNames,
java.util.Set<java.lang.String> rangePropertyNames,
java.util.List<IndexHintInstruction> optionalIndexHintInstructions) |
static IndexMultiKey |
findIndexConsiderTyping(java.util.Map<IndexMultiKey,EventTableIndexMetadataEntry> tableIndexesRefCount,
java.util.List<IndexedPropDesc> hashProps,
java.util.List<IndexedPropDesc> btreeProps,
java.util.List<IndexHintInstruction> optionalIndexHintInstructions) |
static QueryPlanIndexItem |
validateCompileExplicitIndex(java.lang.String indexName,
boolean unique,
java.util.List<CreateIndexItem> columns,
EventType eventType,
StatementContext statementContext) |
public static QueryPlanIndexItem validateCompileExplicitIndex(java.lang.String indexName, boolean unique, java.util.List<CreateIndexItem> columns, EventType eventType, StatementContext statementContext) throws ExprValidationException
ExprValidationException
public static IndexMultiKey findIndexConsiderTyping(java.util.Map<IndexMultiKey,EventTableIndexMetadataEntry> tableIndexesRefCount, java.util.List<IndexedPropDesc> hashProps, java.util.List<IndexedPropDesc> btreeProps, java.util.List<IndexHintInstruction> optionalIndexHintInstructions)
public static Pair<IndexMultiKey,EventTableIndexEntryBase> findIndexBestAvailable(java.util.Map<IndexMultiKey,? extends EventTableIndexEntryBase> tablesAvailable, java.util.Set<java.lang.String> keyPropertyNames, java.util.Set<java.lang.String> rangePropertyNames, java.util.List<IndexHintInstruction> optionalIndexHintInstructions)
public static IndexMultiKey findByIndexHint(java.util.Map<IndexMultiKey,? extends EventTableIndexEntryBase> indexCandidates, java.util.List<IndexHintInstruction> instructions)
public static IndexMultiKey findExactMatchNameAndType(java.util.Set<IndexMultiKey> indexMultiKeys, boolean unique, java.util.List<IndexedPropDesc> hashProps, java.util.List<IndexedPropDesc> btreeProps, AdvancedIndexDesc advancedIndexDesc)