Class ITER_CBOR
- java.lang.Object
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase2
-
- fr.mines_stetienne.ci.sparql_generate.json.ITER_CBOR
-
- All Implemented Interfaces:
IteratorFunction
public class ITER_CBOR extends IteratorFunctionBase2
Iterator function iter:CBOR takes as input a CBOR document, decodes it, and extracts a list of sub-JSON documents 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: (jsonpath) is the JSONPath expression in a RDF Literal with
datatype
xsd:string
- Author:
- Noorani Bakerally
-
-
Field Summary
Fields Modifier and Type Field Description static String
URI
-
Fields inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
arguments
-
-
Constructor Summary
Constructors Constructor Description ITER_CBOR()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<List<NodeValue>>
exec(NodeValue cbor, NodeValue jsonpath)
-
Methods inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase2
checkBuild, exec
-
Methods inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase
exec
-
Methods inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
build, exec, getContext
-
-
-
-
Field Detail
-
URI
public static final String URI
- See Also:
- Constant Field Values
-
-
Method Detail
-
exec
public List<List<NodeValue>> exec(NodeValue cbor, NodeValue jsonpath)
Description copied from class:IteratorFunctionBase2
- Specified by:
exec
in classIteratorFunctionBase2
-
-