Uses of Interface
graphql.language.Value
-
-
Uses of Value in graphql.analysis
Fields in graphql.analysis declared as Value Modifier and Type Field Description private Value
QueryVisitorFieldArgumentInputValueImpl. value
Methods in graphql.analysis that return Value Modifier and Type Method Description Value
QueryVisitorFieldArgumentInputValue. getValue()
Value
QueryVisitorFieldArgumentInputValueImpl. getValue()
Methods in graphql.analysis with parameters of type Value Modifier and Type Method Description (package private) QueryVisitorFieldArgumentInputValueImpl
QueryVisitorFieldArgumentInputValueImpl. completeArgumentInputValue(Value<?> value)
protected TraversalControl
NodeVisitorWithTypeTracking. visitValue(Value<?> value, TraverserContext<Node> context)
Constructors in graphql.analysis with parameters of type Value Constructor Description QueryVisitorFieldArgumentInputValueImpl(QueryVisitorFieldArgumentInputValue parent, GraphQLInputValueDefinition inputValueDefinition, Value value)
-
Uses of Value in graphql.execution
Methods in graphql.execution that return Value Modifier and Type Method Description private static Value<?>
ValuesResolverConversion. externalValueToLiteralForEnum(GraphQLEnumType enumType, java.lang.Object value, GraphQLContext graphqlContext, java.util.Locale locale)
No validationprivate static Value<?>
ValuesResolverConversion. externalValueToLiteralForScalar(GraphQLScalarType scalarType, java.lang.Object value, GraphQLContext graphqlContext, @NotNull java.util.Locale locale)
No validationprivate static Value<?>
ValuesResolverLegacy. handleInputObjectLegacy(java.lang.Object javaValue, GraphQLInputObjectType type, GraphQLContext graphqlContext, java.util.Locale locale)
private static Value<?>
ValuesResolverLegacy. handleListLegacy(java.lang.Object value, GraphQLList type, GraphQLContext graphqlContext, java.util.Locale locale)
private static Value<?>
ValuesResolverLegacy. handleNonNullLegacy(java.lang.Object _value, GraphQLNonNull type, GraphQLContext graphqlContext, java.util.Locale locale)
private static Value<?>
ValuesResolverLegacy. handleNumberLegacy(java.lang.String stringValue)
static Value<?>
ValuesResolver. valueToLiteral(@NotNull InputValueWithState inputValueWithState, @NotNull GraphQLType type, GraphQLContext graphqlContext, java.util.Locale locale)
static Value<?>
ValuesResolver. valueToLiteral(@NotNull GraphqlFieldVisibility fieldVisibility, @NotNull InputValueWithState inputValueWithState, @NotNull GraphQLType type, GraphQLContext graphqlContext, java.util.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(java.lang.Object value, GraphQLType type, GraphQLContext graphqlContext, java.util.Locale locale)
Legacy logic to convert an arbitrary java object to an Ast Literal.Methods in graphql.execution with parameters of type Value Modifier and Type Method Description private static boolean
ValuesResolver. isVariableAbsent(Value value, java.util.Map<java.lang.String,NormalizedInputValue> variables)
(package private) static java.lang.Object
ValuesResolverConversion. literalToInternalValue(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLInputType type, Value inputValue, CoercedVariables coercedVariables, GraphQLContext graphqlContext, java.util.Locale locale)
No validation (it was checked before via ArgumentsOfCorrectType and VariableDefaultValuesOfCorrectType)private static java.lang.Object
ValuesResolverConversion. literalToInternalValueForList(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLList graphQLList, Value value, CoercedVariables coercedVariables, GraphQLContext graphqlContext, java.util.Locale locale)
no validationprivate static java.lang.Object
ValuesResolverConversion. literalToInternalValueForScalar(Value inputValue, GraphQLScalarType scalarType, CoercedVariables coercedVariables, GraphQLContext graphqlContext, @NotNull java.util.Locale locale)
no validationprivate static @Nullable java.lang.Object
ValuesResolverConversion. literalToInternalValueImpl(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLType type, Value inputValue, CoercedVariables coercedVariables, GraphQLContext graphqlContext, java.util.Locale locale)
static java.lang.Object
ValuesResolver. literalToNormalizedValue(GraphqlFieldVisibility fieldVisibility, GraphQLType type, Value inputValue, java.util.Map<java.lang.String,NormalizedInputValue> normalizedVariables)
private static java.util.List<java.lang.Object>
ValuesResolver. literalToNormalizedValueForList(GraphqlFieldVisibility fieldVisibility, GraphQLList type, Value value, java.util.Map<java.lang.String,NormalizedInputValue> normalizedVariables)
private static void
ValuesResolver. validateOneOfInputTypes(GraphQLInputObjectType oneOfInputType, Value argumentValue, java.lang.String argumentName, java.lang.Object inputValue, java.util.Locale locale)
-
Uses of Value in graphql.execution.directives
Methods in graphql.execution.directives with parameters of type Value Modifier and Type Method Description QueryAppliedDirectiveArgument.Builder
QueryAppliedDirectiveArgument.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 Value Modifier and Type Interface Description interface
ScalarValue<T extends Value>
interface
Value<T extends Value>
Subinterfaces of Value in graphql.language Modifier and Type Interface Description interface
ScalarValue<T extends Value>
Classes in graphql.language that implement Value Modifier and Type Class Description class
ArrayValue
class
BooleanValue
class
EnumValue
class
FloatValue
class
IntValue
class
NullValue
class
ObjectValue
class
StringValue
class
VariableReference
Fields in graphql.language declared as Value Modifier and Type Field Description private Value
InputValueDefinition.Builder. defaultValue
private Value
InputValueDefinition. defaultValue
private Value
VariableDefinition.Builder. defaultValue
private Value
VariableDefinition. defaultValue
private Value
Argument.Builder. value
private Value
Argument. value
private Value
ObjectField.Builder. value
private Value
ObjectField. value
Fields in graphql.language with type parameters of type Value Modifier and Type Field Description private com.google.common.collect.ImmutableList<Value>
ArrayValue.Builder. values
private com.google.common.collect.ImmutableList<Value>
ArrayValue. values
Methods in graphql.language that return Value Modifier and Type Method Description Value
InputValueDefinition. getDefaultValue()
Value
VariableDefinition. getDefaultValue()
Value
Argument. getValue()
Value
ObjectField. getValue()
Methods in graphql.language that return types with arguments of type Value Modifier and Type Method Description java.util.List<Value>
ArrayValue. getValues()
private AstPrinter.NodePrinter<Value>
AstPrinter. value()
Methods in graphql.language with parameters of type Value Modifier and Type Method Description InputValueDefinition.Builder
InputValueDefinition.Builder. defaultValue(Value defaultValue)
VariableDefinition.Builder
VariableDefinition.Builder. defaultValue(Value defaultValue)
static Argument.Builder
Argument. newArgument(java.lang.String name, Value value)
static VariableDefinition.Builder
VariableDefinition. newVariableDefinition(java.lang.String name, Type type, Value defaultValue)
static boolean
AstComparator. sameValue(Value value1, Value value2)
Argument.Builder
Argument.Builder. value(Value value)
ArrayValue.Builder
ArrayValue.Builder. value(Value value)
private java.lang.String
AstPrinter. value(Value value)
ObjectField.Builder
ObjectField.Builder. value(Value value)
protected TraversalControl
NodeVisitorStub. visitValue(Value<?> node, TraverserContext<Node> context)
Method parameters in graphql.language with type arguments of type Value Modifier and Type Method Description ArrayValue.Builder
ArrayValue.Builder. values(java.util.List<Value> values)
Constructors in graphql.language with parameters of type Value Constructor Description Argument(java.lang.String name, Value value)
alternative to using a Builder for convenienceArgument(java.lang.String name, Value value, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
InputValueDefinition(java.lang.String name, Type type, Value defaultValue)
alternative to using a Builder for convenienceInputValueDefinition(java.lang.String name, Type type, Value defaultValue, java.util.List<Directive> directives, Description description, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
ObjectField(java.lang.String name, Value value)
alternative to using a Builder for convenienceObjectField(java.lang.String name, Value value, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
VariableDefinition(java.lang.String name, Type type, Value defaultValue)
alternative to using a Builder for convenienceVariableDefinition(java.lang.String name, Type type, Value defaultValue, java.util.List<Directive> directives, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
Constructor parameters in graphql.language with type arguments of type Value Constructor Description ArrayValue(java.util.List<Value> values)
alternative to using a Builder for convenienceArrayValue(java.util.List<Value> values, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)
-
Uses of Value in graphql.normalized
Methods in graphql.normalized that return Value Modifier and Type Method Description private static Value<?>
ExecutableNormalizedOperationToAstCompiler. argValue(ExecutableNormalizedField executableNormalizedField, java.lang.String argName, @Nullable java.lang.Object value, VariableAccumulator variableAccumulator)
private static @NotNull Value<?>
ExecutableNormalizedOperationToAstCompiler. argValue(ExecutableNormalizedField executableNormalizedField, java.lang.String argName, NormalizedInputValue normalizedInputValue, VariableAccumulator variableAccumulator)
Methods in graphql.normalized with parameters of type Value Modifier and Type Method Description private static @Nullable java.lang.Object
ValueToVariableValueCompiler. toVariableValue(Value<?> value)
Method parameters in graphql.normalized with type arguments of type Value Modifier and Type Method Description private static @NotNull java.util.List<java.lang.Object>
ValueToVariableValueCompiler. toVariableValues(java.util.List<Value> arrayValues)
-
Uses of Value in graphql.parser
Methods in graphql.parser that return Value Modifier and Type Method Description protected Value
GraphqlAntlrToLanguage. createValue(GraphqlParser.ValueContext ctx)
protected Value
GraphqlAntlrToLanguage. createValue(GraphqlParser.ValueWithVariableContext ctx)
static Value<?>
Parser. parseValue(java.lang.String input)
Parses a string input into a graphql ASTValue
private Value<?>
Parser. parseValueImpl(java.lang.String input)
-
Uses of Value in graphql.scalar
Methods in graphql.scalar that return Value Modifier and Type Method Description Value
GraphqlBooleanCoercing. valueToLiteral(@NotNull java.lang.Object input)
Deprecated.@NotNull Value<?>
GraphqlBooleanCoercing. valueToLiteral(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
Value
GraphqlFloatCoercing. valueToLiteral(@NotNull java.lang.Object input)
Deprecated.@NotNull Value<?>
GraphqlFloatCoercing. valueToLiteral(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
Value
GraphqlIDCoercing. valueToLiteral(@NotNull java.lang.Object input)
Deprecated.@NotNull Value<?>
GraphqlIDCoercing. valueToLiteral(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
Value
GraphqlIntCoercing. valueToLiteral(@NotNull java.lang.Object input)
Deprecated.@NotNull Value<?>
GraphqlIntCoercing. valueToLiteral(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
Value
GraphqlStringCoercing. valueToLiteral(@NotNull java.lang.Object input)
Deprecated.@NotNull Value<?>
GraphqlStringCoercing. valueToLiteral(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
Methods in graphql.scalar with parameters of type Value Modifier and Type Method Description @Nullable java.lang.Boolean
GraphqlBooleanCoercing. parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@Nullable java.lang.Double
GraphqlFloatCoercing. parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@Nullable java.lang.Object
GraphqlIDCoercing. parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@Nullable java.lang.Integer
GraphqlIntCoercing. parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
@Nullable java.lang.String
GraphqlStringCoercing. parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
-
Uses of Value in graphql.schema
Methods in graphql.schema that return Value Modifier and Type Method Description default @NotNull Value
Coercing. valueToLiteral(@NotNull java.lang.Object input)
Deprecated.default @NotNull Value<?>
Coercing. valueToLiteral(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)
Converts an external input value to a literal (Ast Value).Value
GraphQLEnumType. valueToLiteral(java.lang.Object input)
Deprecated.Value<?>
GraphQLEnumType. valueToLiteral(java.lang.Object input, GraphQLContext graphQLContext, java.util.Locale locale)
Methods in graphql.schema with parameters of type Value Modifier and Type Method Description GraphQLArgument.Builder
GraphQLArgument.Builder. defaultValueLiteral(@NotNull Value defaultValue)
GraphQLInputObjectField.Builder
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 java.util.Locale locale)
Called during query execution to convert a query input AST node into a Java object acceptable for the scalar type.java.lang.Object
GraphQLEnumType. parseLiteral(Value<?> input, GraphQLContext graphQLContext, java.util.Locale locale)
GraphQLAppliedDirectiveArgument.Builder
GraphQLAppliedDirectiveArgument.Builder. valueLiteral(@NotNull Value<?> value)
Sets a literal AST value as the arguments valueGraphQLArgument.Builder
GraphQLArgument.Builder. valueLiteral(@NotNull Value value)
Deprecated.useGraphQLAppliedDirectiveArgument
methods instead -
Uses of Value in graphql.schema.idl
Methods in graphql.schema.idl with parameters of type Value Modifier and Type Method Description private void
ArgValueOfAllowedTypeChecker. checkArgValueMatchesAllowedEnum(java.util.List<GraphQLError> errors, Value<?> instanceValue, EnumTypeDefinition allowedTypeDefinition)
private void
ArgValueOfAllowedTypeChecker. checkArgValueMatchesAllowedInputType(java.util.List<GraphQLError> errors, Value<?> instanceValue, InputObjectTypeDefinition allowedTypeDefinition)
private void
ArgValueOfAllowedTypeChecker. checkArgValueMatchesAllowedListType(java.util.List<GraphQLError> errors, Value<?> instanceValue, ListType allowedArgType)
private void
ArgValueOfAllowedTypeChecker. checkArgValueMatchesAllowedNonNullType(java.util.List<GraphQLError> errors, Value<?> instanceValue, NonNullType allowedArgType)
private void
ArgValueOfAllowedTypeChecker. checkArgValueMatchesAllowedScalar(java.util.List<GraphQLError> errors, Value<?> instanceValue, ScalarTypeDefinition allowedTypeDefinition)
(package private) void
ArgValueOfAllowedTypeChecker. checkArgValueMatchesAllowedType(java.util.List<GraphQLError> errors, Value<?> instanceValue, Type<?> allowedArgType)
Recursively inspects an argument value given an allowed type.private void
ArgValueOfAllowedTypeChecker. checkArgValueMatchesAllowedTypeName(java.util.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 Value Modifier and Type Method Description private static Value
Anonymizer. replaceValue(Value valueLiteral, GraphQLInputType argType, java.util.Map<GraphQLNamedSchemaElement,java.lang.String> newNameMap, java.util.concurrent.atomic.AtomicInteger defaultStringValueCounter, java.util.concurrent.atomic.AtomicInteger defaultIntValueCounter)
Methods in graphql.util with parameters of type Value Modifier and Type Method Description private static Value
Anonymizer. replaceValue(Value valueLiteral, GraphQLInputType argType, java.util.Map<GraphQLNamedSchemaElement,java.lang.String> newNameMap, java.util.concurrent.atomic.AtomicInteger defaultStringValueCounter, java.util.concurrent.atomic.AtomicInteger defaultIntValueCounter)
-
Uses of Value in graphql.validation
Fields in graphql.validation declared as Value Modifier and Type Field Description private Value<?>
ArgumentValidationUtil. argumentValue
Methods in graphql.validation with parameters of type Value Modifier and Type Method Description protected 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, java.util.Set<java.lang.String> missingFields)
protected void
ValidationUtil. handleMissingFieldsError(Value<?> value, GraphQLInputObjectType type, java.util.Set<java.lang.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, java.util.Locale locale)
private boolean
ValidationUtil. isValidLiteralValue(Value<?> value, GraphQLList type, GraphQLSchema schema, GraphQLContext graphQLContext, java.util.Locale locale)
boolean
ValidationUtil. isValidLiteralValue(Value<?> value, GraphQLType type, GraphQLSchema schema, GraphQLContext graphQLContext, java.util.Locale locale)
private java.util.Optional<GraphQLError>
ValidationUtil. parseLiteral(Value<?> value, Coercing<?,?> coercing, GraphQLContext graphQLContext, java.util.Locale locale)
private java.util.Optional<GraphQLError>
ValidationUtil. parseLiteralEnum(Value<?> value, GraphQLEnumType graphQLEnumType, GraphQLContext graphQLContext, java.util.Locale locale)
-
Uses of Value in graphql.validation.rules
Methods in graphql.validation.rules with parameters of type Value Modifier and Type Method Description boolean
VariablesTypesMatcher. doesVariableTypesMatch(GraphQLType varType, Value<?> varDefaultValue, GraphQLType locationType, Value<?> locationDefaultValue)
This method and variable naming was inspired from the reference graphql-js implementationGraphQLType
VariablesTypesMatcher. effectiveType(GraphQLType variableType, Value<?> defaultValue)
-