C# Класс GraphView.MatchComponent

The Component in the joining process
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetNextState ( CandidateJoinUnit candidateTree, IMatchJoinStatisticsCalculator statisticsCalculator, GraphMetaData metaData, bool>.Dictionary srcNodeStatisticsDict ) : MatchComponent

Transit from current component to the new component in the next state given the Node Unit

GetNodeRefName ( MatchNode node ) : string
MatchComponent ( ) : System
MatchComponent ( MatchComponent component ) : System

Deep Copy

MatchComponent ( MatchNode node ) : System
SpanTableRef ( WTableReference tableRef, MatchEdge edge, string nodeAlias, string dumbNode, GraphMetaData metaData ) : WTableReference

Span the table given the edge using cross apply

Приватные методы

Метод Описание
AdjustEstimation ( CandidateJoinUnit candidateJoinUnit, string nodeAlias, GraphMetaData metaData, WBooleanExpression &joinCondition, double &affectedSqlEstimatedSize ) : GraphView.WTableReference

Calculate the number used for adjusting the SQL Server estimation in the downsize function.

AdjustEstimation ( MatchComponent component, List matEdges, WBooleanExpression &joinCondition, double &affectedSqlEstimatedSize ) : GraphView.WTableReference

Calculate the number used for adjusting the SQL Server estimation in the downsize function.

ConstructDownSizeJoinCondition ( string affectedTableAlias ) : WBooleanExpression
ConstructJoinCondition ( CandidateJoinUnit candidateTree, IMatchJoinStatisticsCalculator statisticsCalculator, GraphMetaData metaData, bool>.Dictionary srcNodeStatisticsDict, double &preJoinSelectivity, double &postJoinSelectivity, double &sqlEstimatedJoinSelectivity ) : WBooleanExpression
ConstructPhysicalJoinAndUpdateCost ( CandidateJoinUnit nodeUnitCandidate, WBooleanExpression joinCondition, double preJoinSelectivity, double postJoinSelectivity, double estimatedSelectivity, GraphMetaData metaData ) : void

Calculate join costs and update components using optimal join method & order

ConstructUpSizeTableReference ( WTableReference tableRef, double upSizeScalar, double &affectedEstimatedSize ) : WTableReference
ConstructUpSizeTableReference ( WTableReference tableRef, double upSizeScalar, string dumb, DumbType dumbType, double &affectedEstimatedSize ) : WTableReference

Описание методов

GetNextState() публичный Метод

Transit from current component to the new component in the next state given the Node Unit
public GetNextState ( CandidateJoinUnit candidateTree, IMatchJoinStatisticsCalculator statisticsCalculator, GraphMetaData metaData, bool>.Dictionary srcNodeStatisticsDict ) : MatchComponent
candidateTree CandidateJoinUnit
statisticsCalculator IMatchJoinStatisticsCalculator
metaData GraphMetaData
srcNodeStatisticsDict bool>.Dictionary
Результат MatchComponent

GetNodeRefName() публичный Метод

public GetNodeRefName ( MatchNode node ) : string
node MatchNode
Результат string

MatchComponent() публичный Метод

public MatchComponent ( ) : System
Результат System

MatchComponent() публичный Метод

Deep Copy
public MatchComponent ( MatchComponent component ) : System
component MatchComponent
Результат System

MatchComponent() публичный Метод

public MatchComponent ( MatchNode node ) : System
node MatchNode
Результат System

SpanTableRef() публичный Метод

Span the table given the edge using cross apply
public SpanTableRef ( WTableReference tableRef, MatchEdge edge, string nodeAlias, string dumbNode, GraphMetaData metaData ) : WTableReference
tableRef WTableReference
edge MatchEdge
nodeAlias string
dumbNode string
metaData GraphMetaData
Результат WTableReference