Interface AppendableRowsAndColumns

All Superinterfaces:
RowsAndColumns
All Known Implementing Classes:
AppendableMapOfColumns, ArrayListRowsAndColumns

public interface AppendableRowsAndColumns extends RowsAndColumns
A RowsAndColumns that supports appending columns. This interface is particularly useful because even if there is some composition of code that works with RowsAndColumns, we would like to add the columns to a singular base object instead of build up a complex object graph.
  • Method Details

    • addColumn

      void addColumn(String name, Column column)
      Mutates the RowsAndColumns by appending the requested Column.
      Parameters:
      name - the name of the new column
      column - the Column object representing the new column