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.StringExceptionWhileDataFetching. mkMessage(ResultPath path, java.lang.Throwable exception)private java.lang.StringSerializationError. mkMessage(ResultPath path, CoercingSerializeException exception)private java.lang.StringTypeMismatchError. mkMessage(ResultPath path, GraphQLType expectedType)private java.lang.StringUnresolvedTypeError. mkMessage(ResultPath path, UnresolvedTypeException exception, ExecutionStepInfo info)BGraphQLError.Builder. path(@Nullable ResultPath path)Sets the path of the messageBGraphqlErrorBuilder. 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 ResultPathResultPath. parent(package private) ResultPathExecutionStepInfo.Builder. pathprivate ResultPathExecutionStepInfo. pathA list element is characterized by having a path ending with an index segment.(package private) ResultPathExecutionStrategyParameters.Builder. pathprivate ResultPathExecutionStrategyParameters. pathprivate ResultPathNonNullableFieldWasNullException. pathprivate static ResultPathResultPath. ROOT_PATHFields in graphql.execution with type parameters of type ResultPath Modifier and Type Field Description private java.util.Set<ResultPath>ExecutionContext. errorPathsMethods in graphql.execution that return ResultPath Modifier and Type Method Description ResultPathResultPath. append(ResultPath path)Appends the provided path to the current oneResultPathResultPath. dropSegment()Drops the last segment off the pathstatic ResultPathResultPath. fromList(java.util.List<?> objects)This will create an execution path from the list of objectsResultPathResultPath. getParent()ResultPathDataFetcherExceptionHandlerParameters. getPath()ResultPathExecutionStepInfo. getPath()ResultPathExecutionStrategyParameters. getPath()ResultPathNonNullableFieldWasNullException. getPath()ResultPathResultPath. getPathWithoutListEnd()static ResultPathResultPath. parse(java.lang.String pathString)Parses an execution path from the provided path string in the format /segment1/segment2[index]/segmentNResultPathResultPath. replaceSegment(int segment)Replaces the last segment on the path eg ResultPath.parse("/a/b[1]").replaceSegment(9) equals "/a/b[9]"ResultPathResultPath. 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 ResultPathResultPath. rootPath()All paths start from hereResultPathResultPath. segment(int segment)Takes the current path and adds a new segment to it, returning a new pathResultPathResultPath. segment(java.lang.String segment)Takes the current path and adds a new segment to it, returning a new pathResultPathResultPath. sibling(int siblingField)ResultPathResultPath. sibling(java.lang.String siblingField)Methods in graphql.execution with parameters of type ResultPath Modifier and Type Method Description voidExecutionContext. addError(GraphQLError error, ResultPath fieldPath)This method will only put one error per field path.ResultPathResultPath. append(ResultPath path)Appends the provided path to the current oneprivate static java.lang.StringNonNullableFieldWasNullException. mkMessage(ExecutionStepInfo executionStepInfo, ResultPath path)ExecutionStepInfoExecutionStepInfoFactory. newExecutionStepInfoForListElement(ExecutionStepInfo executionInfo, ResultPath indexedPath)ExecutionStepInfo.BuilderExecutionStepInfo.Builder. path(ResultPath resultPath)ExecutionStrategyParameters.BuilderExecutionStrategyParameters.Builder. path(ResultPath path)<T> TNonNullableFieldValidator. 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 ResultPathFieldValidationSupport.FieldAndArgumentsImpl. pathFields 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. fieldArgumentsMapprivate java.util.Map<ResultPath,java.util.function.BiFunction<FieldAndArguments,FieldValidationEnvironment,java.util.Optional<GraphQLError>>>SimpleFieldValidation. rulesMethods in graphql.execution.instrumentation.fieldvalidation that return ResultPath Modifier and Type Method Description ResultPathFieldAndArguments. getPath()ResultPathFieldValidationSupport.FieldAndArgumentsImpl. getPath()private ResultPathFieldValidationSupport.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 SimpleFieldValidationSimpleFieldValidation. 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 ExecutableNormalizedFieldExecutableNormalizedOperation. getNormalizedField(MergedField mergedField, GraphQLFieldsContainer fieldsContainer, ResultPath resultPath)This will find aExecutableNormalizedFieldgiven a merged field and a result path.
-