Class KobbySchemaQueryExtension
-
- All Implemented Interfaces:
public class KobbySchemaQueryExtensionSchema query. The part of the query that is responsible for selecting the GraphQL types in which to look for fields.
-
-
Constructor Summary
Constructors Constructor Description KobbySchemaQueryExtension()
-
Method Summary
Modifier and Type Method Description final UnitforType(String pattern, Action<KobbyTypeOperationQueryExtension> action)Apply the operation subquery to all types in the GraphQL schema that match the pattern.final UnitforQuery(Action<KobbyTypeOperationQueryExtension> action)Apply the operation subquery to a Querytype in the GraphQL schema.final UnitforMutation(Action<KobbyTypeOperationQueryExtension> action)Apply the operation subquery to a Mutationtype in the GraphQL schema.final UnitforSubscription(Action<KobbyTypeOperationQueryExtension> action)Apply the operation subquery to a Subscriptiontype in the GraphQL schema.final UnitforRoot(Action<KobbyTypeOperationQueryExtension> action)Apply the operation subquery to root types in the GraphQL schema - Query,MutationandSubscription.final UnitforAny(Action<KobbyTypeOperationQueryExtension> action)Apply the operation subquery to any type in the GraphQL schema. final UnitforAnyObject(Action<KobbyTypeOperationQueryExtension> action)Apply the operation subquery to any object in the GraphQL schema. final UnitforAnyInterface(Action<KobbyTypeOperationQueryExtension> action)Apply the operation subquery to any interface in the GraphQL schema. final UnitforAnyUnion(Action<KobbyTypeOperationQueryExtension> action)Apply the operation subquery to any union in the GraphQL schema. final UnitforAnyEnum(Action<KobbyTypeOperationQueryExtension> action)Apply the operation subquery to any enum in the GraphQL schema. final UnitforAnyInput(Action<KobbyTypeOperationQueryExtension> action)Apply the operation subquery to any input object in the GraphQL schema. -
-
Method Detail
-
forType
final Unit forType(String pattern, Action<KobbyTypeOperationQueryExtension> action)
Apply the operation subquery to all types in the GraphQL schema that match the
pattern.- Parameters:
pattern- Pattern to choose types in the schema (?- matches one character,*- matches zero or more characters,|- OR operator).action- operation subquery
-
forQuery
final Unit forQuery(Action<KobbyTypeOperationQueryExtension> action)
Apply the operation subquery to a
Querytype in the GraphQL schema.- Parameters:
action- operation subquery
-
forMutation
final Unit forMutation(Action<KobbyTypeOperationQueryExtension> action)
Apply the operation subquery to a
Mutationtype in the GraphQL schema.- Parameters:
action- operation subquery
-
forSubscription
final Unit forSubscription(Action<KobbyTypeOperationQueryExtension> action)
Apply the operation subquery to a
Subscriptiontype in the GraphQL schema.- Parameters:
action- operation subquery
-
forRoot
final Unit forRoot(Action<KobbyTypeOperationQueryExtension> action)
Apply the operation subquery to root types in the GraphQL schema -
Query,MutationandSubscription.- Parameters:
action- operation subquery
-
forAny
final Unit forAny(Action<KobbyTypeOperationQueryExtension> action)
Apply the operation subquery to any type in the GraphQL schema.
- Parameters:
action- operation subquery
-
forAnyObject
final Unit forAnyObject(Action<KobbyTypeOperationQueryExtension> action)
Apply the operation subquery to any object in the GraphQL schema.
- Parameters:
action- operation subquery
-
forAnyInterface
final Unit forAnyInterface(Action<KobbyTypeOperationQueryExtension> action)
Apply the operation subquery to any interface in the GraphQL schema.
- Parameters:
action- operation subquery
-
forAnyUnion
final Unit forAnyUnion(Action<KobbyTypeOperationQueryExtension> action)
Apply the operation subquery to any union in the GraphQL schema.
- Parameters:
action- operation subquery
-
forAnyEnum
final Unit forAnyEnum(Action<KobbyTypeOperationQueryExtension> action)
Apply the operation subquery to any enum in the GraphQL schema.
- Parameters:
action- operation subquery
-
forAnyInput
final Unit forAnyInput(Action<KobbyTypeOperationQueryExtension> action)
Apply the operation subquery to any input object in the GraphQL schema.
- Parameters:
action- operation subquery
-
-
-
-