Constructor and Description |
---|
CompositeTableLookupPlanForge(int lookupStream,
int indexedStream,
boolean indexedStreamIsVDW,
EventType[] typesPerStream,
TableLookupIndexReqKey indexNum,
List<QueryGraphValueEntryHashKeyedForge> hashKeys,
EPTypeClass[] hashCoercionTypes,
List<QueryGraphValueEntryRangeForge> rangeKeyPairs,
EPTypeClass[] optRangeCoercionTypes,
QueryPlanIndexForge indexSpecs,
MultiKeyClassRef optionalEPLTableLookupMultiKey) |
IndexedTableLookupPlanHashedOnlyForge(int lookupStream,
int indexedStream,
boolean indexedStreamIsVDW,
EventType[] typesPerStream,
TableLookupIndexReqKey indexNum,
QueryGraphValueEntryHashKeyedForge[] hashKeys,
QueryPlanIndexForge indexSpecs,
EPTypeClass[] optionalCoercionTypes,
MultiKeyClassRef optionalEPLTableLookupMultiKey) |
Modifier and Type | Method and Description |
---|---|
QueryPlanIndexForge[] |
QueryPlanForge.getIndexSpecs()
Return index specs.
|
static QueryPlanIndexForge |
QueryPlanIndexForge.makeIndex(List<QueryPlanIndexItemForge> indexesSet) |
static QueryPlanIndexForge |
QueryPlanIndexForge.makeIndexTableAccess(TableLookupIndexReqKey indexName) |
Modifier and Type | Method and Description |
---|---|
static String |
QueryPlanIndexForge.print(QueryPlanIndexForge[] indexSpecs)
Print index specifications in readable format.
|
Constructor and Description |
---|
QueryPlanForge(QueryPlanIndexForge[] indexSpecs,
QueryPlanNodeForge[] execNodeSpecs)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
static QueryPlanIndexForge[] |
QueryPlanIndexBuilder.buildIndexSpec(QueryGraphForge queryGraph,
EventType[] typePerStream,
String[][][] indexedStreamsUniqueProps)
Build index specification from navigability info.
|
Modifier and Type | Method and Description |
---|---|
static TableLookupPlanDesc |
NStreamQueryPlanBuilder.createLookupPlan(QueryGraphForge queryGraph,
int currentLookupStream,
int indexedStream,
boolean indexedStreamIsVDW,
QueryPlanIndexForge indexSpecs,
EventType[] typesPerStream,
TableMetaData indexedStreamTableMeta,
StatementRawInfo raw,
SerdeCompileTimeResolver serdeResolver)
Create the table lookup plan for a from-stream to look up in an indexed stream
using the columns supplied in the query graph and looking at the actual indexes available
and their index number.
|
protected static QueryPlanNodeForgeDesc |
NStreamQueryPlanBuilder.createStreamPlan(int lookupStream,
int[] bestChain,
QueryGraphForge queryGraph,
QueryPlanIndexForge[] indexSpecsPerStream,
EventType[] typesPerStream,
boolean[] isHistorical,
HistoricalStreamIndexListForge[] historicalStreamIndexLists,
TableMetaData[] tablesPerStream,
StreamJoinAnalysisResultCompileTime streamJoinAnalysisResult,
StatementRawInfo raw,
SerdeCompileTimeResolver serdeResolver)
Walks the chain of lookups and constructs lookup strategy and plan specification based
on the index specifications.
|
Copyright © 2005–2021. All rights reserved.