Interface PropertyFunction

    • Method Detail

      • build

        void build​(PropFuncArg argSubject,
                   Node predicate,
                   PropFuncArg argObject,
                   ExecutionContext execCxt)
        Called during query plan construction immediately after the construction of the property function instance.
        Parameters:
        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
      • exec

        QueryIterator exec​(QueryIterator input,
                           PropFuncArg argSubject,
                           Node predicate,
                           PropFuncArg argObject,
                           ExecutionContext execCxt)
        Create an iterator of bindings for the given inputs
        Parameters:
        input - QueryIterator from the previous stage
        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 - The execution context
        Returns:
        QueryIterator