metaTable.getTimedTableLayoutVersions(mTableURI.getTable(), Integer.MAX_VALUE);
final KijiTableLayout currentLayout = layoutMap.lastEntry().getValue();
final TableLayoutDesc update = mLayoutUpdate.apply(currentLayout);
if (!Objects.equal(currentLayout.getDesc().getLayoutId(), update.getReferenceLayout())) {
throw new InvalidLayoutException(String.format(
"Reference layout ID %s does not match current layout ID %s.",
update.getReferenceLayout(), currentLayout.getDesc().getLayoutId()));
}
final TableLayoutUpdateValidator validator = new TableLayoutUpdateValidator(mKiji);