Class SpinFunction
java.lang.Object
org.eclipse.rdf4j.spin.function.AbstractSpinFunction
org.eclipse.rdf4j.spin.function.SpinFunction
- All Implemented Interfaces:
Function, TransientFunction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArgument(Argument arg) evaluate(ValueFactory valueFactory, Value... args) Evaluate the function over the supplied input arguments, using the suppliedValueFactoryto produce the result.voidsetParsedQuery(ParsedQuery query) toString()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, 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
-
SpinFunction
-
-
Method Details
-
setParsedQuery
-
getParsedQuery
-
addArgument
-
getArguments
-
toString
-
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
-