Class GraphQlSchemaUtils
java.lang.Object
org.aksw.jenax.graphql.sparql.v2.schema.GraphQlSchemaUtils
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GraphQlSchemaUtils.TypeInfoextractTypeInfo(graphql.language.Type<?> type) static graphql.language.Documentharmonize(graphql.language.Document doc) static graphql.language.DocumentloadDocument(String resource) static graphql.language.Documentstatic graphql.language.DocumentloadSchema(String graphQlSchemaResource) Load a sparql/graphql schema resource and merge it against the meta schema.static graphql.language.Documentmerge(graphql.language.Document... documents) static StringtoStringUtf8(org.apache.jena.riot.system.stream.StreamManager streamMgr, String resourceName)
-
Constructor Details
-
GraphQlSchemaUtils
public GraphQlSchemaUtils()
-
-
Method Details
-
extractTypeInfo
-
loadMetaSchema
public static graphql.language.Document loadMetaSchema() -
loadDocument
- 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
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
-