Class ElementServiceWithParams

java.lang.Object
org.apache.jena.sparql.syntax.Element
org.apache.jena.sparql.syntax.ElementService
se.liu.ida.hefquin.jenaext.sparql.syntax.ElementServiceWithParams

public class ElementServiceWithParams extends org.apache.jena.sparql.syntax.ElementService
This class extends ElementService to represent SERVICE clauses that use PARAMS(...), which is a HeFQUIN-specific extension to SERVICE.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final Map<String,org.apache.jena.sparql.core.Var>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ElementServiceWithParams(org.apache.jena.graph.Node n, org.apache.jena.sparql.syntax.Element el, boolean silent, Map<String,org.apache.jena.sparql.core.Var> paramVars)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<String,org.apache.jena.sparql.core.Var>
    Returns the parameter-variable pairs listed inside the PARAMS(...) part of the SERVICE clause.

    Methods inherited from class org.apache.jena.sparql.syntax.ElementService

    equalTo, getElement, getServiceNode, getSilent, hashCode, visit

    Methods inherited from class org.apache.jena.sparql.syntax.Element

    equals, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • paramVars

      protected final Map<String,org.apache.jena.sparql.core.Var> paramVars
  • Constructor Details

    • ElementServiceWithParams

      public ElementServiceWithParams(org.apache.jena.graph.Node n, org.apache.jena.sparql.syntax.Element el, boolean silent, Map<String,org.apache.jena.sparql.core.Var> paramVars)
      Parameters:
      n - - the service node, an IRI or a variable
      el - - represents the graph pattern inside the SERVICE clause
      silent - - true if the SERVICE clause has the SILENT keyword
      paramVars - - the parameter-variable pairs listed inside PARAMS(...) where the keys correspond to the AS "..." names
  • Method Details

    • getParamVars

      public Map<String,org.apache.jena.sparql.core.Var> getParamVars()
      Returns the parameter-variable pairs listed inside the PARAMS(...) part of the SERVICE clause.
      Returns:
      the parameter-variable pairs from the PARAMS(...) part