Class PropertyFunctionBase

  • All Implemented Interfaces:
    PropertyFunction
    Direct Known Subclasses:
    PropertyFunctionEval

    public abstract class PropertyFunctionBase
    extends java.lang.Object
    implements PropertyFunction
    Basic property function handler that calls the implementation subclass one binding at a time
    • 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
        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

        public QueryIterator exec​(QueryIterator input,
                                  PropFuncArg argSubject,
                                  Node predicate,
                                  PropFuncArg argObject,
                                  ExecutionContext execCxt)
        Description copied from interface: PropertyFunction
        Create an iterator of bindings for the given inputs
        Specified by:
        exec in interface PropertyFunction
        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