Constructor and Description |
---|
ExistingPalindromeFunction() |
Modifier and Type | Method and Description |
---|---|
Value |
evaluate(TripleSource tripleSource,
Value... args)
Executes the existingPalindrome function.
|
Value |
evaluate(ValueFactory valueFactory,
Value... args)
Evaluate the function over the supplied input arguments, using the supplied
ValueFactory to produce the
result. |
String |
getURI()
return the URI 'http://example.org/custom-function/existingPalindrome' as a String
|
public static final String NAMESPACE
public String getURI()
public Value evaluate(TripleSource tripleSource, Value... args) throws ValueExprEvaluationException
evaluate
in interface Function
tripleSource
- the TripleSource
used in the query evaluation. This can be used to access the current
state of the store.args
- the function input arguments.ValueExprEvaluationException
- if more than one argument is supplied or if the supplied argument is not a
literal.public Value evaluate(ValueFactory valueFactory, Value... args) throws ValueExprEvaluationException
Function
ValueFactory
to produce the
result.evaluate
in interface Function
valueFactory
- a ValueFactory
to use for producing the function result.args
- the function input arguments.ValueExprEvaluationException
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.