C# Class GraphView.MatchComponent

The Component in the joining process
Afficher le fichier Open project: Microsoft/GraphView Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

GetNextState() public méthode

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
Résultat MatchComponent

GetNodeRefName() public méthode

public GetNodeRefName ( MatchNode node ) : string
node MatchNode
Résultat string

MatchComponent() public méthode

public MatchComponent ( ) : System
Résultat System

MatchComponent() public méthode

Deep Copy
public MatchComponent ( MatchComponent component ) : System
component MatchComponent
Résultat System

MatchComponent() public méthode

public MatchComponent ( MatchNode node ) : System
node MatchNode
Résultat System

SpanTableRef() public méthode

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
Résultat WTableReference