Exemple #1
0
 public SingleEdgeMatcher(SingleEdgeMatcher step, IGraphQueryStep right)
 {
     Right           = right;
     QueryParameters = step.QueryParameters;
     IncludedEdges   = new Dictionary <string, Sparrow.Json.BlittableJsonReaderObject>(StringComparer.OrdinalIgnoreCase);
     Results         = new List <Match>();
     Edge            = step.Edge;
     EdgeAlias       = step.EdgeAlias;
 }
Exemple #2
0
 public SingleEdgeMatcher(SingleEdgeMatcher step, IGraphQueryStep right, char identityPartsSeparator)
 {
     Right = right;
     _identityPartsSeparator = identityPartsSeparator;
     QueryParameters         = step.QueryParameters;
     IncludedEdges           = new Dictionary <string, BlittableJsonReaderObject>(StringComparer.OrdinalIgnoreCase);
     Results   = new List <Match>();
     Edge      = step.Edge;
     EdgeAlias = step.EdgeAlias;
 }
Exemple #3
0
        public EdgeQueryStep(IGraphQueryStep left, IGraphQueryStep right, WithEdgesExpression edgesExpression, MatchPath edgePath, BlittableJsonReaderObject queryParameters, OperationCancelToken token)
        {
            _left  = left;
            _right = right;

            _aliases = new HashSet <string>();

            _aliases.UnionWith(_left.GetAllAliases());
            _aliases.UnionWith(_right.GetAllAliases());
            _aliases.Add(edgePath.Alias.Value);

            _edgePath        = edgePath;
            _queryParameters = queryParameters;
            _edgesExpression = edgesExpression;

            _outputAlias = _right.GetOutputAlias();
            _token       = token;
        }