Uses of Interface
graphql.language.Value
Packages that use Value
Package
Description
-
Uses of Value in graphql.analysis
Fields in graphql.analysis declared as ValueModifier and TypeFieldDescriptionprivate final ValueQueryVisitorFieldArgumentInputValueImpl.valueMethods in graphql.analysis that return ValueModifier and TypeMethodDescriptionQueryVisitorFieldArgumentInputValue.getValue()QueryVisitorFieldArgumentInputValueImpl.getValue()Methods in graphql.analysis with parameters of type ValueModifier and TypeMethodDescription(package private) QueryVisitorFieldArgumentInputValueImplQueryVisitorFieldArgumentInputValueImpl.completeArgumentInputValue(Value<?> value) protected TraversalControlNodeVisitorWithTypeTracking.visitValue(Value<?> value, TraverserContext<Node> context) Constructors in graphql.analysis with parameters of type ValueModifierConstructorDescriptionprivateQueryVisitorFieldArgumentInputValueImpl(QueryVisitorFieldArgumentInputValue parent, GraphQLInputValueDefinition inputValueDefinition, Value value) -
Uses of Value in graphql.execution
Methods in graphql.execution that return ValueModifier and TypeMethodDescriptionprivate static Value<?> ValuesResolverConversion.externalValueToLiteralForEnum(GraphQLEnumType enumType, Object value, GraphQLContext graphqlContext, Locale locale) No validationprivate static Value<?> ValuesResolverConversion.externalValueToLiteralForScalar(GraphQLScalarType scalarType, Object value, GraphQLContext graphqlContext, @NotNull Locale locale) No validationprivate static Value<?> ValuesResolverLegacy.handleInputObjectLegacy(Object javaValue, GraphQLInputObjectType type, GraphQLContext graphqlContext, Locale locale) private static Value<?> ValuesResolverLegacy.handleListLegacy(Object value, GraphQLList type, GraphQLContext graphqlContext, Locale locale) private static Value<?> ValuesResolverLegacy.handleNonNullLegacy(Object _value, GraphQLNonNull type, GraphQLContext graphqlContext, Locale locale) private static Value<?> ValuesResolverLegacy.handleNumberLegacy(String stringValue) static Value<?> ValuesResolver.valueToLiteral(@NotNull InputValueWithState inputValueWithState, @NotNull GraphQLType type, GraphQLContext graphqlContext, Locale locale) static Value<?> ValuesResolver.valueToLiteral(@NotNull GraphqlFieldVisibility fieldVisibility, @NotNull InputValueWithState inputValueWithState, @NotNull GraphQLType type, GraphQLContext graphqlContext, Locale locale) Takes a value which can be in different states (internal, literal, external value) and converts into Literal(package private) static Value<?> ValuesResolverLegacy.valueToLiteralLegacy(Object value, GraphQLType type, GraphQLContext graphqlContext, Locale locale) Legacy logic to convert an arbitrary java object to an Ast Literal.Methods in graphql.execution with parameters of type ValueModifier and TypeMethodDescriptionprivate static booleanValuesResolver.isVariableAbsent(Value value, Map<String, NormalizedInputValue> variables) (package private) static ObjectValuesResolverConversion.literalToInternalValue(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLInputType type, Value inputValue, CoercedVariables coercedVariables, GraphQLContext graphqlContext, Locale locale) No validation (it was checked before via ArgumentsOfCorrectType and VariableDefaultValuesOfCorrectType)private static ObjectValuesResolverConversion.literalToInternalValueForList(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLList graphQLList, Value value, CoercedVariables coercedVariables, GraphQLContext graphqlContext, Locale locale) no validationprivate static ObjectValuesResolverConversion.literalToInternalValueForScalar(Value inputValue, GraphQLScalarType scalarType, CoercedVariables coercedVariables, GraphQLContext graphqlContext, @NotNull Locale locale) no validationprivate static @Nullable ObjectValuesResolverConversion.literalToInternalValueImpl(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLType type, Value inputValue, CoercedVariables coercedVariables, GraphQLContext graphqlContext, Locale locale) static ObjectValuesResolver.literalToNormalizedValue(GraphqlFieldVisibility fieldVisibility, GraphQLType type, Value inputValue, Map<String, NormalizedInputValue> normalizedVariables) ValuesResolver.literalToNormalizedValueForList(GraphqlFieldVisibility fieldVisibility, GraphQLList type, Value value, Map<String, NormalizedInputValue> normalizedVariables) private static voidValuesResolver.validateOneOfInputTypes(GraphQLInputObjectType oneOfInputType, Value argumentValue, String argumentName, Object inputValue, Locale locale) -
Uses of Value in graphql.execution.directives
Methods in graphql.execution.directives with parameters of type ValueModifier and TypeMethodDescriptionQueryAppliedDirectiveArgument.Builder.valueLiteral(@NotNull Value<?> value) Sets a literal AST value as the arguments value -
Uses of Value in graphql.language
Classes in graphql.language with type parameters of type ValueSubinterfaces of Value in graphql.languageClasses in graphql.language that implement ValueModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassFields in graphql.language declared as ValueModifier and TypeFieldDescriptionprivate ValueInputValueDefinition.Builder.defaultValueprivate final ValueInputValueDefinition.defaultValueprivate ValueVariableDefinition.Builder.defaultValueprivate final ValueVariableDefinition.defaultValueprivate ValueArgument.Builder.valueprivate final ValueArgument.valueprivate ValueObjectField.Builder.valueprivate final ValueObjectField.valueFields in graphql.language with type parameters of type ValueModifier and TypeFieldDescriptionprivate com.google.common.collect.ImmutableList<Value> ArrayValue.Builder.valuesprivate final com.google.common.collect.ImmutableList<Value> ArrayValue.valuesMethods in graphql.language that return ValueModifier and TypeMethodDescriptionInputValueDefinition.getDefaultValue()VariableDefinition.getDefaultValue()Argument.getValue()ObjectField.getValue()Methods in graphql.language that return types with arguments of type ValueModifier and TypeMethodDescriptionArrayValue.getValues()private AstPrinter.NodePrinter<Value> AstPrinter.value()Methods in graphql.language with parameters of type ValueModifier and TypeMethodDescriptionInputValueDefinition.Builder.defaultValue(Value defaultValue) VariableDefinition.Builder.defaultValue(Value defaultValue) static Argument.BuilderArgument.newArgument(String name, Value value) static VariableDefinition.BuilderVariableDefinition.newVariableDefinition(String name, Type type, Value defaultValue) static booleanprivate Stringprotected TraversalControlNodeVisitorStub.visitValue(Value<?> node, TraverserContext<Node> context) Method parameters in graphql.language with type arguments of type ValueModifier and TypeMethodDescriptionConstructors in graphql.language with parameters of type ValueModifierConstructorDescriptionalternative to using a Builder for convenienceprotectedArgument(String name, Value value, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) InputValueDefinition(String name, Type type, Value defaultValue) alternative to using a Builder for convenienceprotectedInputValueDefinition(String name, Type type, Value defaultValue, List<Directive> directives, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) ObjectField(String name, Value value) alternative to using a Builder for convenienceprotectedObjectField(String name, Value value, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) VariableDefinition(String name, Type type, Value defaultValue) alternative to using a Builder for convenienceprotectedVariableDefinition(String name, Type type, Value defaultValue, List<Directive> directives, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) Constructor parameters in graphql.language with type arguments of type ValueModifierConstructorDescriptionArrayValue(List<Value> values) alternative to using a Builder for convenienceprotectedArrayValue(List<Value> values, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) -
Uses of Value in graphql.normalized
Methods in graphql.normalized that return ValueModifier and TypeMethodDescriptionprivate static @NotNull Value<?> ExecutableNormalizedOperationToAstCompiler.argValue(ExecutableNormalizedField executableNormalizedField, String argName, NormalizedInputValue normalizedInputValue, VariableAccumulator variableAccumulator) private static Value<?> ExecutableNormalizedOperationToAstCompiler.argValue(ExecutableNormalizedField executableNormalizedField, String argName, @Nullable Object value, VariableAccumulator variableAccumulator) Methods in graphql.normalized with parameters of type ValueModifier and TypeMethodDescriptionprivate static @Nullable ObjectValueToVariableValueCompiler.toVariableValue(Value<?> value) Method parameters in graphql.normalized with type arguments of type ValueModifier and TypeMethodDescriptionValueToVariableValueCompiler.toVariableValues(List<Value> arrayValues) -
Uses of Value in graphql.parser
Methods in graphql.parser that return ValueModifier and TypeMethodDescriptionprotected ValueGraphqlAntlrToLanguage.createValue(GraphqlParser.ValueContext ctx) protected ValueGraphqlAntlrToLanguage.createValue(GraphqlParser.ValueWithVariableContext ctx) static Value<?> Parser.parseValue(String input) Parses a string input into a graphql ASTValueprivate Value<?> Parser.parseValueImpl(String input) -
Uses of Value in graphql.scalar
Methods in graphql.scalar that return ValueModifier and TypeMethodDescriptionGraphqlBooleanCoercing.valueToLiteral(@NotNull Object input) Deprecated.@NotNull Value<?> GraphqlBooleanCoercing.valueToLiteral(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) GraphqlFloatCoercing.valueToLiteral(@NotNull Object input) Deprecated.@NotNull Value<?> GraphqlFloatCoercing.valueToLiteral(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) GraphqlIDCoercing.valueToLiteral(@NotNull Object input) Deprecated.@NotNull Value<?> GraphqlIDCoercing.valueToLiteral(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) GraphqlIntCoercing.valueToLiteral(@NotNull Object input) Deprecated.@NotNull Value<?> GraphqlIntCoercing.valueToLiteral(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) GraphqlStringCoercing.valueToLiteral(@NotNull Object input) Deprecated.@NotNull Value<?> GraphqlStringCoercing.valueToLiteral(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) Methods in graphql.scalar with parameters of type ValueModifier and TypeMethodDescription@Nullable BooleanGraphqlBooleanCoercing.parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @Nullable DoubleGraphqlFloatCoercing.parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @Nullable ObjectGraphqlIDCoercing.parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @Nullable IntegerGraphqlIntCoercing.parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @Nullable StringGraphqlStringCoercing.parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) -
Uses of Value in graphql.schema
Methods in graphql.schema that return ValueModifier and TypeMethodDescriptiondefault @NotNull ValueCoercing.valueToLiteral(@NotNull Object input) Deprecated.default @NotNull Value<?> Coercing.valueToLiteral(@NotNull Object input, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) Converts an external input value to a literal (Ast Value).GraphQLEnumType.valueToLiteral(Object input) Deprecated.Value<?> GraphQLEnumType.valueToLiteral(Object input, GraphQLContext graphQLContext, Locale locale) Methods in graphql.schema with parameters of type ValueModifier and TypeMethodDescriptionGraphQLArgument.Builder.defaultValueLiteral(@NotNull Value defaultValue) GraphQLInputObjectField.Builder.defaultValueLiteral(Value defaultValue) static InputValueWithStateInputValueWithState.newLiteralValue(@NotNull Value value) default ICoercing.parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) Called during query execution to convert a query input AST node into a Java object acceptable for the scalar type.GraphQLEnumType.parseLiteral(Value<?> input, GraphQLContext graphQLContext, Locale locale) GraphQLAppliedDirectiveArgument.Builder.valueLiteral(@NotNull Value<?> value) Sets a literal AST value as the arguments valueGraphQLArgument.Builder.valueLiteral(@NotNull Value value) Deprecated. -
Uses of Value in graphql.schema.idl
Methods in graphql.schema.idl with parameters of type ValueModifier and TypeMethodDescriptionprivate voidArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedEnum(List<GraphQLError> errors, Value<?> instanceValue, EnumTypeDefinition allowedTypeDefinition) private voidArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedInputType(List<GraphQLError> errors, Value<?> instanceValue, InputObjectTypeDefinition allowedTypeDefinition) private voidArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedListType(List<GraphQLError> errors, Value<?> instanceValue, ListType allowedArgType) private voidArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedNonNullType(List<GraphQLError> errors, Value<?> instanceValue, NonNullType allowedArgType) private voidArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedScalar(List<GraphQLError> errors, Value<?> instanceValue, ScalarTypeDefinition allowedTypeDefinition) (package private) voidArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedType(List<GraphQLError> errors, Value<?> instanceValue, Type<?> allowedArgType) Recursively inspects an argument value given an allowed type.private voidArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedTypeName(List<GraphQLError> errors, Value<?> instanceValue, Type<?> allowedArgType) private booleanArgValueOfAllowedTypeChecker.isArgumentValueScalarLiteral(GraphQLScalarType scalarType, Value<?> instanceValue) -
Uses of Value in graphql.util
Methods in graphql.util that return ValueModifier and TypeMethodDescriptionprivate static ValueAnonymizer.replaceValue(Value valueLiteral, GraphQLInputType argType, Map<GraphQLNamedSchemaElement, String> newNameMap, AtomicInteger defaultStringValueCounter, AtomicInteger defaultIntValueCounter) Methods in graphql.util with parameters of type ValueModifier and TypeMethodDescriptionprivate static ValueAnonymizer.replaceValue(Value valueLiteral, GraphQLInputType argType, Map<GraphQLNamedSchemaElement, String> newNameMap, AtomicInteger defaultStringValueCounter, AtomicInteger defaultIntValueCounter) -
Uses of Value in graphql.validation
Fields in graphql.validation declared as ValueMethods in graphql.validation with parameters of type ValueModifier and TypeMethodDescriptionprotected voidArgumentValidationUtil.handleEnumError(Value<?> value, GraphQLEnumType type, GraphQLError invalid) protected voidValidationUtil.handleEnumError(Value<?> value, GraphQLEnumType type, GraphQLError invalid) protected voidArgumentValidationUtil.handleExtraFieldError(Value<?> value, GraphQLInputObjectType type, ObjectField objectField) protected voidValidationUtil.handleExtraFieldError(Value<?> value, GraphQLInputObjectType type, ObjectField objectField) protected voidArgumentValidationUtil.handleFieldNotValidError(Value<?> value, GraphQLType type, int index) protected voidValidationUtil.handleFieldNotValidError(Value<?> value, GraphQLType type, int index) protected voidArgumentValidationUtil.handleMissingFieldsError(Value<?> value, GraphQLInputObjectType type, Set<String> missingFields) protected voidValidationUtil.handleMissingFieldsError(Value<?> value, GraphQLInputObjectType type, Set<String> missingFields) protected voidArgumentValidationUtil.handleNotObjectError(Value<?> value, GraphQLInputObjectType type) protected voidValidationUtil.handleNotObjectError(Value<?> value, GraphQLInputObjectType type) protected voidArgumentValidationUtil.handleNullError(Value<?> value, GraphQLType type) protected voidValidationUtil.handleNullError(Value<?> value, GraphQLType type) protected voidArgumentValidationUtil.handleScalarError(Value<?> value, GraphQLScalarType type, GraphQLError invalid) protected voidValidationUtil.handleScalarError(Value<?> value, GraphQLScalarType type, GraphQLError invalid) (package private) booleanValidationUtil.isValidLiteralValue(Value<?> value, GraphQLInputObjectType type, GraphQLSchema schema, GraphQLContext graphQLContext, Locale locale) private booleanValidationUtil.isValidLiteralValue(Value<?> value, GraphQLList type, GraphQLSchema schema, GraphQLContext graphQLContext, Locale locale) booleanValidationUtil.isValidLiteralValue(Value<?> value, GraphQLType type, GraphQLSchema schema, GraphQLContext graphQLContext, Locale locale) private Optional<GraphQLError> ValidationUtil.parseLiteral(Value<?> value, Coercing<?, ?> coercing, GraphQLContext graphQLContext, Locale locale) private Optional<GraphQLError> ValidationUtil.parseLiteralEnum(Value<?> value, GraphQLEnumType graphQLEnumType, GraphQLContext graphQLContext, Locale locale) -
Uses of Value in graphql.validation.rules
Methods in graphql.validation.rules with parameters of type ValueModifier and TypeMethodDescriptionbooleanVariablesTypesMatcher.doesVariableTypesMatch(GraphQLType varType, Value<?> varDefaultValue, GraphQLType locationType, Value<?> locationDefaultValue) This method and variable naming was inspired from the reference graphql-js implementationVariablesTypesMatcher.effectiveType(GraphQLType variableType, Value<?> defaultValue)
GraphQLAppliedDirectiveArgumentmethods instead