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 GraphQLType
TypeFromAST.getTypeFromAST
(GraphQLSchema schema, Type type) -
Uses of Type in graphql.introspection
Methods in graphql.introspection that return TypeModifier and TypeMethodDescriptionprivate Type
IntrospectionResultToSchema.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 Type
FieldDefinition.Builder.type
private final Type
FieldDefinition.type
private Type
InputValueDefinition.Builder.type
private final Type
InputValueDefinition.type
private Type
ListType.Builder.type
private final Type
ListType.type
private Type
NonNullType.Builder.type
private final Type
NonNullType.type
private Type
VariableDefinition.Builder.type
private final Type
VariableDefinition.type
Fields in graphql.language with type parameters of type TypeModifier and TypeFieldDescriptionprivate com.google.common.collect.ImmutableList
<Type> InterfaceTypeDefinition.Builder.implementz
private final com.google.common.collect.ImmutableList
<Type> InterfaceTypeDefinition.implementz
private com.google.common.collect.ImmutableList
<Type> InterfaceTypeExtensionDefinition.Builder.implementz
private com.google.common.collect.ImmutableList
<Type> ObjectTypeDefinition.Builder.implementz
private final com.google.common.collect.ImmutableList
<Type> ObjectTypeDefinition.implementz
private com.google.common.collect.ImmutableList
<Type> ObjectTypeExtensionDefinition.Builder.implementz
private com.google.common.collect.ImmutableList
<Type> UnionTypeDefinition.Builder.memberTypes
private final com.google.common.collect.ImmutableList
<Type> UnionTypeDefinition.memberTypes
private com.google.common.collect.ImmutableList
<Type> UnionTypeExtensionDefinition.Builder.memberTypes
Methods 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.Builder
ListType.newListType
(Type type) static NonNullType.Builder
NonNullType.newNonNullType
(Type type) static VariableDefinition.Builder
VariableDefinition.newVariableDefinition
(String name, Type type) static VariableDefinition.Builder
VariableDefinition.newVariableDefinition
(String name, Type type, Value defaultValue) private String
private String
protected TraversalControl
NodeVisitorStub.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) protected
FieldDefinition
(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 convenienceprotected
InputValueDefinition
(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 convenienceprotected
ListType
(Type type, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) NonNullType
(Type type) alternative to using a Builder for convenienceprotected
NonNullType
(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 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 TypeModifierConstructorDescriptionprotected
InterfaceTypeDefinition
(String name, List<Type> implementz, List<FieldDefinition> definitions, List<Directive> directives, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protected
InterfaceTypeExtensionDefinition
(String name, List<Type> implementz, List<FieldDefinition> definitions, List<Directive> directives, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protected
ObjectTypeDefinition
(String name, List<Type> implementz, List<Directive> directives, List<FieldDefinition> fieldDefinitions, Description description, SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) protected
ObjectTypeExtensionDefinition
(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 Type
GraphqlAntlrToLanguage.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) DiffCategory
SchemaDiff.checkTypeWithNonNullAndListOnInputOrArg
(Type oldType, Type newType) (package private) DiffCategory
SchemaDiff.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 String
SchemaDiff.getTypeName
(Type type) Method parameters in graphql.schema.diff with type arguments of type TypeModifier and TypeMethodDescriptionprivate void
SchemaDiff.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 Type
Unwraps 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) SchemaGeneratorHelper.inputTypeFactory
(SchemaGeneratorHelper.BuildContext buildCtx) Methods in graphql.schema.idl with parameters of type TypeModifier and TypeMethodDescription(package private) GraphQLInputType
SchemaGeneratorHelper.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) 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) static String
TypeInfo.getAstDesc
(Type type) <T extends TypeDefinition>
Optional<T> (package private) TypeDefinition
<?> SchemaGeneratorHelper.BuildContext.getTypeDefinition
(Type<?> type) boolean
TypeDefinitionRegistry.isInterfaceOrUnion
(Type type) Returns true if the specified type exists in the registry and is an abstract (Interface or Union) typestatic boolean
Returnstrue
if the provided type is a list type, otherwise returnsfalse
.static boolean
Returnstrue
if the provided type is a non null type, otherwise returnsfalse
.boolean
TypeDefinitionRegistry.isObjectType
(Type type) Returns true if the specified type exists in the registry and is an object typeboolean
TypeDefinitionRegistry.isObjectTypeOrInterface
(Type type) Returns true if the specified type exists in the registry and is an object type or interfaceboolean
TypeDefinitionRegistry.isPossibleType
(Type abstractType, Type possibleType) Returns true of the abstract type is in implemented by the object type or interfaceboolean
TypeDefinitionRegistry.isSubTypeOf
(Type maybeSubType, Type superType) Returns true if the maybe type is either equal or a subset of the second super type (covariant).static boolean
Returnstrue
if the given type is a non null or list type, that is a wrapped type, otherwise returnsfalse
.static String
TypeUtil.simplePrint
(Type type) This will return the type in graphql SDL format, eg [typeName!]!private Optional
<InterfaceTypeDefinition> ImplementingTypesChecker.toInterfaceTypeDefinition
(Type type, TypeDefinitionRegistry typeRegistry) static TypeInfo
static TypeName
Unwraps all layers of the type or just returns the type again if it's not a wrapped typestatic 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 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 GraphQLArgument
SchemaGeneratorAppliedDirectiveHelper.buildDirectiveArgumentDefinitionFromAst
(SchemaGeneratorHelper.BuildContext buildCtx, InputValueDefinition valueDefinition, Function<Type<?>, GraphQLInputType> inputTypeFactory) (package private) static GraphQLDirective
SchemaGeneratorAppliedDirectiveHelper.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 Type
Anonymizer.replaceTypeName
(Type type, String newName) Methods in graphql.util with parameters of type TypeModifier and TypeMethodDescriptionprivate static GraphQLType
Anonymizer.fromTypeToGraphQLType
(Type type, GraphQLSchema schema) private static Type
Anonymizer.replaceTypeName
(Type type, String newName) -
Uses of Type in graphql.validation
Methods in graphql.validation with parameters of type Type