java.lang.Object
se.liu.ida.hefquin.engine.wrappers.graphql.query.impl.GraphQLQueryImpl
All Implemented Interfaces:
Query, GraphQLQuery

public class GraphQLQueryImpl extends Object implements GraphQLQuery
  • Field Details

  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Specified by:
      toString in interface GraphQLQuery
      Overrides:
      toString in class Object
      Returns:
      a string version of the query
    • getFieldPaths

      public Set<String> getFieldPaths()
      Specified by:
      getFieldPaths in interface GraphQLQuery
      Returns:
      a Set with the fieldpaths for each field in the query (objects seperated by /)
    • getArgumentValues

      public org.apache.jena.atlas.json.JsonObject getArgumentValues()
      Specified by:
      getArgumentValues in interface GraphQLQuery
      Returns:
      a jsonobject with the argument names to argument values for the query
    • getArgumentDefinitions

      public Map<String,String> getArgumentDefinitions()
      Specified by:
      getArgumentDefinitions in interface GraphQLQuery
      Returns:
      a mapping of argument names to argument types for the query.
    • buildQueryString

      protected String buildQueryString()