Class EventTableIndexUtil
java.lang.Object
com.espertech.esper.common.internal.epl.lookupplansubord.EventTableIndexUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IndexMultiKey
findByIndexHint
(Map<IndexMultiKey, ? extends EventTableIndexEntryBase> indexCandidates, List<IndexHintInstruction> instructions) static IndexMultiKey
findExactMatchNameAndType
(Set<IndexMultiKey> indexMultiKeys, boolean unique, List<IndexedPropDesc> hashProps, List<IndexedPropDesc> btreeProps) static IndexMultiKey
findExactMatchNameAndType
(Set<IndexMultiKey> indexMultiKeys, IndexMultiKey proposed) findIndexBestAvailable
(Map<IndexMultiKey, ? extends EventTableIndexEntryBase> tablesAvailable, Set<String> keyPropertyNames, Set<String> rangePropertyNames, List<IndexHintInstruction> optionalIndexHintInstructions) static IndexMultiKey
findIndexConsiderTyping
(Map<IndexMultiKey, EventTableIndexMetadataEntry> tableIndexesRefCount, List<IndexedPropDesc> hashProps, List<IndexedPropDesc> btreeProps, List<IndexHintInstruction> optionalIndexHintInstructions) static QueryPlanIndexItemForge
validateCompileExplicitIndex
(String indexName, boolean unique, List<CreateIndexItem> columns, EventType eventType, StatementRawInfo statementRawInfo, StatementCompileTimeServices services)
-
Constructor Details
-
EventTableIndexUtil
public EventTableIndexUtil()
-
-
Method Details
-
validateCompileExplicitIndex
public static QueryPlanIndexItemForge validateCompileExplicitIndex(String indexName, boolean unique, List<CreateIndexItem> columns, EventType eventType, StatementRawInfo statementRawInfo, StatementCompileTimeServices services) throws ExprValidationException - Throws:
ExprValidationException
-
findIndexConsiderTyping
public static IndexMultiKey findIndexConsiderTyping(Map<IndexMultiKey, EventTableIndexMetadataEntry> tableIndexesRefCount, List<IndexedPropDesc> hashProps, List<IndexedPropDesc> btreeProps, List<IndexHintInstruction> optionalIndexHintInstructions) -
findIndexBestAvailable
public static Pair<IndexMultiKey,EventTableIndexEntryBase> findIndexBestAvailable(Map<IndexMultiKey, ? extends EventTableIndexEntryBase> tablesAvailable, Set<String> keyPropertyNames, Set<String> rangePropertyNames, List<IndexHintInstruction> optionalIndexHintInstructions) -
findByIndexHint
public static IndexMultiKey findByIndexHint(Map<IndexMultiKey, ? extends EventTableIndexEntryBase> indexCandidates, List<IndexHintInstruction> instructions) -
findExactMatchNameAndType
public static IndexMultiKey findExactMatchNameAndType(Set<IndexMultiKey> indexMultiKeys, IndexMultiKey proposed) -
findExactMatchNameAndType
public static IndexMultiKey findExactMatchNameAndType(Set<IndexMultiKey> indexMultiKeys, boolean unique, List<IndexedPropDesc> hashProps, List<IndexedPropDesc> btreeProps)
-