| Modifier and Type | Method and Description |
|---|---|
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withTypeMappers(TypeMapper... typeMappers)
Registers custom
TypeMappers to be used for mapping Java type to GraphQL types. |
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withTypeMappersPrepended(TypeMapper... typeMappers) |
| Modifier and Type | Method and Description |
|---|---|
GraphQLSchemaGenerator |
GraphQLSchemaGenerator.withTypeMappers(ExtensionProvider<GeneratorConfiguration,TypeMapper> provider)
Registers custom
TypeMappers to be used for mapping Java type to GraphQL types. |
| Modifier and Type | Method and Description |
|---|---|
graphql.schema.GraphQLInputType |
OperationMapper.toGraphQLInputType(AnnotatedType javaType,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext)
Maps a Java type to a GraphQL input type.
|
graphql.schema.GraphQLOutputType |
OperationMapper.toGraphQLType(AnnotatedType javaType,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext)
Maps a Java type to a GraphQL output type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTypeAdapter<T,S>
Created by bojan.tomic on 9/21/16.
|
| Modifier and Type | Method and Description |
|---|---|
TypeMapper |
TypeMapperRegistry.getTypeMapper(AnnotatedType javaType,
Set<Class<? extends TypeMapper>> mappersToSkip) |
| Modifier and Type | Method and Description |
|---|---|
TypeMapper |
TypeMapperRegistry.getTypeMapper(AnnotatedType javaType,
Set<Class<? extends TypeMapper>> mappersToSkip) |
graphql.schema.GraphQLInputType |
TypeMapper.toGraphQLInputType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
TypeMapper.toGraphQLType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
| Constructor and Description |
|---|
TypeMapperRegistry(List<TypeMapper> typeMappers) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTypeSubstitutingMapper<S> |
class |
AnnotationMapper |
class |
ArrayAdapter |
class |
CachingMapper<O extends graphql.schema.GraphQLOutputType,I extends graphql.schema.GraphQLInputType> |
class |
EnumMapper |
class |
EnumMapToObjectTypeAdapter<E extends Enum<E>,V> |
class |
IdAdapter
Maps, converts and injects GraphQL IDs
|
class |
InterfaceMapper |
class |
IterableAdapter<T> |
class |
ListMapper |
class |
MapToListTypeAdapter<K,V>
As maps are dynamic structures with no equivalent in GraphQL, they require special treatment.
|
class |
NonNullMapper |
class |
ObjectScalarMapper |
class |
ObjectTypeMapper |
class |
OptionalAdapter |
class |
OptionalDoubleAdapter |
class |
OptionalIntAdapter |
class |
OptionalLongAdapter |
class |
PageMapper |
class |
ScalarMapper |
class |
StreamToCollectionTypeAdapter<T> |
class |
UnionInlineMapper |
class |
UnionMapper |
class |
UnionTypeMapper |
class |
VoidToBooleanTypeAdapter |
| Modifier and Type | Method and Description |
|---|---|
graphql.schema.GraphQLInputType |
AbstractTypeSubstitutingMapper.toGraphQLInputType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLInputType |
CachingMapper.toGraphQLInputType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLInputType |
IdAdapter.toGraphQLInputType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLInputType |
UnionMapper.toGraphQLInputType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLNonNull |
NonNullMapper.toGraphQLInputType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLInputType |
PageMapper.toGraphQLInputType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLInputType |
ListMapper.toGraphQLInputType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLInputType |
MapToListTypeAdapter.toGraphQLInputType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
AbstractTypeSubstitutingMapper.toGraphQLType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
CachingMapper.toGraphQLType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
IdAdapter.toGraphQLType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
UnionInlineMapper.toGraphQLType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
UnionTypeMapper.toGraphQLType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLNonNull |
NonNullMapper.toGraphQLType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
PageMapper.toGraphQLType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
ListMapper.toGraphQLType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
MapToListTypeAdapter.toGraphQLType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
| Modifier and Type | Class and Description |
|---|---|
class |
CompletableFutureMapper |
class |
DataFetcherResultMapper |
class |
PublisherAdapter<T> |
| Modifier and Type | Method and Description |
|---|---|
default List<TypeMapper> |
SimpleModule.getTypeMappers() |
| Modifier and Type | Class and Description |
|---|---|
class |
GsonArrayAdapter |
class |
GsonScalarTypeMapper |
| Modifier and Type | Method and Description |
|---|---|
List<TypeMapper> |
GsonModule.getTypeMappers() |
| Modifier and Type | Method and Description |
|---|---|
graphql.schema.GraphQLScalarType |
GsonScalarTypeMapper.toGraphQLInputType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLScalarType |
GsonScalarTypeMapper.toGraphQLType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
| Modifier and Type | Class and Description |
|---|---|
class |
JacksonObjectScalarMapper |
class |
JacksonScalarTypeMapper |
class |
JsonArrayAdapter |
class |
JsonNodeAdapter |
| Modifier and Type | Method and Description |
|---|---|
List<TypeMapper> |
JacksonModule.getTypeMappers() |
| Modifier and Type | Method and Description |
|---|---|
graphql.schema.GraphQLInputType |
JsonNodeAdapter.toGraphQLInputType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLScalarType |
JacksonScalarTypeMapper.toGraphQLInputType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLScalarType |
JacksonObjectScalarMapper.toGraphQLInputType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
JsonNodeAdapter.toGraphQLType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLScalarType |
JacksonScalarTypeMapper.toGraphQLType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLScalarType |
JacksonObjectScalarMapper.toGraphQLType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
Copyright © 2016–2018. All rights reserved.