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

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

Best Java code snippets using com.github.shyiko.mysql.binlog.event.DeleteRowsEventData.getIncludedColumns (Showing top 6 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: debezium/debezium

BitSet includedColumns = deleted.getIncludedColumns();
RecordsForTable recordMaker = recordMakers.forTable(tableNumber, includedColumns, super::enqueueRecord);
if (recordMaker != null) {
origin: zendesk/maxwell

case EXT_DELETE_ROWS:
  for ( Serializable[] data : deleteRowsData().getRows() ) {
    list.add(buildRowMap("delete", position, nextPosition, data, table, deleteRowsData().getIncludedColumns(), rowQuery));
origin: shyiko/mysql-binlog-connector-java

@Override
public DeleteRowsEventData deserialize(ByteArrayInputStream inputStream) throws IOException {
  DeleteRowsEventData eventData = new DeleteRowsEventData();
  eventData.setTableId(inputStream.readLong(6));
  inputStream.readInteger(2); // reserved
  if (mayContainExtraInformation) {
    int extraInfoLength = inputStream.readInteger(2);
    inputStream.skip(extraInfoLength - 2);
  }
  int numberOfColumns = inputStream.readPackedInteger();
  eventData.setIncludedColumns(inputStream.readBitSet(numberOfColumns, true));
  eventData.setRows(deserializeRows(eventData.getTableId(), eventData.getIncludedColumns(), inputStream));
  return eventData;
}
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: perfectsense/dari

@Override
public DeleteRowsEventData deserialize(ByteArrayInputStream inputStream) throws IOException {
  DeleteRowsEventData eventData = new DeleteRowsEventData();
  eventData.setTableId(inputStream.readLong(6));
  inputStream.readInteger(2); // reserved
  if (mayContainExtraInformation) {
    int extraInfoLength = inputStream.readInteger(2);
    inputStream.skip(extraInfoLength - 2);
  }
  int numberOfColumns = inputStream.readPackedInteger();
  eventData.setIncludedColumns(inputStream.readBitSet(numberOfColumns, true));
  eventData.setRows(deserializeRows(eventData.getTableId(), eventData.getIncludedColumns(), inputStream));
  return eventData;
}
com.github.shyiko.mysql.binlog.eventDeleteRowsEventDatagetIncludedColumns

Popular methods of DeleteRowsEventData

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

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • getApplicationContext (Context)
  • putExtra (Intent)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Reference (javax.naming)
  • Top Vim plugins
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