Interface IHSearchSortHelper

All Known Implementing Classes:
HSearchSortHelperImpl

public interface IHSearchSortHelper
Helper for building freetext sort clauses
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hibernate.search.engine.search.sort.dsl.SortFinalStep
    getSortClauses(org.hibernate.search.engine.search.sort.dsl.SearchSortFactory theSortFactory, ca.uhn.fhir.rest.api.SortSpec theSort, String theResourceType)
     
    boolean
    supportsAllSortTerms(String theResourceType, SearchParameterMap theParams)
    Given a resource type and a SearchParameterMap, return true only if all sort terms are supported.
  • Method Details

    • getSortClauses

      org.hibernate.search.engine.search.sort.dsl.SortFinalStep getSortClauses(org.hibernate.search.engine.search.sort.dsl.SearchSortFactory theSortFactory, ca.uhn.fhir.rest.api.SortSpec theSort, String theResourceType)
    • supportsAllSortTerms

      boolean supportsAllSortTerms(String theResourceType, SearchParameterMap theParams)
      Given a resource type and a SearchParameterMap, return true only if all sort terms are supported.
      Parameters:
      theResourceType - The resource type for the query.
      theParams - The SearchParameterMap being searched with.
      Returns:
      true if all sort terms are supported, false otherwise.