@Test public void eventId() { }
public String eventId() { return new StringBuilder(COMMON_LEN) .append(binlogFileName).append(SEP) .append(tableMapPos).append(SEP) .append(dataPos - tableMapPos) .toString(); }
BinlogDataId implements DataId { public String eventId() { return new StringBuilder(COMMON_LEN) .append(binlogFileName).append(SEP) .append(tableMapPos).append(SEP) .append(dataPos - tableMapPos) .toString(); } }
BinlogDataId implements DataId { public String eventId() { return new StringBuilder(COMMON_LEN) .append(binlogFileName).append(SEP) .append(tableMapPos).append(SEP) .append(dataPos - tableMapPos) .toString(); } BinlogDataId(String binlogFileName, long tableMapPos, long dataPos); }
BinlogDataId implements DataId { public String eventId() { return new StringBuilder(COMMON_LEN) .append(binlogFileName).append(SEP) .append(tableMapPos).append(SEP) .append(dataPos - tableMapPos) .toString(); } BinlogDataId(String binlogFileName, long tableMapPos, long dataPos); BinlogDataId setOrdinal(int ordinal); BinlogDataId setOffset(Integer offset); String eventId(); String dataId(); @Override boolean equals(Object o); @Override int hashCode(); @Override SyncInitMeta getSyncInitMeta(); @Override int compareTo(DataId dataId); BinlogDataId copyAndSetOrdinal(int ordinal); BinlogDataId copyAndSetOffset(int offset); @Override String toString(); }
BinlogDataId implements DataId { public String eventId() { return new StringBuilder(COMMON_LEN) .append(binlogFileName).append(SEP) .append(tableMapPos).append(SEP) .append(dataPos - tableMapPos) .toString(); } BinlogDataId(String binlogFileName, long tableMapPos, long dataPos); BinlogDataId setOrdinal(int ordinal); BinlogDataId setOffset(Integer offset); String eventId(); String dataId(); @Override boolean equals(Object o); @Override int hashCode(); @Override SyncInitMeta getSyncInitMeta(); @Override int compareTo(DataId dataId); BinlogDataId copyAndSetOrdinal(int ordinal); BinlogDataId copyAndSetOffset(int offset); @Override String toString();  }