Uses of Interface
graphql.schema.GraphqlTypeComparatorRegistry
Packages that use GraphqlTypeComparatorRegistry
-
Uses of GraphqlTypeComparatorRegistry in graphql.schema
Classes in graphql.schema that implement GraphqlTypeComparatorRegistryModifier and TypeClassDescriptionclass
Associates aComparator
with aGraphqlTypeComparatorEnvironment
to control the scope in which theComparator
can be applied.Fields in graphql.schema declared as GraphqlTypeComparatorRegistryModifier and TypeFieldDescriptionstatic final GraphqlTypeComparatorRegistry
GraphqlTypeComparatorRegistry.AS_IS_REGISTRY
A registry that leaves the elements as there currently arestatic final GraphqlTypeComparatorRegistry
GraphqlTypeComparatorRegistry.BY_NAME_REGISTRY
A registry that sorts the elements by their name ascendingprotected GraphqlTypeComparatorRegistry
GraphqlTypeBuilder.comparatorRegistry
Methods in graphql.schema that return GraphqlTypeComparatorRegistryMethods in graphql.schema with parameters of type GraphqlTypeComparatorRegistryModifier and TypeMethodDescriptionGraphqlTypeBuilder.comparatorRegistry
(GraphqlTypeComparatorRegistry comparatorRegistry) private static Comparator
<? super GraphQLSchemaElement> GraphqlTypeBuilder.getComparatorImpl
(GraphqlTypeComparatorRegistry comparatorRegistry, Class<? extends GraphQLSchemaElement> parentType, Class<? extends GraphQLSchemaElement> elementType) -
Uses of GraphqlTypeComparatorRegistry in graphql.schema.idl
Fields in graphql.schema.idl declared as GraphqlTypeComparatorRegistryModifier and TypeFieldDescriptionprivate GraphqlTypeComparatorRegistry
RuntimeWiring.Builder.comparatorRegistry
private final GraphqlTypeComparatorRegistry
RuntimeWiring.comparatorRegistry
private final GraphqlTypeComparatorRegistry
SchemaPrinter.Options.comparatorRegistry
Methods in graphql.schema.idl that return GraphqlTypeComparatorRegistryModifier and TypeMethodDescriptionRuntimeWiring.getComparatorRegistry()
(package private) GraphqlTypeComparatorRegistry
SchemaGeneratorHelper.BuildContext.getComparatorRegistry()
SchemaPrinter.Options.getComparatorRegistry()
Methods in graphql.schema.idl with parameters of type GraphqlTypeComparatorRegistryModifier and TypeMethodDescriptionprivate static Pair
<GraphQLDirective, GraphQLAppliedDirective> SchemaGeneratorAppliedDirectiveHelper.buildAppliedDirective
(SchemaGeneratorHelper.BuildContext buildCtx, Function<Type<?>, GraphQLInputType> inputTypeFactory, Directive directive, Set<GraphQLDirective> directiveDefinitions, Introspection.DirectiveLocation directiveLocation, GraphqlTypeComparatorRegistry comparatorRegistry) (package private) static Pair
<List<GraphQLDirective>, List<GraphQLAppliedDirective>> SchemaGeneratorAppliedDirectiveHelper.buildAppliedDirectives
(SchemaGeneratorHelper.BuildContext buildCtx, Function<Type<?>, GraphQLInputType> inputTypeFactory, List<Directive> directives, List<Directive> extensionDirectives, Introspection.DirectiveLocation directiveLocation, Set<GraphQLDirective> runtimeDirectives, GraphqlTypeComparatorRegistry comparatorRegistry) RuntimeWiring.Builder.comparatorRegistry
(GraphqlTypeComparatorRegistry comparatorRegistry) You can specify your own sort order of graphql types viaGraphqlTypeComparatorRegistry
which will tell you what type of objects you are to sort when it asks for a comparator.SchemaPrinter.Options.setComparators
(GraphqlTypeComparatorRegistry comparatorRegistry) The comparator registry controls the printing order for registeredGraphQLType
s.Constructors in graphql.schema.idl with parameters of type GraphqlTypeComparatorRegistryModifierConstructorDescriptionprivate
Options
(boolean includeIntrospectionTypes, boolean includeScalars, boolean includeSchemaDefinition, boolean includeDirectiveDefinitions, boolean useAstDefinitions, boolean descriptionsAsHashComments, Predicate<String> includeDirective, Predicate<GraphQLSchemaElement> includeSchemaElement, GraphqlTypeComparatorRegistry comparatorRegistry, boolean includeAstDefinitionComments)