/** * GTIDLogEventDTO constructor. * @param EventInfo $eventInfo * @param TableMap $tableMap * @param int $changedRows * @param array $values */ public function __construct(EventInfo $eventInfo, TableMap $tableMap, $changedRows, array $values) { parent::__construct($eventInfo); $this->changedRows = $changedRows; $this->values = $values; $this->tableMap = $tableMap; }
/** * QueryEventDTO constructor. * @param EventInfo $eventInfo * @param string $database * @param int $executionTime * @param string $query */ public function __construct(EventInfo $eventInfo, $database, $executionTime, $query) { parent::__construct($eventInfo); $this->executionTime = $executionTime; $this->query = $query; $this->database = $database; }
public function __construct(EventInfo $eventInfo, $flag, $domainId, $sequenceNumber) { parent::__construct($eventInfo); $this->flag = $flag; $this->domainId = $domainId; $this->sequenceNumber = $sequenceNumber; }
/** * GTIDLogEventDTO constructor. * @param EventInfo $eventInfo * @param bool $commit * @param string $gtid */ public function __construct(EventInfo $eventInfo, $commit, $gtid) { parent::__construct($eventInfo); $this->commit = $commit; $this->gtid = $gtid; }
/** * RotateDTO constructor. * @param EventInfo $eventInfo * @param $position * @param $next_binlog */ public function __construct(EventInfo $eventInfo, $position, $next_binlog) { parent::__construct($eventInfo); $this->position = $position; $this->next_binlog = $next_binlog; }
/** * TableMapDTO constructor. * @param EventInfo $eventInfo * @param TableMap $tableMap */ public function __construct(EventInfo $eventInfo, TableMap $tableMap) { parent::__construct($eventInfo); $this->tableMap = $tableMap; }
/** * GTIDLogEventDTO constructor. * @param EventInfo $eventInfo * @param string $xid */ public function __construct(EventInfo $eventInfo, $xid) { parent::__construct($eventInfo); $this->xid = $xid; }