Class SearchSortQuery


  • public class SearchSortQuery
    extends SearchQuery
    Domain model of the FHIR search context representing the query used to perform the search sort operation in the database. This query provides a list of ids ordered by the requested search parameters and these ids are then used in a subsequent fetch query
    • Constructor Detail

      • SearchSortQuery

        public SearchSortQuery​(String resourceType)
        Public constructor
        Parameters:
        resourceType -
    • Method Detail

      • add

        public void add​(DomainSortParameter dsp)
        Add the given sort parameter sp to the sortParameters list.
        Parameters:
        dsp -
      • visit

        public <T> T visit​(SearchQueryVisitor<T> visitor)
                    throws com.ibm.fhir.persistence.exception.FHIRPersistenceException
        Description copied from class: SearchQuery
        Get the root query and attach the parameter filters to it
        Overrides:
        visit in class SearchQuery
        Returns:
        Throws:
        com.ibm.fhir.persistence.exception.FHIRPersistenceException