public abstract class PropertyFunctionBase extends Object implements PropertyFunction
Modifier and Type | Method and Description |
---|---|
void |
build(PropFuncArg argSubject,
Node predicate,
PropFuncArg argObject,
ExecutionContext execCxt)
Called during query plan construction immediately after the
construction of the property function instance.
|
abstract QueryIterator |
exec(Binding binding,
PropFuncArg argSubject,
Node predicate,
PropFuncArg argObject,
ExecutionContext execCxt) |
QueryIterator |
exec(QueryIterator input,
PropFuncArg argSubject,
Node predicate,
PropFuncArg argObject,
ExecutionContext execCxt)
Create an iterator of bindings for the given inputs
|
public void build(PropFuncArg argSubject, Node predicate, PropFuncArg argObject, ExecutionContext execCxt)
PropertyFunction
build
in interface PropertyFunction
argSubject
- The parsed argument(s) in the subject positionpredicate
- The extension URI (as a Node).argObject
- The parsed argument(s) in the object positionexecCxt
- Execution contextpublic QueryIterator exec(QueryIterator input, PropFuncArg argSubject, Node predicate, PropFuncArg argObject, ExecutionContext execCxt)
PropertyFunction
exec
in interface PropertyFunction
input
- QueryIterator from the previous stageargSubject
- The parsed argument(s) in the subject positionpredicate
- The extension URI (as a Node).argObject
- The parsed argument(s) in the object positionexecCxt
- The execution contextpublic abstract QueryIterator exec(Binding binding, PropFuncArg argSubject, Node predicate, PropFuncArg argObject, ExecutionContext execCxt)
Licenced under the Apache License, Version 2.0