Class QueryBuilder

java.lang.Object
io.smallrye.graphql.client.model.QueryBuilder

public class QueryBuilder extends Object
A utility class for building GraphQL queries based on a given MethodInfo which will be scanned thanks to Jandex during build-time.
Author:
mskacelik
  • Constructor Details

    • QueryBuilder

      public QueryBuilder(org.jboss.jandex.MethodInfo method)
      Constructs a new QueryBuilder instance for the specified MethodInfo.
      Parameters:
      method - The MethodInfo representing the GraphQL operation.
  • Method Details

    • build

      public String build()
      Builds and returns the GraphQL query string.
      Returns:
      The constructed GraphQL query string.