Interface PagedTable<T>


public interface PagedTable<T>
A paged table that will generate a HTML table for a specified page and also the page navigation.
  • Method Details

    • dataSource

      org.apache.spark.ui.PagedDataSource<T> dataSource()
    • getParameterOtherTable

      String getParameterOtherTable(jakarta.servlet.http.HttpServletRequest request, String tableTag)
      Returns parameters of other tables in the page.
      Parameters:
      request - (undocumented)
      tableTag - (undocumented)
      Returns:
      (undocumented)
    • getTableParameters

      scala.Tuple3<String,Object,Object> getTableParameters(jakarta.servlet.http.HttpServletRequest request, String tableTag, String defaultSortColumn)
      Returns parameter of this table.
      Parameters:
      request - (undocumented)
      tableTag - (undocumented)
      defaultSortColumn - (undocumented)
      Returns:
      (undocumented)
    • goButtonFormPath

      String goButtonFormPath()
      Returns the submission path for the "go to page #" form.
      Returns:
      (undocumented)
    • headerRow

      scala.collection.immutable.Seq<scala.xml.Node> headerRow(scala.collection.immutable.Seq<scala.Tuple3<String,Object,scala.Option<String>>> headerInfo, boolean desc, int pageSize, String sortColumn, String parameterPath, String tableTag, String headerId)
    • headers

      scala.collection.immutable.Seq<scala.xml.Node> headers()
    • isSortColumnValid

      void isSortColumnValid(scala.collection.immutable.Seq<scala.Tuple3<String,Object,scala.Option<String>>> headerInfo, String sortColumn)
      Check if given sort column is valid or not. If invalid then an exception is thrown.
      Parameters:
      headerInfo - (undocumented)
      sortColumn - (undocumented)
    • pageLink

      String pageLink(int page)
      Return a link to jump to a page.
      Parameters:
      page - (undocumented)
      Returns:
      (undocumented)
    • pageNumberFormField

      String pageNumberFormField()
    • pageSizeFormField

      String pageSizeFormField()
    • row

      scala.collection.immutable.Seq<scala.xml.Node> row(T t)
    • table

      scala.collection.immutable.Seq<scala.xml.Node> table(int page)
    • tableCssClass

      String tableCssClass()
    • tableId

      String tableId()