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 Value
QueryVisitorFieldArgumentInputValueImpl.value
Methods in graphql.analysis that return ValueModifier and TypeMethodDescriptionQueryVisitorFieldArgumentInputValue.getValue()
QueryVisitorFieldArgumentInputValueImpl.getValue()
Methods in graphql.analysis with parameters of type ValueModifier and TypeMethodDescription(package private) QueryVisitorFieldArgumentInputValueImpl
QueryVisitorFieldArgumentInputValueImpl.completeArgumentInputValue
(Value<?> value) protected TraversalControl
NodeVisitorWithTypeTracking.visitValue
(Value<?> value, TraverserContext<Node> context) Constructors in graphql.analysis with parameters of type ValueModifierConstructorDescriptionprivate
QueryVisitorFieldArgumentInputValueImpl
(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 boolean
ValuesResolver.isVariableAbsent
(Value value, Map<String, NormalizedInputValue> variables) (package private) static Object
ValuesResolverConversion.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 Object
ValuesResolverConversion.literalToInternalValueForList
(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLList graphQLList, Value value, CoercedVariables coercedVariables, GraphQLContext graphqlContext, Locale locale) no validationprivate static Object
ValuesResolverConversion.literalToInternalValueForScalar
(Value inputValue, GraphQLScalarType scalarType, CoercedVariables coercedVariables, GraphQLContext graphqlContext, @NotNull Locale locale) no validationprivate static @Nullable Object
ValuesResolverConversion.literalToInternalValueImpl
(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLType type, Value inputValue, CoercedVariables coercedVariables, GraphQLContext graphqlContext, Locale locale) static Object
ValuesResolver.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 void
ValuesResolver.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 TypeClassDescriptionclass
class
class
class
class
class
class
class
class
Fields in graphql.language declared as ValueModifier and TypeFieldDescriptionprivate Value
InputValueDefinition.Builder.defaultValue
private final Value
InputValueDefinition.defaultValue
private Value
VariableDefinition.Builder.defaultValue
private final Value
VariableDefinition.defaultValue
private Value
Argument.Builder.value
private final Value
Argument.value
private Value
ObjectField.Builder.value
private final Value
ObjectField.value
Fields in graphql.language with type parameters of type ValueModifier and TypeFieldDescriptionprivate com.google.common.collect.ImmutableList
<Value> ArrayValue.Builder.values
private final com.google.common.collect.ImmutableList
<Value> ArrayValue.values
Methods 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.Builder
Argument.newArgument
(String name, Value value) static VariableDefinition.Builder
VariableDefinition.newVariableDefinition
(String name, Type type, Value defaultValue) static boolean
private String
protected TraversalControl
NodeVisitorStub.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 convenienceprotected
Argument
(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 convenienceprotected
InputValueDefinition
(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 convenienceprotected
ObjectField
(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 convenienceprotected
VariableDefinition
(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 convenienceprotected
ArrayValue
(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 Object
ValueToVariableValueCompiler.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 Value
GraphqlAntlrToLanguage.createValue
(GraphqlParser.ValueContext ctx) protected Value
GraphqlAntlrToLanguage.createValue
(GraphqlParser.ValueWithVariableContext ctx) static Value
<?> Parser.parseValue
(String input) Parses a string input into a graphql ASTValue
private 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 Boolean
GraphqlBooleanCoercing.parseLiteral
(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @Nullable Double
GraphqlFloatCoercing.parseLiteral
(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @Nullable Object
GraphqlIDCoercing.parseLiteral
(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @Nullable Integer
GraphqlIntCoercing.parseLiteral
(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull Locale locale) @Nullable String
GraphqlStringCoercing.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 Value
Coercing.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 InputValueWithState
InputValueWithState.newLiteralValue
(@NotNull Value value) default I
Coercing.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 void
ArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedEnum
(List<GraphQLError> errors, Value<?> instanceValue, EnumTypeDefinition allowedTypeDefinition) private void
ArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedInputType
(List<GraphQLError> errors, Value<?> instanceValue, InputObjectTypeDefinition allowedTypeDefinition) private void
ArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedListType
(List<GraphQLError> errors, Value<?> instanceValue, ListType allowedArgType) private void
ArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedNonNullType
(List<GraphQLError> errors, Value<?> instanceValue, NonNullType allowedArgType) private void
ArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedScalar
(List<GraphQLError> errors, Value<?> instanceValue, ScalarTypeDefinition allowedTypeDefinition) (package private) void
ArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedType
(List<GraphQLError> errors, Value<?> instanceValue, Type<?> allowedArgType) Recursively inspects an argument value given an allowed type.private void
ArgValueOfAllowedTypeChecker.checkArgValueMatchesAllowedTypeName
(List<GraphQLError> errors, Value<?> instanceValue, Type<?> allowedArgType) private boolean
ArgValueOfAllowedTypeChecker.isArgumentValueScalarLiteral
(GraphQLScalarType scalarType, Value<?> instanceValue) -
Uses of Value in graphql.util
Methods in graphql.util that return ValueModifier and TypeMethodDescriptionprivate static Value
Anonymizer.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 Value
Anonymizer.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 void
ArgumentValidationUtil.handleEnumError
(Value<?> value, GraphQLEnumType type, GraphQLError invalid) protected void
ValidationUtil.handleEnumError
(Value<?> value, GraphQLEnumType type, GraphQLError invalid) protected void
ArgumentValidationUtil.handleExtraFieldError
(Value<?> value, GraphQLInputObjectType type, ObjectField objectField) protected void
ValidationUtil.handleExtraFieldError
(Value<?> value, GraphQLInputObjectType type, ObjectField objectField) protected void
ArgumentValidationUtil.handleFieldNotValidError
(Value<?> value, GraphQLType type, int index) protected void
ValidationUtil.handleFieldNotValidError
(Value<?> value, GraphQLType type, int index) protected void
ArgumentValidationUtil.handleMissingFieldsError
(Value<?> value, GraphQLInputObjectType type, Set<String> missingFields) protected void
ValidationUtil.handleMissingFieldsError
(Value<?> value, GraphQLInputObjectType type, Set<String> missingFields) protected void
ArgumentValidationUtil.handleNotObjectError
(Value<?> value, GraphQLInputObjectType type) protected void
ValidationUtil.handleNotObjectError
(Value<?> value, GraphQLInputObjectType type) protected void
ArgumentValidationUtil.handleNullError
(Value<?> value, GraphQLType type) protected void
ValidationUtil.handleNullError
(Value<?> value, GraphQLType type) protected void
ArgumentValidationUtil.handleScalarError
(Value<?> value, GraphQLScalarType type, GraphQLError invalid) protected void
ValidationUtil.handleScalarError
(Value<?> value, GraphQLScalarType type, GraphQLError invalid) (package private) boolean
ValidationUtil.isValidLiteralValue
(Value<?> value, GraphQLInputObjectType type, GraphQLSchema schema, GraphQLContext graphQLContext, Locale locale) private boolean
ValidationUtil.isValidLiteralValue
(Value<?> value, GraphQLList type, GraphQLSchema schema, GraphQLContext graphQLContext, Locale locale) boolean
ValidationUtil.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 TypeMethodDescriptionboolean
VariablesTypesMatcher.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)
GraphQLAppliedDirectiveArgument
methods instead