Package | Description |
---|---|
graphql.execution | |
graphql.language | |
graphql.parser | |
graphql.schema.idl | |
graphql.schema.idl.errors | |
graphql.validation |
Modifier and Type | Method and Description |
---|---|
static GraphQLType |
TypeFromAST.getTypeFromAST(GraphQLSchema schema,
Type type) |
Modifier and Type | Interface and Description |
---|---|
interface |
Type<T extends Type> |
Modifier and Type | Class and Description |
---|---|
class |
ListType |
class |
NonNullType |
class |
TypeName |
Modifier and Type | Method and Description |
---|---|
Type |
VariableDefinition.getType() |
Type |
NonNullType.getType() |
Type |
ListType.getType() |
Type |
InputValueDefinition.getType() |
Type |
FieldDefinition.getType() |
Modifier and Type | Method and Description |
---|---|
List<Type> |
ObjectTypeDefinition.getImplements() |
List<Type> |
UnionTypeDefinition.getMemberTypes() |
Modifier and Type | Method and Description |
---|---|
ObjectTypeExtensionDefinition.Builder |
ObjectTypeExtensionDefinition.Builder.implementz(Type implementz) |
ObjectTypeDefinition.Builder |
ObjectTypeDefinition.Builder.implementz(Type implement) |
UnionTypeDefinition.Builder |
UnionTypeDefinition.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) |
VariableDefinition.Builder |
VariableDefinition.Builder.type(Type type) |
NonNullType.Builder |
NonNullType.Builder.type(Type type) |
ListType.Builder |
ListType.Builder.type(Type type) |
InputValueDefinition.Builder |
InputValueDefinition.Builder.type(Type type) |
FieldDefinition.Builder |
FieldDefinition.Builder.type(Type type) |
protected TraversalControl |
NodeVisitorStub.visitType(Type<?> node,
TraverserContext<Node> context) |
Modifier and Type | Method and Description |
---|---|
ObjectTypeExtensionDefinition.Builder |
ObjectTypeExtensionDefinition.Builder.implementz(List<Type> implementz) |
ObjectTypeDefinition.Builder |
ObjectTypeDefinition.Builder.implementz(List<Type> implementz) |
UnionTypeExtensionDefinition.Builder |
UnionTypeExtensionDefinition.Builder.memberTypes(List<Type> memberTypes) |
UnionTypeDefinition.Builder |
UnionTypeDefinition.Builder.memberTypes(List<Type> memberTypes) |
Constructor and Description |
---|
FieldDefinition(String name,
Type type) |
FieldDefinition(String name,
Type type,
List<InputValueDefinition> inputValueDefinitions,
List<Directive> directives,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
InputValueDefinition(String name,
Type type)
alternative to using a Builder for convenience
|
InputValueDefinition(String name,
Type type,
Value defaultValue)
alternative to using a Builder for convenience
|
InputValueDefinition(String name,
Type type,
Value defaultValue,
List<Directive> directives,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
ListType(Type type)
alternative to using a Builder for convenience
|
ListType(Type type,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
NonNullType(Type type)
alternative to using a Builder for convenience
|
NonNullType(Type type,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
VariableDefinition(String name,
Type type)
alternative to using a Builder for convenience
|
VariableDefinition(String name,
Type type,
Value defaultValue)
alternative to using a Builder for convenience
|
VariableDefinition(String name,
Type type,
Value defaultValue,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
Constructor and Description |
---|
ObjectTypeDefinition(String name,
List<Type> implementz,
List<Directive> directives,
List<FieldDefinition> fieldDefinitions,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
ObjectTypeExtensionDefinition(String name,
List<Type> implementz,
List<Directive> directives,
List<FieldDefinition> fieldDefinitions,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
UnionTypeDefinition(String name,
List<Directive> directives,
List<Type> memberTypes,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
UnionTypeExtensionDefinition(String name,
List<Directive> directives,
List<Type> memberTypes,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
Modifier and Type | Method and Description |
---|---|
protected Type |
GraphqlAntlrToLanguage.createType(GraphqlParser.TypeContext ctx) |
Modifier and Type | Method and Description |
---|---|
Type |
TypeInfo.getRawType() |
Type |
TypeInfo.unwrapOneType() |
Modifier and Type | Method and Description |
---|---|
static String |
TypeInfo.getAstDesc(Type type) |
Optional<TypeDefinition> |
TypeDefinitionRegistry.getType(Type type) |
<T extends TypeDefinition> |
TypeDefinitionRegistry.getType(Type type,
Class<T> ofType) |
boolean |
TypeDefinitionRegistry.isInterfaceOrUnion(Type type)
Returns true if the specified type exists in the registry and is an abstract (Interface or Union) type
|
boolean |
TypeDefinitionRegistry.isObjectType(Type type)
Returns true if the specified type exists in the registry and is an object type
|
boolean |
TypeDefinitionRegistry.isPossibleType(Type abstractType,
Type possibleObjectType)
Returns true of the abstract type is in implemented by the object type
|
boolean |
TypeDefinitionRegistry.isPossibleType(Type abstractType,
Type possibleObjectType)
Returns true of the abstract type is in implemented by the object type
|
boolean |
TypeDefinitionRegistry.isSubTypeOf(Type maybeSubType,
Type superType)
Returns true if the maybe type is either equal or a subset of the second super type (covariant).
|
boolean |
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 TypeInfo |
TypeInfo.typeInfo(Type type) |
Modifier and Type | Method and Description |
---|---|
GraphQLDirective |
SchemaGeneratorHelper.buildDirectiveFromDefinition(DirectiveDefinition directiveDefinition,
Function<Type,GraphQLInputType> inputTypeFactory) |
Constructor and Description |
---|
NotAnInputTypeError(Type rawType,
TypeDefinition typeDefinition) |
NotAnOutputTypeError(Type rawType,
TypeDefinition typeDefinition) |
Modifier and Type | Method and Description |
---|---|
TypeName |
ValidationUtil.getUnmodifiedType(Type type) |
Copyright © 2019. All rights reserved.