C# Class GraphView.MatchEdge

Show file Open project: Microsoft/GraphView Class Usage Examples

Public Methods

Method Description
GetHashCode ( ) : int
RetrievePredicatesExpression ( ) : WBooleanExpression

Converts edge attribute predicates into a boolean expression, which is used for constructing queries for retrieving edge statistics

ToSchemaObjectFunction ( string nodeAlias, string dumbNode, GraphMetaData metaData ) : GraphView.WSchemaObjectFunctionTableReference

Converts the edge to the table-valued function

Protected Methods

Method Description
ConstructEdgeTvfParameters ( string nodeAlias, string dumbNode, HashSet nodeTableNameSet = null, string>.List edgeNameTuples = null ) : List

Constructs parameters for the edge table-valued function when translation the MATCH clause

Method Details

ConstructEdgeTvfParameters() protected method

Constructs parameters for the edge table-valued function when translation the MATCH clause
protected ConstructEdgeTvfParameters ( string nodeAlias, string dumbNode, HashSet nodeTableNameSet = null, string>.List edgeNameTuples = null ) : List
nodeAlias string Source node alias
dumbNode string Dumb node parameter alias
nodeTableNameSet HashSet Node table names mapping to the source node of the edge. /// If null, the source node is mapped to a physical table in the syntax tree. Otherewise, /// the source node is mapped to a node view
edgeNameTuples string>.List A tuple (Node table name, Edge column name) mapping to the edge. /// If null, the edge is mapped to an edge column in a physical node table. Ohterwise, /// the edge is mapped to an edge view
return List

GetHashCode() public method

public GetHashCode ( ) : int
return int

RetrievePredicatesExpression() public method

Converts edge attribute predicates into a boolean expression, which is used for constructing queries for retrieving edge statistics
public RetrievePredicatesExpression ( ) : WBooleanExpression
return WBooleanExpression

ToSchemaObjectFunction() public method

Converts the edge to the table-valued function
public ToSchemaObjectFunction ( string nodeAlias, string dumbNode, GraphMetaData metaData ) : GraphView.WSchemaObjectFunctionTableReference
nodeAlias string Source node alias
dumbNode string Dumb node parameter alias
metaData GraphMetaData Meta data
return GraphView.WSchemaObjectFunctionTableReference