protected function createNewTableInfo($table)
{
list($schemaName, $tableName) = $this->getSchemaTableName($table);
$info['SchemaName'] = $schemaName;
$info['TableName'] = $tableName;
if ($this->getIsView($schemaName, $tableName)) {
$info['IsView'] = true;
}
list($primary, $foreign) = $this->getConstraintKeys($schemaName, $tableName);
$class = $this->getTableInfoClass();
return new $class($info, $primary, $foreign);
}