Tabnine Logo
DeleteRowsEventData.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.github.shyiko.mysql.binlog.event.DeleteRowsEventData
constructor

Best Java code snippets using com.github.shyiko.mysql.binlog.event.DeleteRowsEventData.<init> (Showing top 2 results out of 315)

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: 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.eventDeleteRowsEventData<init>

Popular methods of DeleteRowsEventData

  • getRows
  • getTableId
  • getIncludedColumns
  • setIncludedColumns
  • setRows
  • setTableId

Popular in Java

  • Creating JSON documents from java classes using gson
  • onRequestPermissionsResult (Fragment)
  • setScale (BigDecimal)
  • compareTo (BigDecimal)
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Reference (javax.naming)
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top Sublime Text 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