protected function setTableMetadata($name, $type, $data)
    {
        $rawName = $this->getRawTableName($name);
        $this->_tableMetadata[$rawName] = isset($this->_tableMetadata[$rawName]) ? $this->_tableMetadata[$rawName] : [];
        $this->_tableMetadata[$rawName][$type] = $data;
    }