Class FUN_CBOR
java.lang.Object
org.apache.jena.sparql.function.FunctionBase
org.apache.jena.sparql.function.FunctionBase2
fr.mines_stetienne.ci.sparql_generate.json.FUN_CBOR
- All Implemented Interfaces:
org.apache.jena.sparql.function.Function
public final class FUN_CBOR
extends org.apache.jena.sparql.function.FunctionBase2
Binding function
fun:CBOR takes as input
a CBOR document, decodes it, and return a sub-JSON document according to a
JSONPath expression.
- Param 1 (cbor) is a base64 encoding of the CBOR document in a RDF Literal
with datatype URI
<https://www.iana.org/assignments/media-types/application/cbor>orxsd:string - Param 2 is the JSONPath query. See https://github.com/json-path/JsonPath for the syntax specification;
- Author:
- Noorani Bakerally invalid input: '<'noorani.bakerally at emse.fr>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.sparql.expr.NodeValueexec(org.apache.jena.sparql.expr.NodeValue cbor, org.apache.jena.sparql.expr.NodeValue jsonpath) Methods inherited from class org.apache.jena.sparql.function.FunctionBase2
checkBuild, execMethods inherited from class org.apache.jena.sparql.function.FunctionBase
build, exec, exec
-
Field Details
-
URI
- See Also:
-
-
Constructor Details
-
FUN_CBOR
public FUN_CBOR()
-
-
Method Details
-
exec
public org.apache.jena.sparql.expr.NodeValue exec(org.apache.jena.sparql.expr.NodeValue cbor, org.apache.jena.sparql.expr.NodeValue jsonpath) - Specified by:
execin classorg.apache.jena.sparql.function.FunctionBase2
-