Class str

  • All Implemented Interfaces:

    public class str
    extends PFuncSimple
    Property function to turn an RDF term (but not a blank node) into a string
          ?x :str "foo"@en
    • Constructor Detail

      • str

        public str()
    • Method Detail

      • build

        public void build​(PropFuncArg argSubject,
                          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 interface PropertyFunction
        build in class PropertyFunctionBase
        argSubject - The parsed argument(s) in the subject position
        predicate - The extension URI (as a Node).
        argObject - The parsed argument(s) in the object position
        execCxt - Execution context
      • execEvaluated

        public QueryIterator execEvaluated​(Binding binding,
                                           Node subject,
                                           Node predicate,
                                           Node object,
                                           ExecutionContext execCxt)
        Specified by:
        execEvaluated in class PFuncSimple
        binding - Current solution from previous query stage
        subject - Node in subject slot, after substitution if a bound variable in this binding
        predicate - This predicate
        object - Node in object slot, after substitution if a bound variable in this binding
        execCxt - Execution context