Class KobbyTypeQueryExtension
-
- All Implemented Interfaces:
public class KobbyTypeQueryExtensionType query. The part of the query that is responsible for selecting fields in the target GraphQL type.
-
-
Constructor Summary
Constructors Constructor Description KobbyTypeQueryExtension()
-
Method Summary
Modifier and Type Method Description final UnitenumValue(String pattern)Select enum values whose name matches the pattern.final Unitfield(String pattern)Select fields whose name matches the pattern.final UnitanyOverriddenField()Select fields that override any fields from the supertype. final Unitdependency(String pattern)Select fields whose type matches the pattern.final UnitanyScalarDependency()Select fields whose type is scalar. final UnitanyObjectDependency()Select fields whose type is object. final UnitanyInterfaceDependency()Select fields whose type is interface. final UnitanyUnionDependency()Select fields whose type is union. final UnitanyEnumDependency()Select fields whose type is enum. final UnitsubTypeDependency(String pattern)Select fields where one of the subtypes matches the pattern.final UnitsuperTypeDependency(String pattern)Select fields where one of the supertypes matches the pattern.final UnitargumentDependency(String pattern)Select fields where one of the argument types matches the pattern.final UnitanyScalarArgumentDependency()Select fields where one of the arguments is of type scalar. final UnitanyEnumArgumentDependency()Select fields where one of the arguments is of type enum. final UnitanyInputArgumentDependency()Select fields where one of the arguments is of type input object. final UnittransitiveDependency(String pattern)Select fields where one of the transitive dependencies matches the pattern.final UnitminWeight(Integer minWeight)Select fields whose weight is greater than or equal to the minWeight.final UnitmaxWeight(Integer maxWeight)Select fields whose weight is less than or equal to the maxWeight.-
-
Method Detail
-
enumValue
final Unit enumValue(String pattern)
Select enum values whose name matches the
pattern.- Parameters:
pattern-?matches one character,*matches zero or more characters,|OR operator.
-
field
final Unit field(String pattern)
Select fields whose name matches the
pattern.- Parameters:
pattern-?matches one character,*matches zero or more characters,|OR operator.
-
anyOverriddenField
final Unit anyOverriddenField()
Select fields that override any fields from the supertype.
-
dependency
final Unit dependency(String pattern)
Select fields whose type matches the
pattern.- Parameters:
pattern-?matches one character,*matches zero or more characters,|OR operator.
-
anyScalarDependency
final Unit anyScalarDependency()
Select fields whose type is scalar.
-
anyObjectDependency
final Unit anyObjectDependency()
Select fields whose type is object.
-
anyInterfaceDependency
final Unit anyInterfaceDependency()
Select fields whose type is interface.
-
anyUnionDependency
final Unit anyUnionDependency()
Select fields whose type is union.
-
anyEnumDependency
final Unit anyEnumDependency()
Select fields whose type is enum.
-
subTypeDependency
final Unit subTypeDependency(String pattern)
Select fields where one of the subtypes matches the
pattern.- Parameters:
pattern-?matches one character,*matches zero or more characters,|OR operator.
-
superTypeDependency
final Unit superTypeDependency(String pattern)
Select fields where one of the supertypes matches the
pattern.- Parameters:
pattern-?matches one character,*matches zero or more characters,|OR operator.
-
argumentDependency
final Unit argumentDependency(String pattern)
Select fields where one of the argument types matches the
pattern.- Parameters:
pattern-?matches one character,*matches zero or more characters,|OR operator.
-
anyScalarArgumentDependency
final Unit anyScalarArgumentDependency()
Select fields where one of the arguments is of type scalar.
-
anyEnumArgumentDependency
final Unit anyEnumArgumentDependency()
Select fields where one of the arguments is of type enum.
-
anyInputArgumentDependency
final Unit anyInputArgumentDependency()
Select fields where one of the arguments is of type input object.
-
transitiveDependency
final Unit transitiveDependency(String pattern)
Select fields where one of the transitive dependencies matches the
pattern.The transitive dependencies of a GraphQL field are all types (except scalars) returned by a query on that field, as well as the types of the field's arguments.
- Parameters:
pattern-?matches one character,*matches zero or more characters,|OR operator.
-
minWeight
final Unit minWeight(Integer minWeight)
Select fields whose weight is greater than or equal to the
minWeight.The weight of a GraphQL type is the number of types (excluding scalars) that are available for querying on a field that returns the given type.
The weight of a GraphQL field is the weight of its type plus the weights of the types of its arguments.
- Parameters:
minWeight- Minimum weight of the target field.
-
maxWeight
final Unit maxWeight(Integer maxWeight)
Select fields whose weight is less than or equal to the
maxWeight.The weight of a GraphQL type is the number of types (excluding scalars) that are available for querying on a field that returns the given type.
The weight of a GraphQL field is the weight of its type plus the weights of the types of its arguments.
- Parameters:
maxWeight- Maximum weight of the target field.
-
-
-
-