}
protected void attach(AkibanInformationSchema ais, TableName name, Class<? extends BasicFactoryBase> clazz) {
Table table = ais.getTable(name);
assert table != null;
final BasicFactoryBase factory;
try {
factory = clazz.getConstructor(this.getClass(), TableName.class).newInstance(this, name);
} catch(Exception e) {
throw new RuntimeException(e);
}