public class EventTableIndexUtil extends Object
Constructor and Description |
---|
EventTableIndexUtil() |
public static QueryPlanIndexItemForge validateCompileExplicitIndex(String indexName, boolean unique, List<CreateIndexItem> columns, EventType eventType, StatementRawInfo statementRawInfo, StatementCompileTimeServices services) throws ExprValidationException
ExprValidationException
public static IndexMultiKey findIndexConsiderTyping(Map<IndexMultiKey,EventTableIndexMetadataEntry> tableIndexesRefCount, List<IndexedPropDesc> hashProps, List<IndexedPropDesc> btreeProps, List<IndexHintInstruction> optionalIndexHintInstructions)
public static Pair<IndexMultiKey,EventTableIndexEntryBase> findIndexBestAvailable(Map<IndexMultiKey,? extends EventTableIndexEntryBase> tablesAvailable, Set<String> keyPropertyNames, Set<String> rangePropertyNames, List<IndexHintInstruction> optionalIndexHintInstructions)
public static IndexMultiKey findByIndexHint(Map<IndexMultiKey,? extends EventTableIndexEntryBase> indexCandidates, List<IndexHintInstruction> instructions)
public static IndexMultiKey findExactMatchNameAndType(Set<IndexMultiKey> indexMultiKeys, IndexMultiKey proposed)
public static IndexMultiKey findExactMatchNameAndType(Set<IndexMultiKey> indexMultiKeys, boolean unique, List<IndexedPropDesc> hashProps, List<IndexedPropDesc> btreeProps)
Copyright © 2005–2018. All rights reserved.