public class MapToListTypeAdapter extends AbstractTypeAdapter<Map<?,?>,List<MapToListTypeAdapter.MapEntry<?,?>>> implements DelegatingOutputConverter<Map<?,?>,List<MapToListTypeAdapter.MapEntry<?,?>>>
MapToListTypeAdapter.MapEntry).| Modifier and Type | Class and Description |
|---|---|
static class |
MapToListTypeAdapter.MapEntry<K,V> |
sourceTypesubstituteType| Constructor and Description |
|---|
MapToListTypeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Map<?,?> |
convertInput(List<MapToListTypeAdapter.MapEntry<?,?>> original,
AnnotatedType type,
GlobalEnvironment environment,
ValueMapper valueMapper) |
List<MapToListTypeAdapter.MapEntry<?,?>> |
convertOutput(Map<?,?> original,
AnnotatedType type,
ResolutionEnvironment resolutionEnvironment) |
List<AnnotatedType> |
getDerivedTypes(AnnotatedType mapType) |
AnnotatedType |
getSubstituteType(AnnotatedType original)
Returns the type to map instead of the original.
|
boolean |
supports(AnnotatedType type) |
graphql.schema.GraphQLInputType |
toGraphQLInputType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
toGraphQLType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisTransparentpublic List<MapToListTypeAdapter.MapEntry<?,?>> convertOutput(Map<?,?> original, AnnotatedType type, ResolutionEnvironment resolutionEnvironment)
convertOutput in interface OutputConverter<Map<?,?>,List<MapToListTypeAdapter.MapEntry<?,?>>>public Map<?,?> convertInput(List<MapToListTypeAdapter.MapEntry<?,?>> original, AnnotatedType type, GlobalEnvironment environment, ValueMapper valueMapper)
convertInput in interface InputConverter<Map<?,?>,List<MapToListTypeAdapter.MapEntry<?,?>>>public AnnotatedType getSubstituteType(AnnotatedType original)
AbstractTypeSubstitutingMapperS.getSubstituteType in interface InputConverter<Map<?,?>,List<MapToListTypeAdapter.MapEntry<?,?>>>getSubstituteType in interface TypeSubstitutergetSubstituteType in class AbstractTypeSubstitutingMapper<List<MapToListTypeAdapter.MapEntry<?,?>>>original - The type to be replacedpublic graphql.schema.GraphQLOutputType toGraphQLType(AnnotatedType javaType, OperationMapper operationMapper, Set<Class<? extends TypeMapper>> mappersToSkip, BuildContext buildContext)
toGraphQLType in interface TypeMappertoGraphQLType in class AbstractTypeSubstitutingMapper<List<MapToListTypeAdapter.MapEntry<?,?>>>public graphql.schema.GraphQLInputType toGraphQLInputType(AnnotatedType javaType, OperationMapper operationMapper, Set<Class<? extends TypeMapper>> mappersToSkip, BuildContext buildContext)
toGraphQLInputType in interface TypeMappertoGraphQLInputType in class AbstractTypeSubstitutingMapper<List<MapToListTypeAdapter.MapEntry<?,?>>>public List<AnnotatedType> getDerivedTypes(AnnotatedType mapType)
getDerivedTypes in interface DelegatingOutputConverter<Map<?,?>,List<MapToListTypeAdapter.MapEntry<?,?>>>public boolean supports(AnnotatedType type)
supports in interface InputConverter<Map<?,?>,List<MapToListTypeAdapter.MapEntry<?,?>>>supports in interface OutputConverter<Map<?,?>,List<MapToListTypeAdapter.MapEntry<?,?>>>supports in interface TypeMappersupports in class AbstractTypeAdapter<Map<?,?>,List<MapToListTypeAdapter.MapEntry<?,?>>>Copyright © 2016–2019. All rights reserved.