Package org.apache.spark.ui
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 Summary
Modifier and TypeMethodDescriptionorg.apache.spark.ui.PagedDataSource<T>getParameterOtherTable(jakarta.servlet.http.HttpServletRequest request, String tableTag) Returns parameters of other tables in the page.getTableParameters(jakarta.servlet.http.HttpServletRequest request, String tableTag, String defaultSortColumn) Returns parameter of this table.Returns the submission path for the "go to page #" form.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) scala.collection.immutable.Seq<scala.xml.Node>headers()voidisSortColumnValid(scala.collection.immutable.Seq<scala.Tuple3<String, Object, scala.Option<String>>> headerInfo, String sortColumn) Check if given sort column is valid or not.pageLink(int page) Return a link to jump to a page.scala.collection.immutable.Seq<scala.xml.Node>pageNavigation(int page, int pageSize, int totalPages, String navigationId) Return a page navigation.scala.collection.immutable.Seq<scala.xml.Node>scala.collection.immutable.Seq<scala.xml.Node>table(int page) tableId()
-
Method Details
-
dataSource
org.apache.spark.ui.PagedDataSource<T> dataSource() -
getParameterOtherTable
Returns parameters of other tables in the page.- Parameters:
request- (undocumented)tableTag- (undocumented)- Returns:
- (undocumented)
-
getTableParameters
scala.Tuple3<String,Object, getTableParametersObject> (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
-
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
Return a link to jump to a page.- Parameters:
page- (undocumented)- Returns:
- (undocumented)
-
pageNumberFormField
String pageNumberFormField() -
pageSizeFormField
String pageSizeFormField() -
row
-
table
scala.collection.immutable.Seq<scala.xml.Node> table(int page) -
tableCssClass
String tableCssClass() -
tableId
String tableId()
-