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 |
---|---|
ExecutionStepInfo |
getExecutionStepInfo() |
ResolvedValue |
getResolvedValue() |
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
|
ExecutionResultNode |
withNewExecutionStepInfo(ExecutionStepInfo executionStepInfo) |
ExecutionResultNode |
withNewResolvedValue(ResolvedValue resolvedValue) |
getChildNonNullableException, getChildren, getErrors, getMergedField, getNonNullableFieldWasNullException, toString
public RootExecutionResultNode(java.util.List<ExecutionResultNode> children, java.util.List<GraphQLError> errors)
public RootExecutionResultNode(java.util.List<ExecutionResultNode> children)
public ExecutionStepInfo getExecutionStepInfo()
getExecutionStepInfo
in class ExecutionResultNode
public ResolvedValue getResolvedValue()
getResolvedValue
in class ExecutionResultNode
public RootExecutionResultNode withNewChildren(java.util.List<ExecutionResultNode> children)
ExecutionResultNode
withNewChildren
in class ObjectExecutionResultNode
children
- the new children for this result nodepublic ExecutionResultNode withNewResolvedValue(ResolvedValue resolvedValue)
withNewResolvedValue
in class ObjectExecutionResultNode
public ExecutionResultNode withNewExecutionStepInfo(ExecutionStepInfo executionStepInfo)
withNewExecutionStepInfo
in class ObjectExecutionResultNode
public ExecutionResultNode withNewErrors(java.util.List<GraphQLError> errors)
ExecutionResultNode
withNewErrors
in class ObjectExecutionResultNode
errors
- the new errors for this result node