public class ObjectExecutionResultNode extends ExecutionResultNode
| Constructor and Description |
|---|
ObjectExecutionResultNode(FetchedValueAnalysis fetchedValueAnalysis,
java.util.List<ExecutionResultNode> children) |
ObjectExecutionResultNode(FetchedValueAnalysis fetchedValueAnalysis,
java.util.List<ExecutionResultNode> children,
java.util.List<GraphQLError> errors) |
| Modifier and Type | Method and Description |
|---|---|
ObjectExecutionResultNode |
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 |
withNewFetchedValueAnalysis(FetchedValueAnalysis fetchedValueAnalysis)
Creates a new ExecutionResultNode of the same specific type with the new
FetchedValueAnalysis |
getChildNonNullableException, getChildren, getErrors, getFetchedValueAnalysis, getMergedField, getNonNullableFieldWasNullException, toStringpublic ObjectExecutionResultNode(FetchedValueAnalysis fetchedValueAnalysis, java.util.List<ExecutionResultNode> children)
public ObjectExecutionResultNode(FetchedValueAnalysis fetchedValueAnalysis, java.util.List<ExecutionResultNode> children, java.util.List<GraphQLError> errors)
public ObjectExecutionResultNode withNewChildren(java.util.List<ExecutionResultNode> children)
ExecutionResultNodewithNewChildren in class ExecutionResultNodechildren - the new children for this result nodepublic ExecutionResultNode withNewFetchedValueAnalysis(FetchedValueAnalysis fetchedValueAnalysis)
ExecutionResultNodeFetchedValueAnalysiswithNewFetchedValueAnalysis in class ExecutionResultNodefetchedValueAnalysis - the FetchedValueAnalysis for this result nodeFetchedValueAnalysispublic ExecutionResultNode withNewErrors(java.util.List<GraphQLError> errors)
ExecutionResultNodewithNewErrors in class ExecutionResultNodeerrors - the new errors for this result node