Class PFuncSimpleAndList

  • All Implemented Interfaces:
    PropertyFunction
    Direct Known Subclasses:
    concat, strSplit

    public abstract class PFuncSimpleAndList
    extends PropertyFunctionEval
    Common, simple case:
    • subject argument is not a list
    • object is 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,
                                                    Node subject,
                                                    Node predicate,
                                                    PropFuncArg object,
                                                    ExecutionContext execCxt)
        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 - List in object slot, after substitution of any bound variables in this binding
        execCxt - Execution context
        Returns:
        QueryIterator