Class QueryTraverser.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • schema

        public QueryTraverser.Builder schema​(GraphQLSchema schema)
        The schema used to identify the types of the query.
        Parameters:
        schema - the schema to use
        Returns:
        this builder
      • operationName

        public QueryTraverser.Builder operationName​(java.lang.String operationName)
        specify the operation if a document is traversed and there are more than one operation.
        Parameters:
        operationName - the operation name to use
        Returns:
        this builder
      • variables

        public QueryTraverser.Builder variables​(java.util.Map<java.lang.String,​java.lang.Object> variables)
        Raw variables used in the query.
        Parameters:
        variables - the variables to use
        Returns:
        this builder
      • coercedVariables

        public QueryTraverser.Builder coercedVariables​(CoercedVariables coercedVariables)
        Variables (already coerced) used in the query.
        Parameters:
        coercedVariables - the variables to use
        Returns:
        this builder