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

graphql.execution.nextgen.result.RootExecutionResultNode Maven / Gradle / Ivy

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

import graphql.execution.nextgen.FetchedValueAnalysis;

import java.util.List;

public class RootExecutionResultNode extends ObjectExecutionResultNode {

    public RootExecutionResultNode(List children) {
        super(null, children);
    }

    @Override
    public FetchedValueAnalysis getFetchedValueAnalysis() {
        throw new RuntimeException("Root node");
    }

    @Override
    public ObjectExecutionResultNode withNewChildren(List children) {
        return new RootExecutionResultNode(children);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy