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:
fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunction

public class ITER_CBOR extends fr.mines_stetienne.ci.sparql_generate.iterator.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> or xsd:string
  • Param 2: (jsonpath) is the JSONPath expression in a RDF Literal with datatype xsd:string
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<List<org.apache.jena.sparql.expr.NodeValue>>
    exec​(org.apache.jena.sparql.expr.NodeValue cbor, org.apache.jena.sparql.expr.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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ITER_CBOR

      public ITER_CBOR()
  • Method Details

    • exec

      public List<List<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 class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase2