Class JenaGraphQlUtils

java.lang.Object
org.aksw.jenax.graphql.sparql.v2.rewrite.JenaGraphQlUtils

public class JenaGraphQlUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.jena.riot.system.PrefixMap
    collectPrefixes(graphql.language.Directive node, org.apache.jena.riot.system.PrefixMap prefixMap)
     
    static org.apache.jena.riot.system.PrefixMap
    collectPrefixes(graphql.language.DirectivesContainer<?> directivesContainer, org.apache.jena.riot.system.PrefixMap prefixMap)
     
    static String
    getArgAsIriString(graphql.language.Directive directive, String argName, org.apache.jena.riot.system.PrefixMap prefixMap)
     
    static String
    parseRdfIri(String nodeName, graphql.language.Directive directive, String iriArgName, String nsArgName, org.apache.jena.riot.system.PrefixMap prefixMap)
     
    static String
    parseRdfIri(String nodeName, graphql.language.DirectivesContainer<?> directives, String directiveName, String iriArgName, String nsArgName, org.apache.jena.riot.system.PrefixMap prefixMap)
     
    static boolean
    readPrefixDirective(graphql.language.Directive node, org.apache.jena.riot.system.PrefixMap outPrefixes)
    Returns true if the directive contains prefixes.
    static org.apache.jena.riot.system.PrefixMap
    readPrefixMap(org.apache.jena.riot.system.PrefixMap result, graphql.language.Value<?> value)
     
    static String
    resolveIri(String iriStr, org.apache.jena.riot.system.PrefixMap prefixMap)
     
    static graphql.language.ObjectValue
    toObjectValue(org.apache.jena.riot.system.PrefixMap prefixes)
     

    Methods inherited from class java.lang.Object

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

    • JenaGraphQlUtils

      public JenaGraphQlUtils()
  • Method Details

    • collectPrefixes

      public static org.apache.jena.riot.system.PrefixMap collectPrefixes(graphql.language.Directive node, org.apache.jena.riot.system.PrefixMap prefixMap)
    • collectPrefixes

      public static org.apache.jena.riot.system.PrefixMap collectPrefixes(graphql.language.DirectivesContainer<?> directivesContainer, org.apache.jena.riot.system.PrefixMap prefixMap)
    • toObjectValue

      public static graphql.language.ObjectValue toObjectValue(org.apache.jena.riot.system.PrefixMap prefixes)
    • readPrefixMap

      public static org.apache.jena.riot.system.PrefixMap readPrefixMap(org.apache.jena.riot.system.PrefixMap result, graphql.language.Value<?> value)
    • readPrefixDirective

      public static boolean readPrefixDirective(graphql.language.Directive node, org.apache.jena.riot.system.PrefixMap outPrefixes)
      Returns true if the directive contains prefixes. Adds them to the given prefixes map.
    • resolveIri

      public static String resolveIri(String iriStr, org.apache.jena.riot.system.PrefixMap prefixMap)
    • getArgAsIriString

      public static String getArgAsIriString(graphql.language.Directive directive, String argName, org.apache.jena.riot.system.PrefixMap prefixMap)
    • parseRdfIri

      public static String parseRdfIri(String nodeName, graphql.language.DirectivesContainer<?> directives, String directiveName, String iriArgName, String nsArgName, org.apache.jena.riot.system.PrefixMap prefixMap)
    • parseRdfIri

      public static String parseRdfIri(String nodeName, graphql.language.Directive directive, String iriArgName, String nsArgName, org.apache.jena.riot.system.PrefixMap prefixMap)