Column name to data index map. c.f. Row.getValue()
Number of all rows in this table (including children of rows)
A list of all column names in this table
Returns all the top-level rows as an array of objects, keyed on columns. Eg, [{col1: "val1", col2: "val2"}, {col1:"val3", col2: "val4"}, ...]
A list of the column names of this table
The per-column type annotations for this table
The number of all the rows in this table, including child rows
All top-level rows of this table Note that this does NOT include child rows!
Copies the table
Non-destructively appends a new column to the Table
The name of the new column
The index of the new column, as reflected in Table#columnNames
Append a new row to the table, as a root-level row. Note that a Row can only be owned by a single Table
The row to append
Copies the table and all child rows deeply, returning an entirely new instance This is useful to break object references where required, so that multiple functions in the same context can edit the same source table without stomping on each other's changes
A completely new instance of a Table
Creates a new Row, with the given name, and the owner set to the current table. This does NOT add it to the Table!
Iterate through the table, removing any cells with invalid types.
Inserts a root row at the given index
Replace the columns of this table, and pad/truncate the rows as appropriate The row data are only cleared if truncated. Otherwise, they retain their old value at that index.
The new columnNames to use
Returns a single-row, single-column 'empty' table.
This is what the query SELECT null FROM dual
would return, and is
useful for parts that want a 'default' table since it allows them to
display a column and row (and thus surface to the user what they look
like, and how to interact with them).
Generated using TypeDoc
Maven Table class Table supports grouping by rows, and column type annotations.