org.topbraid.sparql.functions
Class AbstractClassPropertyFunction
java.lang.Object
com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase
org.topbraid.sparql.functions.AbstractClassPropertyFunction
- All Implemented Interfaces:
- com.hp.hpl.jena.sparql.pfunction.PropertyFunction
- Direct Known Subclasses:
- LocalRangeFunction, MaxCardinalityFunction, MinCardinalityFunction
public abstract class AbstractClassPropertyFunction
- extends com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase
Base class for functions of the form
?result spam:function (?cls ?property)
where ?result is computed as result of some function taking cls and property
as arguments.
- Author:
- Holger Knublauch
|
Method Summary |
com.hp.hpl.jena.sparql.engine.QueryIterator |
exec(com.hp.hpl.jena.sparql.engine.binding.Binding binding,
com.hp.hpl.jena.sparql.pfunction.PropFuncArg argSubject,
com.hp.hpl.jena.graph.Node predicate,
com.hp.hpl.jena.sparql.pfunction.PropFuncArg argObject,
com.hp.hpl.jena.sparql.engine.ExecutionContext execCxt)
|
protected abstract com.hp.hpl.jena.rdf.model.RDFNode |
getResult(com.hp.hpl.jena.rdf.model.Resource cls,
com.hp.hpl.jena.rdf.model.Property property)
|
| Methods inherited from class com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase |
build, exec |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractClassPropertyFunction
public AbstractClassPropertyFunction()
exec
public com.hp.hpl.jena.sparql.engine.QueryIterator exec(com.hp.hpl.jena.sparql.engine.binding.Binding binding,
com.hp.hpl.jena.sparql.pfunction.PropFuncArg argSubject,
com.hp.hpl.jena.graph.Node predicate,
com.hp.hpl.jena.sparql.pfunction.PropFuncArg argObject,
com.hp.hpl.jena.sparql.engine.ExecutionContext execCxt)
- Specified by:
exec in class com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase
getResult
protected abstract com.hp.hpl.jena.rdf.model.RDFNode getResult(com.hp.hpl.jena.rdf.model.Resource cls,
com.hp.hpl.jena.rdf.model.Property property)