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:
 Function
public final class FUN_CBOR extends 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 
 
 
- 
- 
Constructor Summary
Constructors Constructor Description FUN_CBOR() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeValueexec(NodeValue cbor, 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, exec 
 - 
 
 - 
 
- 
- 
Field Detail
- 
URI
public static final String URI
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
exec
public NodeValue exec(NodeValue cbor, NodeValue jsonpath)
- Specified by:
 execin classFunctionBase2
 
 - 
 
 -