All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graphql.execution.batched.ExecutionNode Maven / Gradle / Ivy

There is a newer version: 230521-nf-execution
Show newest version
package graphql.execution.batched;

import graphql.execution.ExecutionStepInfo;
import graphql.language.Field;
import graphql.schema.GraphQLObjectType;

import java.util.List;
import java.util.Map;

@Deprecated
class ExecutionNode {

    private final GraphQLObjectType type;
    private final ExecutionStepInfo executionStepInfo;
    private final Map> fields;
    private final List parentResults;
    private final List sources;

    public ExecutionNode(GraphQLObjectType type,
                         ExecutionStepInfo executionStepInfo,
                         Map> fields,
                         List parentResults,
                         List sources) {
        this.type = type;
        this.executionStepInfo = executionStepInfo;
        this.fields = fields;
        this.parentResults = parentResults;
        this.sources = sources;
    }

    public GraphQLObjectType getType() {
        return type;
    }

    public ExecutionStepInfo getExecutionStepInfo() {
        return executionStepInfo;
    }

    public Map> getFields() {
        return fields;
    }

    public List getParentResults() {
        return parentResults;
    }

    public List getSources() {
        return sources;
    }
}