Class GraphQLRequestImpl

java.lang.Object
se.liu.ida.hefquin.engine.federation.access.impl.req.GraphQLRequestImpl
All Implemented Interfaces:
DataRetrievalRequest, GraphQLRequest

public class GraphQLRequestImpl extends Object implements GraphQLRequest
  • Field Details

  • Constructor Details

    • GraphQLRequestImpl

      public GraphQLRequestImpl(GraphQLQuery query)
  • Method Details

    • getExpectedVariables

      public ExpectedVariables getExpectedVariables()
      Description copied from interface: DataRetrievalRequest
      Returns the query variables for which this data retrieval request aims to fetch data (if any), where some of these variables may be 'certain variables' whereas others are 'possible variables'. For the distinction between these two types of variables, refer to ExpectedVariables.getCertainVariables() and to {@link ExpectedVariables#getPossibleVariables())}. For instance, if this request is about fetching triples that match a given triple pattern, then the variables of that triple pattern would be returned here as certain variables. Note that the method may also return null (which would be the case for types of data retrieval requests for which this method is not applicable in any reasonable way).
      Specified by:
      getExpectedVariables in interface DataRetrievalRequest
    • getGraphQLQuery

      public GraphQLQuery getGraphQLQuery()
      Description copied from interface: GraphQLRequest
      Returns the GraphQL query to be issued by this request.
      Specified by:
      getGraphQLQuery in interface GraphQLRequest