Interface GraphQLOperation
Defines a GraphQL operation, namely the type (e.g. query or mutation) and the selection set,
i.e., the set of top-level fields present in the operation.
- Since:
- 7.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe operation type (query, mutation, or subscription). -
Method Summary
Modifier and TypeMethodDescriptionReturns the operation type.Returns the operation selection set.
-
Method Details
-
getOperationType
GraphQLOperation.OperationType getOperationType()Returns the operation type.- Returns:
- the operation type
-
getSelectionSet
GraphQLSelectionSet getSelectionSet()Returns the operation selection set.- Returns:
- the operation selection set.
-