Class QueryResponse
- java.lang.Object
-
- org.topbraidlive.client.java.graphql.platform.QueryResponse
-
public class QueryResponse extends Object
-
-
Constructor Summary
Constructors Constructor Description QueryResponse(TopLevelResponse response)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueryResponse
fromJson(String json)
RootRDFQuery
getData()
List<Error>
getErrors()
String
prettyPrintJson()
String
toJson()
-
-
-
Constructor Detail
-
QueryResponse
public QueryResponse(TopLevelResponse response) throws SchemaViolationError
- Throws:
SchemaViolationError
-
-
Method Detail
-
getData
public RootRDFQuery getData()
-
toJson
public String toJson()
-
prettyPrintJson
public String prettyPrintJson()
-
fromJson
public static QueryResponse fromJson(String json) throws SchemaViolationError
- Throws:
SchemaViolationError
-
-