Interface OpSet
- All Superinterfaces:
org.apache.jena.graph.FrontsNode,Op,Op1,org.apache.jena.rdf.model.RDFNode,org.apache.jena.rdf.model.Resource
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 TypeMethodDescriptiondefault <T> Tdefault OpSetstatic OpSetcreate(org.apache.jena.rdf.model.Model model, Op subOp, String ctxVarName, String selectorVarName, String selector, String path) getPath()Selector is a select query returning a single variable, such as SELECT ?x { ?s a ?x }setCtxVarName(String string) setPropertyPath(String str) setSelector(String string) setSelectorVarName(String str) Methods inherited from interface org.apache.jena.graph.FrontsNode
asNodeMethods inherited from interface org.aksw.jena_sparql_api.conjure.dataset.algebra.Op1
getChildren, getSubOpMethods inherited from interface org.apache.jena.rdf.model.RDFNode
as, asLiteral, asResource, canAs, getModel, isAnon, isLiteral, isResource, isStmtResource, isURIResource, visitWithMethods 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
-
getSelector
String getSelector()Selector is a select query returning a single variable, such as SELECT ?x { ?s a ?x }- Returns:
-
setSelector
-
getPropertyPath
String getPropertyPath() -
setPropertyPath
-
getSelectorVarName
String getSelectorVarName() -
setSelectorVarName
-
getPath
String getPath() -
setPath
-
setSubOp
-
accept
-
clone
-
create
-