Uses of Interface
graphql.language.Type
-
Packages that use Type Package Description graphql.execution graphql.introspection graphql.language graphql.parser graphql.schema.diff graphql.schema.idl graphql.schema.idl.errors graphql.util graphql.validation -
-
Uses of Type in graphql.execution
Methods in graphql.execution with parameters of type Type Modifier and Type Method Description static GraphQLTypeTypeFromAST. getTypeFromAST(GraphQLSchema schema, Type type) -
Uses of Type in graphql.introspection
Methods in graphql.introspection that return Type Modifier and Type Method Description private TypeIntrospectionResultToSchema. createTypeIndirection(java.util.Map<java.lang.String,java.lang.Object> type) -
Uses of Type in graphql.language
Classes in graphql.language with type parameters of type Type Modifier and Type Interface Description interfaceType<T extends Type>Classes in graphql.language that implement Type Modifier and Type Class Description classListTypeclassNonNullTypeclassTypeNameFields in graphql.language declared as Type Modifier and Type Field Description private TypeFieldDefinition.Builder. typeprivate TypeFieldDefinition. typeprivate TypeInputValueDefinition.Builder. typeprivate TypeInputValueDefinition. typeprivate TypeListType.Builder. typeprivate TypeListType. typeprivate TypeNonNullType.Builder. typeprivate TypeNonNullType. typeprivate TypeVariableDefinition.Builder. typeprivate TypeVariableDefinition. typeFields in graphql.language with type parameters of type Type Modifier and Type Field Description private com.google.common.collect.ImmutableList<Type>InterfaceTypeDefinition.Builder. implementzprivate com.google.common.collect.ImmutableList<Type>InterfaceTypeDefinition. implementzprivate com.google.common.collect.ImmutableList<Type>InterfaceTypeExtensionDefinition.Builder. implementzprivate com.google.common.collect.ImmutableList<Type>ObjectTypeDefinition.Builder. implementzprivate com.google.common.collect.ImmutableList<Type>ObjectTypeDefinition. implementzprivate com.google.common.collect.ImmutableList<Type>ObjectTypeExtensionDefinition.Builder. implementzprivate com.google.common.collect.ImmutableList<Type>UnionTypeDefinition.Builder. memberTypesprivate com.google.common.collect.ImmutableList<Type>UnionTypeDefinition. memberTypesprivate com.google.common.collect.ImmutableList<Type>UnionTypeExtensionDefinition.Builder. memberTypesMethods in graphql.language that return Type Modifier and Type Method Description TypeFieldDefinition. getType()TypeInputValueDefinition. getType()TypeListType. getType()TypeNonNullType. getType()TypeVariableDefinition. getType()Methods in graphql.language that return types with arguments of type Type Modifier and Type Method Description private java.util.Comparator<Type>AstSorter. comparingTypes()java.util.List<Type>ImplementingTypeDefinition. getImplements()java.util.List<Type>InterfaceTypeDefinition. getImplements()java.util.List<Type>ObjectTypeDefinition. getImplements()java.util.List<Type>UnionTypeDefinition. getMemberTypes()private AstPrinter.NodePrinter<Type>AstPrinter. type()Methods in graphql.language with parameters of type Type Modifier and Type Method Description InterfaceTypeDefinition.BuilderInterfaceTypeDefinition.Builder. implementz(Type implement)InterfaceTypeExtensionDefinition.BuilderInterfaceTypeExtensionDefinition.Builder. implementz(Type implementz)ObjectTypeDefinition.BuilderObjectTypeDefinition.Builder. implementz(Type implement)ObjectTypeExtensionDefinition.BuilderObjectTypeExtensionDefinition.Builder. implementz(Type implement)UnionTypeDefinition.BuilderUnionTypeDefinition.Builder. memberType(Type memberType)UnionTypeExtensionDefinition.BuilderUnionTypeExtensionDefinition.Builder. memberType(Type memberType)static ListType.BuilderListType. newListType(Type type)static NonNullType.BuilderNonNullType. newNonNullType(Type type)static VariableDefinition.BuilderVariableDefinition. newVariableDefinition(java.lang.String name, Type type)static VariableDefinition.BuilderVariableDefinition. newVariableDefinition(java.lang.String name, Type type, Value defaultValue)private java.lang.StringAstPrinter. type(Type type)FieldDefinition.BuilderFieldDefinition.Builder. type(Type type)InputValueDefinition.BuilderInputValueDefinition.Builder. type(Type type)ListType.BuilderListType.Builder. type(Type type)NonNullType.BuilderNonNullType.Builder. type(Type type)private java.lang.StringPrettyAstPrinter. type(Type type)VariableDefinition.BuilderVariableDefinition.Builder. type(Type type)protected TraversalControlNodeVisitorStub. visitType(Type<?> node, TraverserContext<Node> context)Method parameters in graphql.language with type arguments of type Type Modifier and Type Method Description InterfaceTypeDefinition.BuilderInterfaceTypeDefinition.Builder. implementz(java.util.List<Type> implementz)InterfaceTypeExtensionDefinition.BuilderInterfaceTypeExtensionDefinition.Builder. implementz(java.util.List<Type> implementz)ObjectTypeDefinition.BuilderObjectTypeDefinition.Builder. implementz(java.util.List<Type> implementz)ObjectTypeExtensionDefinition.BuilderObjectTypeExtensionDefinition.Builder. implementz(java.util.List<Type> implementz)UnionTypeDefinition.BuilderUnionTypeDefinition.Builder. memberTypes(java.util.List<Type> memberTypes)UnionTypeExtensionDefinition.BuilderUnionTypeExtensionDefinition.Builder. memberTypes(java.util.List<Type> memberTypes)Constructors in graphql.language with parameters of type Type Constructor Description FieldDefinition(java.lang.String name, Type type)FieldDefinition(java.lang.String name, Type type, java.util.List<InputValueDefinition> inputValueDefinitions, 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)InputValueDefinition(java.lang.String name, Type type)alternative to using a Builder for convenienceInputValueDefinition(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)ListType(Type type)alternative to using a Builder for convenienceListType(Type type, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)NonNullType(Type type)alternative to using a Builder for convenienceNonNullType(Type type, 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)alternative to using a Builder for convenienceVariableDefinition(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 Type Constructor Description InterfaceTypeDefinition(java.lang.String name, java.util.List<Type> implementz, java.util.List<FieldDefinition> definitions, 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)InterfaceTypeExtensionDefinition(java.lang.String name, java.util.List<Type> implementz, java.util.List<FieldDefinition> definitions, 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)ObjectTypeDefinition(java.lang.String name, java.util.List<Type> implementz, java.util.List<Directive> directives, java.util.List<FieldDefinition> fieldDefinitions, Description description, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData)ObjectTypeExtensionDefinition(java.lang.String name, java.util.List<Type> implementz, java.util.List<Directive> directives, java.util.List<FieldDefinition> fieldDefinitions, Description description, SourceLocation sourceLocation, java.util.List<Comment> comments, IgnoredChars ignoredChars, java.util.Map<java.lang.String,java.lang.String> additionalData) -
Uses of Type in graphql.parser
Methods in graphql.parser that return Type Modifier and Type Method Description protected TypeGraphqlAntlrToLanguage. createType(GraphqlParser.TypeContext ctx)static Type<?>Parser. parseType(java.lang.String input)Parses a string input into a graphql AST Typeprivate Type<?>Parser. parseTypeImpl(java.lang.String input)Methods in graphql.parser that return types with arguments of type Type Modifier and Type Method Description private java.util.List<Type>GraphqlAntlrToLanguage. getImplementz(GraphqlParser.ImplementsInterfacesContext implementsInterfacesContext) -
Uses of Type in graphql.schema.diff
Methods in graphql.schema.diff with parameters of type Type Modifier and Type Method Description private voidSchemaDiff. checkType(DiffCtx ctx, Type oldType, Type newType)(package private) DiffCategorySchemaDiff. checkTypeWithNonNullAndListOnInputOrArg(Type oldType, Type newType)(package private) DiffCategorySchemaDiff. checkTypeWithNonNullAndListOnObjectOrInterface(Type oldType, Type newType)(package private) <T extends TypeDefinition>
java.util.Optional<T>DiffCtx. getNewTypeDef(Type type, java.lang.Class<T> typeDefClass)(package private) <T extends TypeDefinition>
java.util.Optional<T>DiffCtx. getOldTypeDef(Type type, java.lang.Class<T> typeDefClass)(package private) static java.lang.StringSchemaDiff. getTypeName(Type type)Method parameters in graphql.schema.diff with type arguments of type Type Modifier and Type Method Description private voidSchemaDiff. checkImplements(DiffCtx ctx, ObjectTypeDefinition old, java.util.List<Type> oldImplements, java.util.List<Type> newImplements)private java.util.Optional<OperationTypeDefinition>SchemaDiff. synthOperationTypeDefinition(java.util.function.Function<Type,java.util.Optional<ObjectTypeDefinition>> typeRetriever, java.lang.String opName) -
Uses of Type in graphql.schema.idl
Fields in graphql.schema.idl declared as Type Modifier and Type Field Description private TypeTypeInfo. rawTypeMethods in graphql.schema.idl that return Type Modifier and Type Method Description TypeTypeInfo. getRawType()static TypeTypeUtil. unwrapOne(Type type)Unwraps one layer of the type or just returns the type again if it's not a wrapped typeTypeTypeInfo. unwrapOneType()Methods in graphql.schema.idl that return types with arguments of type Type Modifier and Type Method Description private java.util.function.Consumer<? super Type>SchemaTypeChecker. checkInterfaceTypeExists(TypeDefinitionRegistry typeRegistry, java.util.List<GraphQLError> errors, TypeDefinition typeDefinition)private java.util.function.Consumer<Type>SchemaTypeChecker. checkTypeExists(TypeDefinitionRegistry typeRegistry, java.util.List<GraphQLError> errors, java.lang.String typeOfType, Node element, java.lang.String elementName)private java.util.function.Consumer<Type>SchemaTypeChecker. checkTypeExists(java.lang.String typeOfType, TypeDefinitionRegistry typeRegistry, java.util.List<GraphQLError> errors, TypeDefinition typeDefinition)java.util.function.Function<Type<?>,GraphQLInputType>SchemaGeneratorHelper. inputTypeFactory(SchemaGeneratorHelper.BuildContext buildCtx)Methods in graphql.schema.idl with parameters of type Type Modifier and Type Method Description (package private) GraphQLInputTypeSchemaGeneratorHelper. buildInputType(SchemaGeneratorHelper.BuildContext buildCtx, Type rawType)private <T extends GraphQLOutputType>
TSchemaGeneratorHelper. buildOutputType(SchemaGeneratorHelper.BuildContext buildCtx, Type<?> rawType)This is the main recursive spot that builds out the various forms of Output types(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)static java.lang.StringTypeInfo. getAstDesc(Type type)java.util.Optional<TypeDefinition>TypeDefinitionRegistry. getType(Type type)<T extends TypeDefinition>
java.util.Optional<T>TypeDefinitionRegistry. getType(Type type, java.lang.Class<T> ofType)(package private) TypeDefinition<?>SchemaGeneratorHelper.BuildContext. getTypeDefinition(Type<?> type)booleanTypeDefinitionRegistry. isInterfaceOrUnion(Type type)Returns true if the specified type exists in the registry and is an abstract (Interface or Union) typestatic booleanTypeUtil. isList(Type type)Returnstrueif the provided type is a list type, otherwise returnsfalse.static booleanTypeUtil. isNonNull(Type type)Returnstrueif the provided type is a non null type, otherwise returnsfalse.booleanTypeDefinitionRegistry. isObjectType(Type type)Returns true if the specified type exists in the registry and is an object typebooleanTypeDefinitionRegistry. isObjectTypeOrInterface(Type type)Returns true if the specified type exists in the registry and is an object type or interfacebooleanTypeDefinitionRegistry. isPossibleType(Type abstractType, Type possibleType)Returns true of the abstract type is in implemented by the object type or interfacebooleanTypeDefinitionRegistry. isSubTypeOf(Type maybeSubType, Type superType)Returns true if the maybe type is either equal or a subset of the second super type (covariant).static booleanTypeUtil. isWrapped(Type type)Returnstrueif the given type is a non null or list type, that is a wrapped type, otherwise returnsfalse.static java.lang.StringTypeUtil. simplePrint(Type type)This will return the type in graphql SDL format, eg [typeName!]!private java.util.Optional<InterfaceTypeDefinition>ImplementingTypesChecker. toInterfaceTypeDefinition(Type type, TypeDefinitionRegistry typeRegistry)static TypeInfoTypeInfo. typeInfo(Type type)static TypeNameTypeUtil. unwrapAll(Type type)Unwraps all layers of the type or just returns the type again if it's not a wrapped typestatic TypeTypeUtil. unwrapOne(Type type)Unwraps one layer of the type or just returns the type again if it's not a wrapped typeMethod parameters in graphql.schema.idl with type arguments of type Type Modifier and Type Method Description private static Pair<GraphQLDirective,GraphQLAppliedDirective>SchemaGeneratorAppliedDirectiveHelper. buildAppliedDirective(SchemaGeneratorHelper.BuildContext buildCtx, java.util.function.Function<Type<?>,GraphQLInputType> inputTypeFactory, Directive directive, java.util.Set<GraphQLDirective> directiveDefinitions, Introspection.DirectiveLocation directiveLocation, GraphqlTypeComparatorRegistry comparatorRegistry)(package private) static Pair<java.util.List<GraphQLDirective>,java.util.List<GraphQLAppliedDirective>>SchemaGeneratorAppliedDirectiveHelper. buildAppliedDirectives(SchemaGeneratorHelper.BuildContext buildCtx, java.util.function.Function<Type<?>,GraphQLInputType> inputTypeFactory, java.util.List<Directive> directives, java.util.List<Directive> extensionDirectives, Introspection.DirectiveLocation directiveLocation, java.util.Set<GraphQLDirective> runtimeDirectives, GraphqlTypeComparatorRegistry comparatorRegistry)(package private) static GraphQLArgumentSchemaGeneratorAppliedDirectiveHelper. buildDirectiveArgumentDefinitionFromAst(SchemaGeneratorHelper.BuildContext buildCtx, InputValueDefinition valueDefinition, java.util.function.Function<Type<?>,GraphQLInputType> inputTypeFactory)(package private) static GraphQLDirectiveSchemaGeneratorAppliedDirectiveHelper. buildDirectiveDefinitionFromAst(SchemaGeneratorHelper.BuildContext buildCtx, DirectiveDefinition directiveDefinition, java.util.function.Function<Type<?>,GraphQLInputType> inputTypeFactory)private java.util.Set<InterfaceTypeDefinition>ImplementingTypesChecker. toInterfaceTypeDefinitions(TypeDefinitionRegistry typeRegistry, java.util.Collection<Type> implementsTypes)Constructors in graphql.schema.idl with parameters of type Type Constructor Description TypeInfo(Type type) -
Uses of Type in graphql.schema.idl.errors
Constructors in graphql.schema.idl.errors with parameters of type Type Constructor Description NotAnInputTypeError(Type rawType, TypeDefinition typeDefinition)NotAnOutputTypeError(Type rawType, TypeDefinition typeDefinition) -
Uses of Type in graphql.util
Methods in graphql.util that return Type Modifier and Type Method Description private static TypeAnonymizer. replaceTypeName(Type type, java.lang.String newName)Methods in graphql.util with parameters of type Type Modifier and Type Method Description private static GraphQLTypeAnonymizer. fromTypeToGraphQLType(Type type, GraphQLSchema schema)private static TypeAnonymizer. replaceTypeName(Type type, java.lang.String newName) -
Uses of Type in graphql.validation
Methods in graphql.validation with parameters of type Type Modifier and Type Method Description TypeNameValidationUtil. getUnmodifiedType(Type<?> type)
-