C# Class GraphView.MatchComponent

The Component in the joining process
Datei anzeigen Open project: Microsoft/GraphView Class Usage Examples

Public Methods

Method 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

Method 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 method

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
return MatchComponent

GetNodeRefName() public method

public GetNodeRefName ( MatchNode node ) : string
node MatchNode
return string

MatchComponent() public method

public MatchComponent ( ) : System
return System

MatchComponent() public method

Deep Copy
public MatchComponent ( MatchComponent component ) : System
component MatchComponent
return System

MatchComponent() public method

public MatchComponent ( MatchNode node ) : System
node MatchNode
return System

SpanTableRef() public method

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
return WTableReference