Class E_JsonGet

java.lang.Object
org.apache.jena.sparql.function.FunctionBase
org.apache.jena.sparql.function.FunctionBase2
org.aksw.jena_sparql_api.sparql.ext.json.E_JsonGet
All Implemented Interfaces:
org.apache.jena.sparql.function.Function

public class E_JsonGet extends org.apache.jena.sparql.function.FunctionBase2
Access a JSON objects immediate attribute. Experiment for whether this is significantly faster than evaluating json path expressions. jsonLiteral json:get(jsonLiteral, key)
Author:
raven
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.jena.sparql.expr.NodeValue
    exec(org.apache.jena.sparql.expr.NodeValue nv, org.apache.jena.sparql.expr.NodeValue key)
     

    Methods inherited from class org.apache.jena.sparql.function.FunctionBase2

    checkBuild, exec

    Methods inherited from class org.apache.jena.sparql.function.FunctionBase

    build, exec, exec

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • E_JsonGet

      public E_JsonGet()
  • Method Details

    • exec

      public org.apache.jena.sparql.expr.NodeValue exec(org.apache.jena.sparql.expr.NodeValue nv, org.apache.jena.sparql.expr.NodeValue key)
      Specified by:
      exec in class org.apache.jena.sparql.function.FunctionBase2