TopRows Class
Contains methods and constructors for working with information about a row limit filter.
The following are constructors for TopRows.
-
Creates an instance of the
Reports.TopRowsclass using the specified parameters. -
Creates an instance of the
Reports.TopRowsclass. You can then set values by using the class’ssetmethods.
Creates an instance of the Reports.TopRows class using the specified parameters.
public TopRows(Integer rowLimit, Reports.ColumnSortOrder direction)
-
rowLimit:
Type: Integer
The number of rows returned in the report.
-
direction:
Type: Reports.ColumnSortOrder
The sort order of the report rows.
Creates an instance of the Reports.TopRows class. You can then set values by using the class’s set methods.
public TopRows()
The following are methods for TopRows.
-
Returns the sort order of the report rows.
-
Returns the maximum number of rows shown in the report.
-
Sets the sort order of the report’s rows.
-
Sets the sort order of the report’s rows.
-
Sets the maximum number of rows included in the report.
-
Returns a string.
Returns the sort order of the report rows.
public Reports.ColumnSortOrder getDirection()
Type: Reports.ColumnSortOrder
Returns the maximum number of rows shown in the report.
public Integer getRowLimit()
Type: Integer
Sets the sort order of the report’s rows.
public void setDirection(String value)
-
value:
Type: String
For possible values, see Reports.ColumnSortOrder.
Type: void
Sets the sort order of the report’s rows.
public void setDirection(Reports.ColumnSortOrder direction)
-
direction:
Type: Reports.ColumnSortOrder
Type: void
Sets the maximum number of rows included in the report.
public void setRowLimit(Integer rowLimit)
-
rowLimit:
Type: Integer
Type: void
Returns a string.
public String toString()
Type: String