Class ObjectFunction
java.lang.Object
org.eclipse.rdf4j.spin.function.AbstractSpinFunction
org.eclipse.rdf4j.spin.function.ObjectFunction
- All Implemented Interfaces:
Function
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate(ValueFactory valueFactory, Value... args) Evaluate the function over the supplied input arguments, using the suppliedValueFactoryto produce the result.Methods inherited from class AbstractSpinFunction
addBindings, getCurrentQueryPreparer, getQueryPreparer, getURI, setQueryPreparerModifier and TypeMethodDescriptionprotected static voidaddBindings(Query query, Value... args) protected QueryPreparergetURI()voidsetQueryPreparer(QueryPreparer queryPreparer) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Function
evaluate, getURI, mustReturnDifferentResultModifier and TypeMethodDescriptiondefault Valueevaluate(TripleSource tripleSource, Value... args) Evaluate the function over the supplied input arguments.getURI()default booleanUUID() and STRUUID() must return a different result for each invocation.
-
Constructor Details
-
ObjectFunction
public ObjectFunction()
-
-
Method Details
-
evaluate
Description copied from interface:FunctionEvaluate the function over the supplied input arguments, using the suppliedValueFactoryto produce the result.- Specified by:
evaluatein interfaceFunction- Parameters:
valueFactory- aValueFactoryto use for producing the function result.args- the function input arguments.- Returns:
- the function result value.
- Throws:
ValueExprEvaluationException
-