public class RootExecutionResultNode extends ObjectExecutionResultNode
| Constructor and Description |
|---|
RootExecutionResultNode(java.util.List<ExecutionResultNode> children) |
RootExecutionResultNode(java.util.List<ExecutionResultNode> children,
java.util.List<GraphQLError> errors) |
| Modifier and Type | Method and Description |
|---|---|
FetchedValueAnalysis |
getFetchedValueAnalysis() |
RootExecutionResultNode |
withNewChildren(java.util.List<ExecutionResultNode> children)
Creates a new ExecutionResultNode of the same specific type with the new set of result children
|
ExecutionResultNode |
withNewErrors(java.util.List<GraphQLError> errors)
Creates a new ExecutionResultNode of the same specific type with the new error collection
|
RootExecutionResultNode |
withNewFetchedValueAnalysis(FetchedValueAnalysis fetchedValueAnalysis)
Creates a new ExecutionResultNode of the same specific type with the new
FetchedValueAnalysis |
getChildNonNullableException, getChildren, getErrors, getMergedField, getNonNullableFieldWasNullException, toStringpublic RootExecutionResultNode(java.util.List<ExecutionResultNode> children, java.util.List<GraphQLError> errors)
public RootExecutionResultNode(java.util.List<ExecutionResultNode> children)
public FetchedValueAnalysis getFetchedValueAnalysis()
getFetchedValueAnalysis in class ExecutionResultNodepublic RootExecutionResultNode withNewChildren(java.util.List<ExecutionResultNode> children)
ExecutionResultNodewithNewChildren in class ObjectExecutionResultNodechildren - the new children for this result nodepublic RootExecutionResultNode withNewFetchedValueAnalysis(FetchedValueAnalysis fetchedValueAnalysis)
ExecutionResultNodeFetchedValueAnalysiswithNewFetchedValueAnalysis in class ObjectExecutionResultNodefetchedValueAnalysis - the FetchedValueAnalysis for this result nodeFetchedValueAnalysispublic ExecutionResultNode withNewErrors(java.util.List<GraphQLError> errors)
ExecutionResultNodewithNewErrors in class ObjectExecutionResultNodeerrors - the new errors for this result node