| Package | Description |
|---|---|
| io.leangen.graphql.generator | |
| io.leangen.graphql.generator.mapping | |
| io.leangen.graphql.generator.mapping.common |
| Modifier and Type | Method and Description |
|---|---|
graphql.schema.GraphQLInputObjectField |
OperationMapper.toGraphQLInputField(InputField inputField,
Set<Type> abstractTypes,
BuildContext buildContext)
Maps a single field/property to a GraphQL input field.
|
graphql.schema.GraphQLInputType |
OperationMapper.toGraphQLInputType(AnnotatedType javaType,
Set<Type> abstractTypes,
BuildContext buildContext)
Maps a Java type to a GraphQL input type.
|
graphql.schema.GraphQLFieldDefinition |
OperationMapper.toGraphQLOperation(Operation operation,
BuildContext buildContext)
Maps a single operation to a GraphQL output field (as queries in GraphQL are nothing but fields of the root operation type).
|
graphql.schema.GraphQLOutputType |
OperationMapper.toGraphQLType(AnnotatedType javaType,
Set<Type> abstractTypes,
BuildContext buildContext)
Maps a Java type to a GraphQL output type.
|
| Constructor and Description |
|---|
OperationMapper(BuildContext buildContext) |
| Modifier and Type | Method and Description |
|---|---|
graphql.schema.GraphQLInputType |
TypeMapper.toGraphQLInputType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
TypeMapper.toGraphQLType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
| Modifier and Type | Method and Description |
|---|---|
protected Set<Type> |
AbstractionCollectingMapper.collectAbstract(AnnotatedType javaType,
Set<Type> seen,
BuildContext buildContext) |
protected List<graphql.schema.GraphQLFieldDefinition> |
ObjectTypeMapper.getFields(AnnotatedType javaType,
BuildContext buildContext,
OperationMapper operationMapper) |
protected String |
ScalarMapper.getInputTypeName(AnnotatedType type,
BuildContext buildContext) |
protected String |
EnumMapper.getInputTypeName(AnnotatedType type,
BuildContext buildContext) |
protected String |
CachingMapper.getInputTypeName(AnnotatedType type,
BuildContext buildContext) |
protected List<graphql.schema.GraphQLOutputType> |
ObjectTypeMapper.getInterfaces(AnnotatedType javaType,
Set<Type> abstractTypes,
List<graphql.schema.GraphQLFieldDefinition> fields,
BuildContext buildContext,
OperationMapper operationMapper) |
protected String |
ScalarMapper.getTypeName(AnnotatedType type,
BuildContext buildContext) |
protected String |
EnumMapper.getTypeName(AnnotatedType type,
BuildContext buildContext) |
protected String |
CachingMapper.getTypeName(AnnotatedType type,
BuildContext buildContext) |
graphql.schema.GraphQLInputType |
IdAdapter.graphQLInputType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLInputType |
CachingMapper.graphQLInputType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
protected abstract graphql.schema.GraphQLInputType |
AbstractionCollectingMapper.graphQLInputType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
IdAdapter.graphQLType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
CachingMapper.graphQLType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
protected abstract graphql.schema.GraphQLOutputType |
AbstractionCollectingMapper.graphQLType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
protected void |
ObjectScalarAdapter.registerAbstract(AnnotatedType type,
Set<Type> abstractTypes,
BuildContext buildContext) |
protected void |
IdAdapter.registerAbstract(AnnotatedType type,
Set<Type> abstractTypes,
BuildContext buildContext) |
protected void |
AbstractionCollectingMapper.registerAbstract(AnnotatedType type,
Set<Type> abstractTypes,
BuildContext buildContext) |
graphql.schema.GraphQLInputType |
UnionMapper.toGraphQLInputType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLInputType |
PageMapper.toGraphQLInputType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLInputType |
NonNullMapper.toGraphQLInputType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper OperationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLInputType |
MapToListTypeAdapter.toGraphQLInputType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLInputType |
ListMapper.toGraphQLInputType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLInputType |
AbstractTypeSubstitutingMapper.toGraphQLInputType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLInputType |
AbstractionCollectingMapper.toGraphQLInputType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLScalarType |
ScalarMapper.toGraphQLInputType(String typeName,
AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLInputObjectType |
ObjectTypeMapper.toGraphQLInputType(String typeName,
AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLScalarType |
ObjectScalarAdapter.toGraphQLInputType(String typeName,
AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLInputObjectType |
InterfaceMapper.toGraphQLInputType(String typeName,
AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLEnumType |
EnumMapper.toGraphQLInputType(String typeName,
AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
protected abstract I |
CachingMapper.toGraphQLInputType(String typeName,
AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
UnionTypeMapper.toGraphQLType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
UnionInlineMapper.toGraphQLType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
PageMapper.toGraphQLType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
NonNullMapper.toGraphQLType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper OperationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
MapToListTypeAdapter.toGraphQLType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
ListMapper.toGraphQLType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
AbstractTypeSubstitutingMapper.toGraphQLType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
AbstractionCollectingMapper.toGraphQLType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLScalarType |
ScalarMapper.toGraphQLType(String typeName,
AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLObjectType |
ObjectTypeMapper.toGraphQLType(String typeName,
AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLScalarType |
ObjectScalarAdapter.toGraphQLType(String typeName,
AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLInterfaceType |
InterfaceMapper.toGraphQLType(String typeName,
AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLEnumType |
EnumMapper.toGraphQLType(String typeName,
AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
protected abstract O |
CachingMapper.toGraphQLType(String typeName,
AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
protected graphql.schema.GraphQLOutputType |
UnionMapper.toGraphQLUnion(String name,
String description,
AnnotatedType javaType,
List<AnnotatedType> possibleJavaTypes,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
Copyright © 2016–2017. All rights reserved.