function getTableRows(table) {
  var rowIds = env.indexStore.get(table.getRowIdIndexName()).getRange();
  return env.cache.getMany(rowIds);
}
@param {!lf.schema.Table} table
@return {!Array<!lf.Row>} The rows that exist in the given table according
    to the indexStore and the cache.