wiring hooked up

pull/11/head
Dustin Whitney 5 years ago
parent aea8dcebb9
commit 68d067259c
  1. 2
      lib/src/sparql/plan.rs
  2. 1
      lib/src/sparql/plan_builder.rs

@ -1,4 +1,5 @@
use crate::sparql::GraphPattern; use crate::sparql::GraphPattern;
use crate::sparql::model::Variable;
use crate::sparql::eval::StringOrStoreString; use crate::sparql::eval::StringOrStoreString;
use crate::store::numeric_encoder::{ use crate::store::numeric_encoder::{
EncodedQuad, EncodedTerm, Encoder, MemoryStrStore, StrContainer, StrLookup, EncodedQuad, EncodedTerm, Encoder, MemoryStrStore, StrContainer, StrLookup,
@ -19,6 +20,7 @@ pub enum PlanNode {
}, },
Service { Service {
service_name: PatternValue, service_name: PatternValue,
variables: Vec<Variable>,
child: Box<PlanNode>, child: Box<PlanNode>,
graph_pattern: GraphPattern, graph_pattern: GraphPattern,
silent: bool, silent: bool,

@ -108,6 +108,7 @@ impl<E: Encoder> PlanBuilder<E> {
let graph_pattern = *p.clone(); let graph_pattern = *p.clone();
PlanNode::Service { PlanNode::Service {
service_name, service_name,
variables: variables.clone(),
child: Box::new(self.build_for_graph_pattern(p, variables, service_name)?), child: Box::new(self.build_for_graph_pattern(p, variables, service_name)?),
graph_pattern, graph_pattern,
silent: *s, silent: *s,

Loading…
Cancel
Save