Class 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 Detail

      • 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 Detail

      • build

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