Class TableBuilder
java.lang.Object
io.deephaven.engine.table.impl.util.TableBuilder
Deprecated.
Class to aid in building Tables from a TableDefinition.
-
Constructor Summary
ConstructorDescriptionDeprecated.Creates a TableBuilder object based on a table Definition.TableBuilder
(TableDefinition def, int initialSize) Deprecated. -
Method Summary
-
Constructor Details
-
TableBuilder
Deprecated.Creates a TableBuilder object based on a table Definition.- Parameters:
def
- the definition of the table that you want to build
-
TableBuilder
Deprecated.
-
-
Method Details
-
rowCount
public int rowCount()Deprecated.returns the number of rows the table has- Returns:
- the size of the row List
-
addRow
Deprecated.Adds a row to the table. Items will be inserted into the row the order they are put into this method- Parameters:
items
- The items that will appear in the row. Must be the same amount of items as columns
-
build
Deprecated.Builds the table from the TableDefinition and the rows added- Returns:
- the table
-
clear
public void clear()Deprecated.Deletes all rows from the TableBuilder.
-