Class GraphQlExecUtils
java.lang.Object
org.aksw.jenax.graphql.impl.common.GraphQlExecUtils
Utils to output the data from a GraphQlExec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.gson.JsonObjectcollectExtensions(GraphQlExec exec) static com.google.gson.JsonObjectcollectMetadata(GraphQlExec exec) static GraphQlExecexec(GraphQlExecFactory gef, String queryStr) Convenience method to execute a stringstatic GraphQlExecexecJson(GraphQlExecFactory gef, com.google.gson.Gson gson, String jsonRequest) static GraphQlExecexecJson(GraphQlExecFactory gef, com.google.gson.JsonObject jsonObject) static GraphQlExecexecJson(GraphQlExecFactory gef, String jsonRequest) static com.google.gson.JsonObjectmaterialize(GraphQlExec exec) Execute a graphql string and obtain the complete result document a guava json objectstatic com.google.gson.JsonObjectmaterialize(GraphQlExecFactory gef, String queryStr) Execute a graphql string and obtain the complete result document a guava json objectstatic voidwrite(OutputStream out, GraphQlExec exec) static voidwrite(OutputStream out, GraphQlExec exec, com.google.gson.Gson gson) static voidwritePretty(OutputStream out, GraphQlExec exec)
-
Constructor Details
-
GraphQlExecUtils
public GraphQlExecUtils()
-
-
Method Details
-
collectMetadata
-
collectExtensions
-
execJson
-
execJson
public static GraphQlExec execJson(GraphQlExecFactory gef, com.google.gson.Gson gson, String jsonRequest) -
execJson
-
exec
Convenience method to execute a string -
materialize
Execute a graphql string and obtain the complete result document a guava json object -
materialize
Execute a graphql string and obtain the complete result document a guava json object -
write
-
writePretty
-
write
-