Class TableBuilder

java.lang.Object
io.deephaven.engine.table.impl.util.TableBuilder

@Deprecated public class TableBuilder extends Object
Deprecated.
Class to aid in building Tables from a TableDefinition.
  • Constructor Details

    • TableBuilder

      public TableBuilder(TableDefinition def)
      Deprecated.
      Creates a TableBuilder object based on a table Definition.
      Parameters:
      def - the definition of the table that you want to build
    • TableBuilder

      public TableBuilder(TableDefinition def, int initialSize)
      Deprecated.
  • Method Details

    • rowCount

      public int rowCount()
      Deprecated.
      returns the number of rows the table has
      Returns:
      the size of the row List
    • addRow

      public void addRow(Object... items)
      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

      public Table 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.