Tabnine Logo
DeleteRowsEventData.getRows
Code IndexAdd Tabnine to your IDE (free)

How to use
getRows
method
in
com.github.shyiko.mysql.binlog.event.DeleteRowsEventData

Best Java code snippets using com.github.shyiko.mysql.binlog.event.DeleteRowsEventData.getRows (Showing top 9 results out of 315)

origin: apache/nifi

  public DeleteRowsEventInfo(TableInfo tableInfo, Long timestamp, String binlogFilename, Long binlogPosition, DeleteRowsEventData data) {
    super(tableInfo, DELETE_EVENT, timestamp, binlogFilename, binlogPosition, data.getIncludedColumns(), data.getRows());
  }
}
origin: apache/rocketmq-externals

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);
  }
}
origin: debezium/debezium

RecordsForTable recordMaker = recordMakers.forTable(tableNumber, includedColumns, super::enqueueRecord);
if (recordMaker != null) {
  List<Serializable[]> rows = deleted.getRows();
  Long ts = context.getClock().currentTimeInMillis();
  int count = 0;
origin: debezium/debezium

protected void assertRows(DeleteRowsEventData eventData, RowBuilder rows) {
  assertThat(eventData.getRows().size()).isEqualTo(rows.rows().size());
  for (Serializable[] removedRow : eventData.getRows()) {
    if (!rows.findDeletedRow(removedRow)) {
      fail("Failed to find removed row: " + eventData);
    }
  }
}
origin: zendesk/maxwell

case DELETE_ROWS:
case EXT_DELETE_ROWS:
  for ( Serializable[] data : deleteRowsData().getRows() ) {
    list.add(buildRowMap("delete", position, nextPosition, data, table, deleteRowsData().getIncludedColumns(), rowQuery));
origin: org.apache.nifi/nifi-cdc-mysql-processors

  public DeleteRowsEventInfo(TableInfo tableInfo, Long timestamp, String binlogFilename, Long binlogPosition, DeleteRowsEventData data) {
    super(tableInfo, DELETE_EVENT, timestamp, binlogFilename, binlogPosition, data.getIncludedColumns(), data.getRows());
  }
}
origin: io.debezium/debezium-connector-mysql

protected void assertRows(DeleteRowsEventData eventData, RowBuilder rows) {
  assertThat(eventData.getRows().size()).isEqualTo(rows.rows().size());
  for (Serializable[] removedRow : eventData.getRows()) {
    if (!rows.findDeletedRow(removedRow)) {
      fail("Failed to find removed row: " + eventData);
    }
  }
}
origin: perfectsense/dari

d.getRows().forEach(row -> {
  if (LOGGER.isInfoEnabled()) {
    LOGGER.debug("Pending delete: {}", StringUtils.hex((byte[]) row[0]));
origin: perfectsense/dari

for (Serializable[] row : ((DeleteRowsEventData) eventData).getRows()) {
  invalidateCache((byte[]) row[0]);
com.github.shyiko.mysql.binlog.eventDeleteRowsEventDatagetRows

Popular methods of DeleteRowsEventData

  • getTableId
  • getIncludedColumns
  • <init>
  • setIncludedColumns
  • setRows
  • setTableId

Popular in Java

  • Making http requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • requestLocationUpdates (LocationManager)
  • onCreateOptionsMenu (Activity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now