java.lang.Object
org.apache.jena.sparql.pfunction.PropertyFunctionBase
org.apache.jena.sparql.pfunction.PropertyFunctionEval
org.apache.jena.sparql.pfunction.PFuncSimple
org.apache.jena.sparql.pfunction.library.str
- All Implemented Interfaces:
PropertyFunction
Property function to turn an RDF term (but not a blank node) into a string
?x :str "foo"@en
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
build
(PropFuncArg argSubject, org.apache.jena.graph.Node predicate, PropFuncArg argObject, ExecutionContext execCxt) Called during query plan construction immediately after the construction of the property function instance.execEvaluated
(Binding binding, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object, ExecutionContext execCxt) Methods inherited from class org.apache.jena.sparql.pfunction.PFuncSimple
execEvaluated
Methods inherited from class org.apache.jena.sparql.pfunction.PropertyFunctionEval
exec
Methods inherited from class org.apache.jena.sparql.pfunction.PropertyFunctionBase
exec
-
Constructor Details
-
str
public str()
-
-
Method Details
-
build
public void build(PropFuncArg argSubject, org.apache.jena.graph.Node predicate, PropFuncArg argObject, ExecutionContext execCxt) Description copied from interface:PropertyFunction
Called during query plan construction immediately after the construction of the property function instance.- Specified by:
build
in interfacePropertyFunction
- Overrides:
build
in classPropertyFunctionBase
- Parameters:
argSubject
- The parsed argument(s) in the subject positionpredicate
- The extension URI (as a Node).argObject
- The parsed argument(s) in the object positionexecCxt
- Execution context
-
execEvaluated
public QueryIterator execEvaluated(Binding binding, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object, ExecutionContext execCxt) - Specified by:
execEvaluated
in classPFuncSimple
- Parameters:
binding
- Current solution from previous query stagesubject
- Node in subject slot, after substitution if a bound variable in this bindingpredicate
- This predicateobject
- Node in object slot, after substitution if a bound variable in this bindingexecCxt
- Execution context- Returns:
- QueryIterator
-