Class PFuncListAndSimple

  • All Implemented Interfaces:
    PropertyFunction

    public abstract class PFuncListAndSimple
    extends PropertyFunctionEval
    The case of:
    • subject is a list
    • object is a node, not a list
    • call the implementation with one binding at a time
    • Method Detail

      • execEvaluated

        public QueryIterator execEvaluated​(Binding binding,
                                           PropFuncArg argSubject,
                                           Node predicate,
                                           PropFuncArg argObject,
                                           ExecutionContext execCxt)
        Specified by:
        execEvaluated in class PropertyFunctionEval
        Parameters:
        binding - Current solution from previous query stage
        argSubject - PropFuncArg, after substitution of any bound variables in this binding
        predicate - This predicate
        argObject - PropFuncArg, after substitution of any bound variables in this binding
        execCxt - Execution context
        Returns:
        QueryIterator
      • execEvaluated

        public abstract QueryIterator execEvaluated​(Binding binding,
                                                    PropFuncArg subject,
                                                    Node predicate,
                                                    Node object,
                                                    ExecutionContext execCxt)
        Parameters:
        binding - Current solution from previous query stage
        subject - List in subject slot, after substitution of any bound variables 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