class TableSlice extends Relation {

  @Override
  public int rowCount() {
    if (hasSelection()) {
      return selection.size();
    }
    return table.rowCount();
  }

  public  TableSlice(Table table, Selection rowSelection);
  public  TableSlice(Table table);

}