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 ValueQueryVisitorFieldArgumentInputValueImpl. valueMethods in graphql.analysis that return Value Modifier and Type Method Description ValueQueryVisitorFieldArgumentInputValue. getValue()ValueQueryVisitorFieldArgumentInputValueImpl. getValue()Methods in graphql.analysis with parameters of type Value Modifier and Type Method Description (package private) QueryVisitorFieldArgumentInputValueImplQueryVisitorFieldArgumentInputValueImpl. completeArgumentInputValue(Value<?> value)protected TraversalControlNodeVisitorWithTypeTracking. 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 booleanValuesResolver. isVariableAbsent(Value value, java.util.Map<java.lang.String,NormalizedInputValue> variables)(package private) static java.lang.ObjectValuesResolverConversion. 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.ObjectValuesResolverConversion. literalToInternalValueForList(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLList graphQLList, Value value, CoercedVariables coercedVariables, GraphQLContext graphqlContext, java.util.Locale locale)no validationprivate static java.lang.ObjectValuesResolverConversion. literalToInternalValueForScalar(Value inputValue, GraphQLScalarType scalarType, CoercedVariables coercedVariables, GraphQLContext graphqlContext, @NotNull java.util.Locale locale)no validationprivate static @Nullable java.lang.ObjectValuesResolverConversion. literalToInternalValueImpl(InputInterceptor inputInterceptor, GraphqlFieldVisibility fieldVisibility, GraphQLType type, Value inputValue, CoercedVariables coercedVariables, GraphQLContext graphqlContext, java.util.Locale locale)static java.lang.ObjectValuesResolver. 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 voidValuesResolver. 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.BuilderQueryAppliedDirectiveArgument.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 interfaceScalarValue<T extends Value>interfaceValue<T extends Value>Subinterfaces of Value in graphql.language Modifier and Type Interface Description interfaceScalarValue<T extends Value>Classes in graphql.language that implement Value Modifier and Type Class Description classArrayValueclassBooleanValueclassEnumValueclassFloatValueclassIntValueclassNullValueclassObjectValueclassStringValueclassVariableReferenceFields in graphql.language declared as Value Modifier and Type Field Description private ValueInputValueDefinition.Builder. defaultValueprivate ValueInputValueDefinition. defaultValueprivate ValueVariableDefinition.Builder. defaultValueprivate ValueVariableDefinition. defaultValueprivate ValueArgument.Builder. valueprivate ValueArgument. valueprivate ValueObjectField.Builder. valueprivate ValueObjectField. valueFields in graphql.language with type parameters of type Value Modifier and Type Field Description private com.google.common.collect.ImmutableList<Value>ArrayValue.Builder. valuesprivate com.google.common.collect.ImmutableList<Value>ArrayValue. valuesMethods in graphql.language that return Value Modifier and Type Method Description ValueInputValueDefinition. getDefaultValue()ValueVariableDefinition. getDefaultValue()ValueArgument. getValue()ValueObjectField. 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.BuilderInputValueDefinition.Builder. defaultValue(Value defaultValue)VariableDefinition.BuilderVariableDefinition.Builder. defaultValue(Value defaultValue)static Argument.BuilderArgument. newArgument(java.lang.String name, Value value)static VariableDefinition.BuilderVariableDefinition. newVariableDefinition(java.lang.String name, Type type, Value defaultValue)static booleanAstComparator. sameValue(Value value1, Value value2)Argument.BuilderArgument.Builder. value(Value value)ArrayValue.BuilderArrayValue.Builder. value(Value value)private java.lang.StringAstPrinter. value(Value value)ObjectField.BuilderObjectField.Builder. value(Value value)protected TraversalControlNodeVisitorStub. visitValue(Value<?> node, TraverserContext<Node> context)Method parameters in graphql.language with type arguments of type Value Modifier and Type Method Description ArrayValue.BuilderArrayValue.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.ObjectValueToVariableValueCompiler. 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 ValueGraphqlAntlrToLanguage. createValue(GraphqlParser.ValueContext ctx)protected ValueGraphqlAntlrToLanguage. createValue(GraphqlParser.ValueWithVariableContext ctx)static Value<?>Parser. parseValue(java.lang.String input)Parses a string input into a graphql ASTValueprivate 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 ValueGraphqlBooleanCoercing. valueToLiteral(@NotNull java.lang.Object input)Deprecated.@NotNull Value<?>GraphqlBooleanCoercing. valueToLiteral(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)ValueGraphqlFloatCoercing. valueToLiteral(@NotNull java.lang.Object input)Deprecated.@NotNull Value<?>GraphqlFloatCoercing. valueToLiteral(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)ValueGraphqlIDCoercing. valueToLiteral(@NotNull java.lang.Object input)Deprecated.@NotNull Value<?>GraphqlIDCoercing. valueToLiteral(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)ValueGraphqlIntCoercing. valueToLiteral(@NotNull java.lang.Object input)Deprecated.@NotNull Value<?>GraphqlIntCoercing. valueToLiteral(@NotNull java.lang.Object input, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)ValueGraphqlStringCoercing. 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.BooleanGraphqlBooleanCoercing. parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)@Nullable java.lang.DoubleGraphqlFloatCoercing. parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)@Nullable java.lang.ObjectGraphqlIDCoercing. parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)@Nullable java.lang.IntegerGraphqlIntCoercing. parseLiteral(@NotNull Value<?> input, @NotNull CoercedVariables variables, @NotNull GraphQLContext graphQLContext, @NotNull java.util.Locale locale)@Nullable java.lang.StringGraphqlStringCoercing. 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 ValueCoercing. 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).ValueGraphQLEnumType. 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.BuilderGraphQLArgument.Builder. defaultValueLiteral(@NotNull Value defaultValue)GraphQLInputObjectField.BuilderGraphQLInputObjectField.Builder. defaultValueLiteral(Value defaultValue)static InputValueWithStateInputValueWithState. newLiteralValue(@NotNull Value value)default ICoercing. 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.ObjectGraphQLEnumType. parseLiteral(Value<?> input, GraphQLContext graphQLContext, java.util.Locale locale)GraphQLAppliedDirectiveArgument.BuilderGraphQLAppliedDirectiveArgument.Builder. valueLiteral(@NotNull Value<?> value)Sets a literal AST value as the arguments valueGraphQLArgument.BuilderGraphQLArgument.Builder. valueLiteral(@NotNull Value value)Deprecated.useGraphQLAppliedDirectiveArgumentmethods instead -
Uses of Value in graphql.schema.idl
Methods in graphql.schema.idl with parameters of type Value Modifier and Type Method Description private voidArgValueOfAllowedTypeChecker. checkArgValueMatchesAllowedEnum(java.util.List<GraphQLError> errors, Value<?> instanceValue, EnumTypeDefinition allowedTypeDefinition)private voidArgValueOfAllowedTypeChecker. checkArgValueMatchesAllowedInputType(java.util.List<GraphQLError> errors, Value<?> instanceValue, InputObjectTypeDefinition allowedTypeDefinition)private voidArgValueOfAllowedTypeChecker. checkArgValueMatchesAllowedListType(java.util.List<GraphQLError> errors, Value<?> instanceValue, ListType allowedArgType)private voidArgValueOfAllowedTypeChecker. checkArgValueMatchesAllowedNonNullType(java.util.List<GraphQLError> errors, Value<?> instanceValue, NonNullType allowedArgType)private voidArgValueOfAllowedTypeChecker. checkArgValueMatchesAllowedScalar(java.util.List<GraphQLError> errors, Value<?> instanceValue, ScalarTypeDefinition allowedTypeDefinition)(package private) voidArgValueOfAllowedTypeChecker. checkArgValueMatchesAllowedType(java.util.List<GraphQLError> errors, Value<?> instanceValue, Type<?> allowedArgType)Recursively inspects an argument value given an allowed type.private voidArgValueOfAllowedTypeChecker. checkArgValueMatchesAllowedTypeName(java.util.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 Value Modifier and Type Method Description private static ValueAnonymizer. 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 ValueAnonymizer. 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. argumentValueMethods in graphql.validation with parameters of type Value Modifier and Type Method Description protected 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, java.util.Set<java.lang.String> missingFields)protected voidValidationUtil. handleMissingFieldsError(Value<?> value, GraphQLInputObjectType type, java.util.Set<java.lang.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, java.util.Locale locale)private booleanValidationUtil. isValidLiteralValue(Value<?> value, GraphQLList type, GraphQLSchema schema, GraphQLContext graphQLContext, java.util.Locale locale)booleanValidationUtil. 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 booleanVariablesTypesMatcher. doesVariableTypesMatch(GraphQLType varType, Value<?> varDefaultValue, GraphQLType locationType, Value<?> locationDefaultValue)This method and variable naming was inspired from the reference graphql-js implementationGraphQLTypeVariablesTypesMatcher. effectiveType(GraphQLType variableType, Value<?> defaultValue)
-