Class GraphQlSchemaUtils

java.lang.Object
org.aksw.jenax.graphql.sparql.v2.schema.GraphQlSchemaUtils

public class GraphQlSchemaUtils extends Object
  • Constructor Details

    • GraphQlSchemaUtils

      public GraphQlSchemaUtils()
  • Method Details

    • extractTypeInfo

      public static GraphQlSchemaUtils.TypeInfo extractTypeInfo(graphql.language.Type<?> type)
    • loadMetaSchema

      public static graphql.language.Document loadMetaSchema()
    • loadDocument

      public static graphql.language.Document loadDocument(String resource) throws IOException
      Throws:
      IOException
    • merge

      public static graphql.language.Document merge(graphql.language.Document... documents)
    • harmonize

      public static graphql.language.Document harmonize(graphql.language.Document doc)
    • loadSchema

      public static graphql.language.Document loadSchema(String graphQlSchemaResource) throws IOException
      Load a sparql/graphql schema resource and merge it against the meta schema.
      Throws:
      IOException
    • toStringUtf8

      public static String toStringUtf8(org.apache.jena.riot.system.stream.StreamManager streamMgr, String resourceName) throws IOException
      Throws:
      IOException