Skip to content
Discussion options

You must be logged in to vote

Your understanding is close, but there are a couple of additional integration points.

For a new magic SERVICE type, the full path is usually:

  1. Add a new parsed-query type (typically a MagicServiceQuery subclass) with addParameter + validate.
  2. Add/route a service IRI in MagicServiceIriConstants.h and SparqlQleverVisitor::visit(ServiceGraphPatternContext*) so it dispatches via visitMagicServiceQuery<YourType>(...).
  3. Add the new type to GraphPatternOperation's variant list.
  4. Extend QueryPlanner::GraphPatternPlanner::graphPatternOperationVisitor(...) (and often a dedicated visitX) to translate parsed config into an executable plan node.
  5. Implement or wire the execution Operation used by that plan…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@trueg
Comment options

Answer selected by trueg
Comment options

You must be logged in to vote
1 reply
@trueg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants