Package org.aksw.jenax.arq.util.expr
Class FunctionUtils
java.lang.Object
org.aksw.jenax.arq.util.expr.FunctionUtils
Utilities to invoke a Jena SPARQL function with a given list of Node arguments
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.jena.graph.NodeinvokeWithNodes(String iri, org.apache.jena.graph.Node... nodes) Invoke a function in the default registry by URIstatic org.apache.jena.graph.NodeinvokeWithNodes(org.apache.jena.sparql.function.FunctionRegistry registry, String iri, org.apache.jena.graph.Node... nodes) Invoke a function in the default registry by URIstatic org.apache.jena.graph.NodeinvokeWithNodes(org.apache.jena.sparql.function.Function fn, Iterable<org.apache.jena.graph.Node> nodes) static org.apache.jena.graph.NodeinvokeWithNodes(org.apache.jena.sparql.function.Function fn, String iri, Iterable<org.apache.jena.graph.Node> nodes) Invoke a function with nodes and get the result as nodesstatic org.apache.jena.graph.NodeinvokeWithNodes(org.apache.jena.sparql.function.Function fn, String iri, org.apache.jena.graph.Node... nodes) static org.apache.jena.graph.NodeinvokeWithNodes(org.apache.jena.sparql.function.Function fn, org.apache.jena.graph.Node... nodes) Invoke a function with nodes and get the result as nodes.static void
-
Constructor Details
-
FunctionUtils
public FunctionUtils()
-
-
Method Details
-
invokeWithNodes
public static org.apache.jena.graph.Node invokeWithNodes(String iri, org.apache.jena.graph.Node... nodes) Invoke a function in the default registry by URI -
invokeWithNodes
public static org.apache.jena.graph.Node invokeWithNodes(org.apache.jena.sparql.function.FunctionRegistry registry, String iri, org.apache.jena.graph.Node... nodes) Invoke a function in the default registry by URI -
invokeWithNodes
public static org.apache.jena.graph.Node invokeWithNodes(org.apache.jena.sparql.function.Function fn, org.apache.jena.graph.Node... nodes) Invoke a function with nodes and get the result as nodes. Passes null for the iri. -
invokeWithNodes
public static org.apache.jena.graph.Node invokeWithNodes(org.apache.jena.sparql.function.Function fn, Iterable<org.apache.jena.graph.Node> nodes) -
invokeWithNodes
public static org.apache.jena.graph.Node invokeWithNodes(org.apache.jena.sparql.function.Function fn, String iri, org.apache.jena.graph.Node... nodes) -
invokeWithNodes
public static org.apache.jena.graph.Node invokeWithNodes(org.apache.jena.sparql.function.Function fn, String iri, Iterable<org.apache.jena.graph.Node> nodes) Invoke a function with nodes and get the result as nodes -
runWithDisabledWarnOnUnknownFunction
-