Interface Sort.Builder

    • Method Detail

      • sortBy

        Sort.Builder sortBy​(String sortBy)

        The attribute on which the data is grouped, which can be by StartTime and EndTime. The default value is EndTime.

        Parameters:
        sortBy - The attribute on which the data is grouped, which can be by StartTime and EndTime. The default value is EndTime.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sortOrder

        Sort.Builder sortOrder​(String sortOrder)

        The sorting order, which can be ASCENDING or DESCENDING. The default value is DESCENDING.

        Parameters:
        sortOrder - The sorting order, which can be ASCENDING or DESCENDING. The default value is DESCENDING.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortOrder, SortOrder
      • sortOrder

        Sort.Builder sortOrder​(SortOrder sortOrder)

        The sorting order, which can be ASCENDING or DESCENDING. The default value is DESCENDING.

        Parameters:
        sortOrder - The sorting order, which can be ASCENDING or DESCENDING. The default value is DESCENDING.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortOrder, SortOrder