graphql.execution.nextgen.result.ExecutionResultNode Maven / Gradle / Ivy
package graphql.execution.nextgen.result;
import graphql.Internal;
import graphql.execution.NonNullableFieldWasNullException;
import graphql.execution.nextgen.FetchedValueAnalysis;
import java.util.List;
import java.util.Map;
@Internal
public abstract class ExecutionResultNode {
private final FetchedValueAnalysis fetchedValueAnalysis;
private final NonNullableFieldWasNullException nonNullableFieldWasNullException;
protected ExecutionResultNode(FetchedValueAnalysis fetchedValueAnalysis, NonNullableFieldWasNullException nonNullableFieldWasNullException) {
this.fetchedValueAnalysis = fetchedValueAnalysis;
this.nonNullableFieldWasNullException = nonNullableFieldWasNullException;
}
public FetchedValueAnalysis getFetchedValueAnalysis() {
return fetchedValueAnalysis;
}
public NonNullableFieldWasNullException getNonNullableFieldWasNullException() {
return nonNullableFieldWasNullException;
}
public abstract List getChildren();
public abstract ExecutionResultNode withChild(ExecutionResultNode child, ExecutionResultNodePosition position);
public abstract ExecutionResultNode withNewChildren(Map children);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy