final Set<String> schemas = new HashSet<>();
final List<Integer> tableIDs = new ArrayList<>();
final Set<TableName> sequences = new HashSet<>();
// Collect all tables in branch below this point
table.visit(new AbstractVisitor() {
@Override
public void visit(Table table) {
if(mustBeMemory && !table.hasMemoryTableFactory()) {
throw new IllegalArgumentException("Cannot un-register non-memory table");
}