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 GraphQLType
TypeFromAST. getTypeFromAST(GraphQLSchema schema, Type type)
-
Uses of Type in graphql.introspection
Methods in graphql.introspection that return Type Modifier and Type Method Description private Type
IntrospectionResultToSchema. 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 interface
Type<T extends Type>
Classes in graphql.language that implement Type Modifier and Type Class Description class
ListType
class
NonNullType
class
TypeName
Fields in graphql.language declared as Type Modifier and Type Field Description private Type
FieldDefinition.Builder. type
private Type
FieldDefinition. type
private Type
InputValueDefinition.Builder. type
private Type
InputValueDefinition. type
private Type
ListType.Builder. type
private Type
ListType. type
private Type
NonNullType.Builder. type
private Type
NonNullType. type
private Type
VariableDefinition.Builder. type
private Type
VariableDefinition. type
Fields in graphql.language with type parameters of type Type Modifier and Type Field Description private com.google.common.collect.ImmutableList<Type>
InterfaceTypeDefinition.Builder. implementz
private 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 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 com.google.common.collect.ImmutableList<Type>
UnionTypeDefinition. memberTypes
private com.google.common.collect.ImmutableList<Type>
UnionTypeExtensionDefinition.Builder. memberTypes
Methods in graphql.language that return Type Modifier and Type Method Description Type
FieldDefinition. getType()
Type
InputValueDefinition. getType()
Type
ListType. getType()
Type
NonNullType. getType()
Type
VariableDefinition. 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.Builder
InterfaceTypeDefinition.Builder. implementz(Type implement)
InterfaceTypeExtensionDefinition.Builder
InterfaceTypeExtensionDefinition.Builder. implementz(Type implementz)
ObjectTypeDefinition.Builder
ObjectTypeDefinition.Builder. implementz(Type implement)
ObjectTypeExtensionDefinition.Builder
ObjectTypeExtensionDefinition.Builder. implementz(Type implement)
UnionTypeDefinition.Builder
UnionTypeDefinition.Builder. memberType(Type memberType)
UnionTypeExtensionDefinition.Builder
UnionTypeExtensionDefinition.Builder. memberType(Type memberType)
static ListType.Builder
ListType. newListType(Type type)
static NonNullType.Builder
NonNullType. newNonNullType(Type type)
static VariableDefinition.Builder
VariableDefinition. newVariableDefinition(java.lang.String name, Type type)
static VariableDefinition.Builder
VariableDefinition. newVariableDefinition(java.lang.String name, Type type, Value defaultValue)
private java.lang.String
AstPrinter. type(Type type)
FieldDefinition.Builder
FieldDefinition.Builder. type(Type type)
InputValueDefinition.Builder
InputValueDefinition.Builder. type(Type type)
ListType.Builder
ListType.Builder. type(Type type)
NonNullType.Builder
NonNullType.Builder. type(Type type)
private java.lang.String
PrettyAstPrinter. type(Type type)
VariableDefinition.Builder
VariableDefinition.Builder. type(Type type)
protected TraversalControl
NodeVisitorStub. visitType(Type<?> node, TraverserContext<Node> context)
Method parameters in graphql.language with type arguments of type Type Modifier and Type Method Description InterfaceTypeDefinition.Builder
InterfaceTypeDefinition.Builder. implementz(java.util.List<Type> implementz)
InterfaceTypeExtensionDefinition.Builder
InterfaceTypeExtensionDefinition.Builder. implementz(java.util.List<Type> implementz)
ObjectTypeDefinition.Builder
ObjectTypeDefinition.Builder. implementz(java.util.List<Type> implementz)
ObjectTypeExtensionDefinition.Builder
ObjectTypeExtensionDefinition.Builder. implementz(java.util.List<Type> implementz)
UnionTypeDefinition.Builder
UnionTypeDefinition.Builder. memberTypes(java.util.List<Type> memberTypes)
UnionTypeExtensionDefinition.Builder
UnionTypeExtensionDefinition.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 Type
GraphqlAntlrToLanguage. 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 void
SchemaDiff. checkType(DiffCtx ctx, Type oldType, Type newType)
(package private) DiffCategory
SchemaDiff. checkTypeWithNonNullAndListOnInputOrArg(Type oldType, Type newType)
(package private) DiffCategory
SchemaDiff. 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.String
SchemaDiff. getTypeName(Type type)
Method parameters in graphql.schema.diff with type arguments of type Type Modifier and Type Method Description private void
SchemaDiff. 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 Type
TypeInfo. rawType
Methods in graphql.schema.idl that return Type Modifier and Type Method Description Type
TypeInfo. getRawType()
static Type
TypeUtil. unwrapOne(Type type)
Unwraps one layer of the type or just returns the type again if it's not a wrapped typeType
TypeInfo. 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) 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(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)
static java.lang.String
TypeInfo. 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)
boolean
TypeDefinitionRegistry. isInterfaceOrUnion(Type type)
Returns true if the specified type exists in the registry and is an abstract (Interface or Union) typestatic boolean
TypeUtil. isList(Type type)
Returnstrue
if the provided type is a list type, otherwise returnsfalse
.static boolean
TypeUtil. isNonNull(Type type)
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
TypeUtil. isWrapped(Type type)
Returnstrue
if the given type is a non null or list type, that is a wrapped type, otherwise returnsfalse
.static java.lang.String
TypeUtil. 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 TypeInfo
TypeInfo. typeInfo(Type type)
static TypeName
TypeUtil. unwrapAll(Type type)
Unwraps all layers of the type or just returns the type again if it's not a wrapped typestatic Type
TypeUtil. 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 GraphQLArgument
SchemaGeneratorAppliedDirectiveHelper. buildDirectiveArgumentDefinitionFromAst(SchemaGeneratorHelper.BuildContext buildCtx, InputValueDefinition valueDefinition, java.util.function.Function<Type<?>,GraphQLInputType> inputTypeFactory)
(package private) static GraphQLDirective
SchemaGeneratorAppliedDirectiveHelper. 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 Type
Anonymizer. replaceTypeName(Type type, java.lang.String newName)
Methods in graphql.util with parameters of type Type Modifier and Type Method Description private static GraphQLType
Anonymizer. fromTypeToGraphQLType(Type type, GraphQLSchema schema)
private static Type
Anonymizer. 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 TypeName
ValidationUtil. getUnmodifiedType(Type<?> type)
-