All Superinterfaces:
org.apache.jena.graph.FrontsNode, Op, Op1, org.apache.jena.rdf.model.RDFNode, org.apache.jena.rdf.model.Resource

public interface OpSet extends Op1
Set a variable in the execution context. A select query with a single projection variable acts as the selector for values. For convenience, a property path can be used to navigate to a related set of resources. Empty or null property path is treated as identity var = ("SELECT ?s { ?s someProp ?x }", rdfs:label)
Author:
raven
  • Method Summary

    Modifier and Type
    Method
    Description
    default <T> T
    accept(OpVisitor<T> visitor)
     
    default OpSet
    clone(org.apache.jena.rdf.model.Model cloneModel, List<Op> subOps)
     
    static OpSet
    create(org.apache.jena.rdf.model.Model model, Op subOp, String ctxVarName, String selectorVarName, String selector, String path)
     
     
     
     
    Selector is a select query returning a single variable, such as SELECT ?x { ?s a ?x }
     
     
     
     
     
     
    setSubOp(Op subOp)
     

    Methods inherited from interface org.apache.jena.graph.FrontsNode

    asNode

    Methods inherited from interface org.aksw.jena_sparql_api.conjure.dataset.algebra.Op1

    getChildren, getSubOp

    Methods inherited from interface org.apache.jena.rdf.model.RDFNode

    as, asLiteral, asResource, canAs, getModel, isAnon, isLiteral, isResource, isStmtResource, isURIResource, visitWith

    Methods inherited from interface org.apache.jena.rdf.model.Resource

    abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getStmtTerm, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toString
  • Method Details

    • getCtxVarName

      String getCtxVarName()
    • setCtxVarName

      OpSet setCtxVarName(String string)
    • getSelector

      String getSelector()
      Selector is a select query returning a single variable, such as SELECT ?x { ?s a ?x }
      Returns:
    • setSelector

      OpSet setSelector(String string)
    • getPropertyPath

      String getPropertyPath()
    • setPropertyPath

      OpSet setPropertyPath(String str)
    • getSelectorVarName

      String getSelectorVarName()
    • setSelectorVarName

      OpSet setSelectorVarName(String str)
    • getPath

      String getPath()
    • setPath

      OpSet setPath(String str)
    • setSubOp

      OpSet setSubOp(Op subOp)
      Specified by:
      setSubOp in interface Op1
    • accept

      default <T> T accept(OpVisitor<T> visitor)
      Specified by:
      accept in interface Op
    • clone

      default OpSet clone(org.apache.jena.rdf.model.Model cloneModel, List<Op> subOps)
      Specified by:
      clone in interface Op
    • create

      static OpSet create(org.apache.jena.rdf.model.Model model, Op subOp, String ctxVarName, String selectorVarName, String selector, String path)