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;
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.sparql.expr.NodeValue
exec(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, exec
Methods inherited from class org.apache.jena.sparql.function.FunctionBase
build, evalArgs, exec
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.sparql.function.Function
build
-
Field Details
-
URI
- See Also:
- Constant Field Values
-
-
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:
exec
in classorg.apache.jena.sparql.function.FunctionBase2
-