Class StrBefore
java.lang.Object
org.eclipse.rdf4j.query.algebra.evaluation.function.string.StrBefore
- All Implemented Interfaces:
Function
The SPARQL built-in
Function
STRBEFORE, as defined in
SPARQL Query Language for RDF.- Author:
- Jeen Broekstra
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionevaluate(ValueFactory valueFactory, Value... args)
Evaluate the function over the supplied input arguments, using the suppliedValueFactory
to produce the result.getURI()
-
Constructor Details
-
StrBefore
public StrBefore()
-
-
Method Details
-
getURI
-
evaluate
public Literal evaluate(ValueFactory valueFactory, Value... args) throws ValueExprEvaluationExceptionDescription copied from interface:Function
Evaluate the function over the supplied input arguments, using the suppliedValueFactory
to produce the result.- Specified by:
evaluate
in interfaceFunction
- Parameters:
valueFactory
- aValueFactory
to use for producing the function result.args
- the function input arguments.- Returns:
- the function result value.
- Throws:
ValueExprEvaluationException
-