Uses of Class
graphql.execution.ResultPath
-
Packages that use ResultPath Package Description graphql graphql.execution graphql.execution.instrumentation.fieldvalidation graphql.normalized -
-
Uses of ResultPath in graphql
Methods in graphql with parameters of type ResultPath Modifier and Type Method Description private java.lang.String
ExceptionWhileDataFetching. mkMessage(ResultPath path, java.lang.Throwable exception)
private java.lang.String
SerializationError. mkMessage(ResultPath path, CoercingSerializeException exception)
private java.lang.String
TypeMismatchError. mkMessage(ResultPath path, GraphQLType expectedType)
private java.lang.String
UnresolvedTypeError. mkMessage(ResultPath path, UnresolvedTypeException exception, ExecutionStepInfo info)
B
GraphQLError.Builder. path(@Nullable ResultPath path)
Sets the path of the messageB
GraphqlErrorBuilder. path(@Nullable ResultPath path)
Constructors in graphql with parameters of type ResultPath Constructor Description ExceptionWhileDataFetching(ResultPath path, java.lang.Throwable exception, SourceLocation sourceLocation)
SerializationError(ResultPath path, CoercingSerializeException exception)
TypeMismatchError(ResultPath path, GraphQLType expectedType)
UnresolvedTypeError(ResultPath path, ExecutionStepInfo info, UnresolvedTypeException exception)
-
Uses of ResultPath in graphql.execution
Fields in graphql.execution declared as ResultPath Modifier and Type Field Description private ResultPath
ResultPath. parent
(package private) ResultPath
ExecutionStepInfo.Builder. path
private ResultPath
ExecutionStepInfo. path
A list element is characterized by having a path ending with an index segment.(package private) ResultPath
ExecutionStrategyParameters.Builder. path
private ResultPath
ExecutionStrategyParameters. path
private ResultPath
NonNullableFieldWasNullException. path
private static ResultPath
ResultPath. ROOT_PATH
Fields in graphql.execution with type parameters of type ResultPath Modifier and Type Field Description private java.util.Set<ResultPath>
ExecutionContext. errorPaths
Methods in graphql.execution that return ResultPath Modifier and Type Method Description ResultPath
ResultPath. append(ResultPath path)
Appends the provided path to the current oneResultPath
ResultPath. dropSegment()
Drops the last segment off the pathstatic ResultPath
ResultPath. fromList(java.util.List<?> objects)
This will create an execution path from the list of objectsResultPath
ResultPath. getParent()
ResultPath
DataFetcherExceptionHandlerParameters. getPath()
ResultPath
ExecutionStepInfo. getPath()
ResultPath
ExecutionStrategyParameters. getPath()
ResultPath
NonNullableFieldWasNullException. getPath()
ResultPath
ResultPath. getPathWithoutListEnd()
static ResultPath
ResultPath. parse(java.lang.String pathString)
Parses an execution path from the provided path string in the format /segment1/segment2[index]/segmentNResultPath
ResultPath. replaceSegment(int segment)
Replaces the last segment on the path eg ResultPath.parse("/a/b[1]").replaceSegment(9) equals "/a/b[9]"ResultPath
ResultPath. replaceSegment(java.lang.String segment)
Replaces the last segment on the path eg ResultPath.parse("/a/b[1]").replaceSegment("x") equals "/a/b/x"static ResultPath
ResultPath. rootPath()
All paths start from hereResultPath
ResultPath. segment(int segment)
Takes the current path and adds a new segment to it, returning a new pathResultPath
ResultPath. segment(java.lang.String segment)
Takes the current path and adds a new segment to it, returning a new pathResultPath
ResultPath. sibling(int siblingField)
ResultPath
ResultPath. sibling(java.lang.String siblingField)
Methods in graphql.execution with parameters of type ResultPath Modifier and Type Method Description void
ExecutionContext. addError(GraphQLError error, ResultPath fieldPath)
This method will only put one error per field path.ResultPath
ResultPath. append(ResultPath path)
Appends the provided path to the current oneprivate static java.lang.String
NonNullableFieldWasNullException. mkMessage(ExecutionStepInfo executionStepInfo, ResultPath path)
ExecutionStepInfo
ExecutionStepInfoFactory. newExecutionStepInfoForListElement(ExecutionStepInfo executionInfo, ResultPath indexedPath)
ExecutionStepInfo.Builder
ExecutionStepInfo.Builder. path(ResultPath resultPath)
ExecutionStrategyParameters.Builder
ExecutionStrategyParameters.Builder. path(ResultPath path)
<T> T
NonNullableFieldValidator. validate(ResultPath path, T result)
Called to check that a value is non null if the type requires it to be non nullConstructors in graphql.execution with parameters of type ResultPath Constructor Description ExecutionStrategyParameters(ExecutionStepInfo executionStepInfo, java.lang.Object source, java.lang.Object localContext, MergedSelectionSet fields, NonNullableFieldValidator nonNullableFieldValidator, ResultPath path, MergedField currentField, ExecutionStrategyParameters parent)
NonNullableFieldWasNullException(ExecutionStepInfo executionStepInfo, ResultPath path)
ResultPath(ResultPath parent, int segment)
ResultPath(ResultPath parent, java.lang.String segment)
-
Uses of ResultPath in graphql.execution.instrumentation.fieldvalidation
Fields in graphql.execution.instrumentation.fieldvalidation declared as ResultPath Modifier and Type Field Description private ResultPath
FieldValidationSupport.FieldAndArgumentsImpl. path
Fields in graphql.execution.instrumentation.fieldvalidation with type parameters of type ResultPath Modifier and Type Field Description private java.util.Map<ResultPath,java.util.List<FieldAndArguments>>
FieldValidationSupport.FieldValidationEnvironmentImpl. fieldArgumentsMap
private java.util.Map<ResultPath,java.util.function.BiFunction<FieldAndArguments,FieldValidationEnvironment,java.util.Optional<GraphQLError>>>
SimpleFieldValidation. rules
Methods in graphql.execution.instrumentation.fieldvalidation that return ResultPath Modifier and Type Method Description ResultPath
FieldAndArguments. getPath()
ResultPath
FieldValidationSupport.FieldAndArgumentsImpl. getPath()
private ResultPath
FieldValidationSupport.FieldAndArgumentsImpl. mkPath(QueryVisitorFieldEnvironment traversalEnv)
Methods in graphql.execution.instrumentation.fieldvalidation that return types with arguments of type ResultPath Modifier and Type Method Description java.util.Map<ResultPath,java.util.List<FieldAndArguments>>
FieldValidationEnvironment. getFieldsByPath()
java.util.Map<ResultPath,java.util.List<FieldAndArguments>>
FieldValidationSupport.FieldValidationEnvironmentImpl. getFieldsByPath()
Methods in graphql.execution.instrumentation.fieldvalidation with parameters of type ResultPath Modifier and Type Method Description SimpleFieldValidation
SimpleFieldValidation. addRule(ResultPath fieldPath, java.util.function.BiFunction<FieldAndArguments,FieldValidationEnvironment,java.util.Optional<GraphQLError>> rule)
Adds the rule against the field address path.Constructors in graphql.execution.instrumentation.fieldvalidation with parameters of type ResultPath Constructor Description FieldAndArgError(java.lang.String message, Field field, ResultPath path)
Constructor parameters in graphql.execution.instrumentation.fieldvalidation with type arguments of type ResultPath Constructor Description FieldValidationEnvironmentImpl(ExecutionContext executionContext, java.util.Map<ResultPath,java.util.List<FieldAndArguments>> fieldArgumentsMap)
-
Uses of ResultPath in graphql.normalized
Methods in graphql.normalized with parameters of type ResultPath Modifier and Type Method Description ExecutableNormalizedField
ExecutableNormalizedOperation. getNormalizedField(MergedField mergedField, GraphQLFieldsContainer fieldsContainer, ResultPath resultPath)
This will find aExecutableNormalizedField
given a merged field and a result path.
-