protected function handleStart($line)
    {
        if (preg_match('/^(INSERT INTO|UPDATE|DELETE FROM)\s+`?(.*?)`?\.`?(.*?)`?$/', $line, $part)) {
            return [
                'type' => $this->detectQueryType($part[1]),
                'table' => $part[3],
            ];
        }

        throw new \UnexpectedValueException("Expected a statement, got {$line}");
    }