Interface SortStrategy

All Known Implementing Classes:
AbstractSortStrategy

public interface SortStrategy
Strategy to extract Sort details from GraphQL arguments.
Since:
1.2
Author:
Rossen Stoyanchev
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.data.domain.Sort
    Return a Sort instance by extracting the sort information from GraphQL arguments, or Sort.unsorted() otherwise.
  • Method Details

    • extract

      org.springframework.data.domain.Sort extract(DataFetchingEnvironment environment)
      Return a Sort instance by extracting the sort information from GraphQL arguments, or Sort.unsorted() otherwise.