public class Substring extends Object implements Function
Function
SUBSTR, as defined in
SPARQL Query Language for RDF.Constructor and Description |
---|
Substring() |
Modifier and Type | Method and Description |
---|---|
Literal |
evaluate(ValueFactory valueFactory,
Value... args)
Evaluate the function over the supplied input arguments, using the supplied
ValueFactory to produce the
result. |
String |
getURI() |
static int |
intFromLiteral(Literal literal) |
public Literal 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
public static int intFromLiteral(Literal literal) throws ValueExprEvaluationException
ValueExprEvaluationException
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.