Class JenaGraphQlUtils
java.lang.Object
org.aksw.jenax.graphql.sparql.v2.rewrite.JenaGraphQlUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.jena.riot.system.PrefixMapcollectPrefixes(graphql.language.Directive node, org.apache.jena.riot.system.PrefixMap prefixMap) static org.apache.jena.riot.system.PrefixMapcollectPrefixes(graphql.language.DirectivesContainer<?> directivesContainer, org.apache.jena.riot.system.PrefixMap prefixMap) static StringgetArgAsIriString(graphql.language.Directive directive, String argName, org.apache.jena.riot.system.PrefixMap prefixMap) static StringparseRdfIri(String nodeName, graphql.language.Directive directive, String iriArgName, String nsArgName, org.apache.jena.riot.system.PrefixMap prefixMap) static StringparseRdfIri(String nodeName, graphql.language.DirectivesContainer<?> directives, String directiveName, String iriArgName, String nsArgName, org.apache.jena.riot.system.PrefixMap prefixMap) static booleanreadPrefixDirective(graphql.language.Directive node, org.apache.jena.riot.system.PrefixMap outPrefixes) Returns true if the directive contains prefixes.static org.apache.jena.riot.system.PrefixMapreadPrefixMap(org.apache.jena.riot.system.PrefixMap result, graphql.language.Value<?> value) static StringresolveIri(String iriStr, org.apache.jena.riot.system.PrefixMap prefixMap) static graphql.language.ObjectValuetoObjectValue(org.apache.jena.riot.system.PrefixMap prefixes)
-
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
-
getArgAsIriString
-
parseRdfIri
-
parseRdfIri
-