Class ST_Concat
java.lang.Object
fr.mines_stetienne.ci.sparql_generate.function.library.ST_Concat
- All Implemented Interfaces:
org.apache.jena.sparql.function.Function
Function st:concat
concatenates the string values of its arguments, as in
STTL. The template
expressions of a TEMPLATE query are compiled to a call to st:concat.
The arguments are evaluated in turn and written to a template output of their own, so that the indentation set by st:incr and st:decr, the functions that BOX uses, applies to them. An argument that cannot be evaluated is skipped; with the option debugTemplate, an error message is written in its place.
- Author:
- Maxime Lefrançois
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidbuild(String uri, org.apache.jena.sparql.expr.ExprList args, org.apache.jena.sparql.util.Context context) org.apache.jena.sparql.expr.NodeValueexec(org.apache.jena.sparql.engine.binding.Binding binding, org.apache.jena.sparql.expr.ExprList args, String uri, org.apache.jena.sparql.function.FunctionEnv env)
-
Field Details
-
URI
- See Also:
-
-
Constructor Details
-
ST_Concat
public ST_Concat()
-
-
Method Details
-
build
public final void build(String uri, org.apache.jena.sparql.expr.ExprList args, org.apache.jena.sparql.util.Context context) - Specified by:
buildin interfaceorg.apache.jena.sparql.function.Function
-
exec
public org.apache.jena.sparql.expr.NodeValue exec(org.apache.jena.sparql.engine.binding.Binding binding, org.apache.jena.sparql.expr.ExprList args, String uri, org.apache.jena.sparql.function.FunctionEnv env) - Specified by:
execin interfaceorg.apache.jena.sparql.function.Function- Parameters:
binding-args-uri-env-- Returns:
-