Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data TableExcerpt Source #
An excerpt from a table within a document. The table excerpt displays up to five columns and three rows, depending on how many table cells are relevant to the query and how many columns are available in the original table. The top most relevant cell is displayed in the table excerpt, along with the next most relevant cells.
See: newTableExcerpt
smart constructor.
Instances
newTableExcerpt :: TableExcerpt Source #
Create a value of TableExcerpt
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:rows:TableExcerpt'
, tableExcerpt_rows
- A list of rows in the table excerpt.
$sel:totalNumberOfRows:TableExcerpt'
, tableExcerpt_totalNumberOfRows
- A count of the number of rows in the original table within the document.
tableExcerpt_rows :: Lens' TableExcerpt (Maybe [TableRow]) Source #
A list of rows in the table excerpt.
tableExcerpt_totalNumberOfRows :: Lens' TableExcerpt (Maybe Int) Source #
A count of the number of rows in the original table within the document.