Interface GraphQLOperation


@Experimental public 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
  • 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.