com.hp.hpl.jena.sparql.pfunction
Interface PropertyFunction

All Known Implementing Classes:
alt, assign, bag, blankNode, bnode, concat, container, ListBase, ListBase1, ListBaseList, listIndex, listLength, listMember, PathPropertyFunction, PFuncAssignToObject, PFuncAssignToSubject, PFuncSimple, PFuncSimpleAndList, PropertyFunctionBase, PropertyFunctionEval, seq, splitIRI, splitURI, str, version, versionARQ

public interface PropertyFunction


Method Summary
 void build(PropFuncArg argSubject, com.hp.hpl.jena.graph.Node predicate, PropFuncArg argObject, ExecutionContext execCxt)
          Called during query plan construction immediately after the construction of the property function instance.
 QueryIterator exec(QueryIterator input, PropFuncArg argSubject, com.hp.hpl.jena.graph.Node predicate, PropFuncArg argObject, ExecutionContext execCxt)
          Create an iterator of bindings for the given inputs
 

Method Detail

build

void build(PropFuncArg argSubject,
           com.hp.hpl.jena.graph.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,
                   com.hp.hpl.jena.graph.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


Licenced under the Apache License, Version 2.0