public DeleteRowsEventInfo(TableInfo tableInfo, Long timestamp, String binlogFilename, Long binlogPosition, DeleteRowsEventData data) { super(tableInfo, DELETE_EVENT, timestamp, binlogFilename, binlogPosition, data.getIncludedColumns(), data.getRows()); } }
private void processDeleteEvent(Event event) { DeleteRowsEventData data = event.getData(); Long tableId = data.getTableId(); List<Serializable[]> list = data.getRows(); for (Serializable[] row : list) { addRow("DELETE", tableId, row); } }
RecordsForTable recordMaker = recordMakers.forTable(tableNumber, includedColumns, super::enqueueRecord); if (recordMaker != null) { List<Serializable[]> rows = deleted.getRows(); Long ts = context.getClock().currentTimeInMillis(); int count = 0;
case DELETE_ROWS: case EXT_DELETE_ROWS: for ( Serializable[] data : deleteRowsData().getRows() ) { list.add(buildRowMap("delete", position, nextPosition, data, table, deleteRowsData().getIncludedColumns(), rowQuery));
public DeleteRowsEventInfo(TableInfo tableInfo, Long timestamp, String binlogFilename, Long binlogPosition, DeleteRowsEventData data) { super(tableInfo, DELETE_EVENT, timestamp, binlogFilename, binlogPosition, data.getIncludedColumns(), data.getRows()); } }
d.getRows().forEach(row -> { if (LOGGER.isInfoEnabled()) { LOGGER.debug("Pending delete: {}", StringUtils.hex((byte[]) row[0]));
for (Serializable[] row : ((DeleteRowsEventData) eventData).getRows()) { invalidateCache((byte[]) row[0]);