Uses of Interface
graphql.language.Type
Packages that use Type
Package
Description
-
Uses of Type in graphql.execution
Methods in graphql.execution with parameters of type TypeModifier and TypeMethodDescriptionstatic GraphQLTypeTypeFromAST.getTypeFromAST(GraphQLSchema schema, Type type) -
Uses of Type in graphql.introspection
Methods in graphql.introspection that return TypeModifier and TypeMethodDescriptionprivate TypeIntrospectionResultToSchema.createTypeIndirection(Map<String, Object> type) -
Uses of Type in graphql.language
Classes in graphql.language with type parameters of type TypeClasses in graphql.language that implement TypeFields in graphql.language declared as TypeModifier and TypeFieldDescriptionprivate TypeFieldDefinition.Builder.typeprivate final TypeFieldDefinition.typeprivate TypeInputValueDefinition.Builder.typeprivate final TypeInputValueDefinition.typeprivate TypeListType.Builder.typeprivate final TypeListType.typeprivate TypeNonNullType.Builder.typeprivate final TypeNonNullType.typeprivate TypeVariableDefinition.Builder.typeprivate final TypeVariableDefinition.typeFields in graphql.language with type parameters of type TypeModifier and TypeFieldDescriptionprivate com.google.common.collect.ImmutableList<Type> InterfaceTypeDefinition.Builder.implementzprivate final 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 final 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 final com.google.common.collect.ImmutableList<Type> UnionTypeDefinition.memberTypesprivate com.google.common.collect.ImmutableList<Type> UnionTypeExtensionDefinition.Builder.memberTypesMethods in graphql.language that return TypeModifier and TypeMethodDescriptionFieldDefinition.getType()InputValueDefinition.getType()ListType.getType()NonNullType.getType()VariableDefinition.getType()Methods in graphql.language that return types with arguments of type TypeModifier and TypeMethodDescriptionprivate Comparator<Type> AstSorter.comparingTypes()ImplementingTypeDefinition.getImplements()InterfaceTypeDefinition.getImplements()ObjectTypeDefinition.getImplements()UnionTypeDefinition.getMemberTypes()private AstPrinter.NodePrinter<Type> AstPrinter.type()Methods in graphql.language with parameters of type TypeModifier and TypeMethodDescriptionInterfaceTypeDefinition.Builder.implementz(Type implement) InterfaceTypeExtensionDefinition.Builder.implementz(Type implementz) ObjectTypeDefinition.Builder.implementz(Type implement) ObjectTypeExtensionDefinition.Builder.implementz(Type implement) UnionTypeDefinition.Builder.memberType(Type memberType) UnionTypeExtensionDefinition.Builder.memberType(Type memberType) static ListType.BuilderListType.newListType(Type type) static NonNullType.BuilderNonNullType.newNonNullType(Type type) static VariableDefinition.BuilderVariableDefinition.newVariableDefinition(String name, Type type) static VariableDefinition.BuilderVariableDefinition.newVariableDefinition(String name, Type type, Value defaultValue) private Stringprivate Stringprotected TraversalControlNodeVisitorStub.visitType(Type<?> node, TraverserContext<Node> context) Method parameters in graphql.language with type arguments of type TypeModifier and TypeMethodDescriptionInterfaceTypeDefinition.Builder.implementz(List<Type> implementz) InterfaceTypeExtensionDefinition.Builder.implementz(List<Type> implementz) ObjectTypeDefinition.Builder.implementz(List<Type> implementz) ObjectTypeExtensionDefinition.Builder.implementz(List<Type> implementz) UnionTypeDefinition.Builder.memberTypes(List<Type> memberTypes) UnionTypeExtensionDefinition.Builder.memberTypes(List<Type> memberTypes) Constructors in graphql.language with parameters of type TypeModifierConstructorDescriptionFieldDefinition(String name, Type type) protectedFieldDefinition(String name, Type type, List<InputValueDefinition> inputValueDefinitions, List<Directive> directives, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) InputValueDefinition(String name, Type type) alternative to using a Builder for convenienceInputValueDefinition(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) alternative to using a Builder for convenienceprotectedListType(Type type, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) NonNullType(Type type) alternative to using a Builder for convenienceprotectedNonNullType(Type type, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) VariableDefinition(String name, Type type) alternative to using a Builder for convenienceVariableDefinition(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 TypeModifierConstructorDescriptionprotectedInterfaceTypeDefinition(String name, List<Type> implementz, List<FieldDefinition> definitions, List<Directive> directives, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protectedInterfaceTypeExtensionDefinition(String name, List<Type> implementz, List<FieldDefinition> definitions, List<Directive> directives, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protectedObjectTypeDefinition(String name, List<Type> implementz, List<Directive> directives, List<FieldDefinition> fieldDefinitions, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protectedObjectTypeExtensionDefinition(String name, List<Type> implementz, List<Directive> directives, List<FieldDefinition> fieldDefinitions, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) -
Uses of Type in graphql.parser
Methods in graphql.parser that return TypeModifier and TypeMethodDescriptionprotected TypeGraphqlAntlrToLanguage.createType(GraphqlParser.TypeContext ctx) static Type<?> Parses a string input into a graphql AST Typeprivate Type<?> Parser.parseTypeImpl(String input) Methods in graphql.parser that return types with arguments of type TypeModifier and TypeMethodDescriptionGraphqlAntlrToLanguage.getImplementz(GraphqlParser.ImplementsInterfacesContext implementsInterfacesContext) -
Uses of Type in graphql.schema.diff
Methods in graphql.schema.diff with parameters of type TypeModifier and TypeMethodDescriptionprivate void(package private) DiffCategorySchemaDiff.checkTypeWithNonNullAndListOnInputOrArg(Type oldType, Type newType) (package private) DiffCategorySchemaDiff.checkTypeWithNonNullAndListOnObjectOrInterface(Type oldType, Type newType) (package private) <T extends TypeDefinition>
Optional<T> DiffCtx.getNewTypeDef(Type type, Class<T> typeDefClass) (package private) <T extends TypeDefinition>
Optional<T> DiffCtx.getOldTypeDef(Type type, Class<T> typeDefClass) (package private) static StringSchemaDiff.getTypeName(Type type) Method parameters in graphql.schema.diff with type arguments of type TypeModifier and TypeMethodDescriptionprivate voidSchemaDiff.checkImplements(DiffCtx ctx, ObjectTypeDefinition old, List<Type> oldImplements, List<Type> newImplements) private Optional<OperationTypeDefinition> SchemaDiff.synthOperationTypeDefinition(Function<Type, Optional<ObjectTypeDefinition>> typeRetriever, String opName) -
Uses of Type in graphql.schema.idl
Fields in graphql.schema.idl declared as TypeMethods in graphql.schema.idl that return TypeModifier and TypeMethodDescriptionTypeInfo.getRawType()static TypeUnwraps one layer of the type or just returns the type again if it's not a wrapped typeTypeInfo.unwrapOneType()Methods in graphql.schema.idl that return types with arguments of type TypeModifier and TypeMethodDescriptionSchemaTypeChecker.checkInterfaceTypeExists(TypeDefinitionRegistry typeRegistry, List<GraphQLError> errors, TypeDefinition typeDefinition) SchemaTypeChecker.checkTypeExists(TypeDefinitionRegistry typeRegistry, List<GraphQLError> errors, String typeOfType, Node element, String elementName) SchemaTypeChecker.checkTypeExists(String typeOfType, TypeDefinitionRegistry typeRegistry, List<GraphQLError> errors, TypeDefinition typeDefinition) Function<Type<?>, GraphQLInputType> SchemaGeneratorHelper.inputTypeFactory(SchemaGeneratorHelper.BuildContext buildCtx) Methods in graphql.schema.idl with parameters of type TypeModifier and TypeMethodDescription(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(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) static StringTypeInfo.getAstDesc(Type type) <T extends TypeDefinition>
Optional<T> (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 booleanReturnstrueif the provided type is a list type, otherwise returnsfalse.static booleanReturnstrueif 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 booleanReturnstrueif the given type is a non null or list type, that is a wrapped type, otherwise returnsfalse.static StringTypeUtil.simplePrint(Type type) This will return the type in graphql SDL format, eg [typeName!]!private Optional<InterfaceTypeDefinition> ImplementingTypesChecker.toInterfaceTypeDefinition(Type type, TypeDefinitionRegistry typeRegistry) static TypeInfostatic TypeNameUnwraps all layers of the type or just returns the type again if it's not a wrapped typestatic TypeUnwraps 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 TypeModifier and TypeMethodDescriptionprivate static Pair<GraphQLDirective, GraphQLAppliedDirective> SchemaGeneratorAppliedDirectiveHelper.buildAppliedDirective(SchemaGeneratorHelper.BuildContext buildCtx, Function<Type<?>, GraphQLInputType> inputTypeFactory, Directive directive, Set<GraphQLDirective> directiveDefinitions, Introspection.DirectiveLocation directiveLocation, GraphqlTypeComparatorRegistry comparatorRegistry) (package private) static Pair<List<GraphQLDirective>, List<GraphQLAppliedDirective>> SchemaGeneratorAppliedDirectiveHelper.buildAppliedDirectives(SchemaGeneratorHelper.BuildContext buildCtx, Function<Type<?>, GraphQLInputType> inputTypeFactory, List<Directive> directives, List<Directive> extensionDirectives, Introspection.DirectiveLocation directiveLocation, Set<GraphQLDirective> runtimeDirectives, GraphqlTypeComparatorRegistry comparatorRegistry) (package private) static GraphQLArgumentSchemaGeneratorAppliedDirectiveHelper.buildDirectiveArgumentDefinitionFromAst(SchemaGeneratorHelper.BuildContext buildCtx, InputValueDefinition valueDefinition, Function<Type<?>, GraphQLInputType> inputTypeFactory) (package private) static GraphQLDirectiveSchemaGeneratorAppliedDirectiveHelper.buildDirectiveDefinitionFromAst(SchemaGeneratorHelper.BuildContext buildCtx, DirectiveDefinition directiveDefinition, Function<Type<?>, GraphQLInputType> inputTypeFactory) private Set<InterfaceTypeDefinition> ImplementingTypesChecker.toInterfaceTypeDefinitions(TypeDefinitionRegistry typeRegistry, Collection<Type> implementsTypes) Constructors in graphql.schema.idl with parameters of type Type -
Uses of Type in graphql.schema.idl.errors
Constructors in graphql.schema.idl.errors with parameters of type TypeModifierConstructorDescriptionNotAnInputTypeError(Type rawType, TypeDefinition typeDefinition) NotAnOutputTypeError(Type rawType, TypeDefinition typeDefinition) -
Uses of Type in graphql.util
Methods in graphql.util that return TypeModifier and TypeMethodDescriptionprivate static TypeAnonymizer.replaceTypeName(Type type, String newName) Methods in graphql.util with parameters of type TypeModifier and TypeMethodDescriptionprivate static GraphQLTypeAnonymizer.fromTypeToGraphQLType(Type type, GraphQLSchema schema) private static TypeAnonymizer.replaceTypeName(Type type, String newName) -
Uses of Type in graphql.validation
Methods in graphql.validation with parameters of type Type