Class assign

  • All Implemented Interfaces:
    PropertyFunction

    public class assign
    extends PFuncSimple
    Assignment: does not change the value of an existing binding. Either the subject or object must be a constant or be a bound variable. If both are bound, it degenerates to a test of RDF term equality.
    • Constructor Detail

      • assign

        public assign()
    • Method Detail

      • execEvaluated

        public QueryIterator execEvaluated​(Binding binding,
                                           Node subject,
                                           Node predicate,
                                           Node object,
                                           ExecutionContext execCxt)
        Specified by:
        execEvaluated in class PFuncSimple
        Parameters:
        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
        Returns:
        QueryIterator