com.alibaba.otter.canal.protocol.CanalEntry.TransactionBegin Java Examples

The following examples show how to use com.alibaba.otter.canal.protocol.CanalEntry.TransactionBegin. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: LogEventConvert.java    From canal-1.1.3 with Apache License 2.0 4 votes vote down vote up
public static TransactionBegin createTransactionBegin(long threadId) {
    TransactionBegin.Builder beginBuilder = TransactionBegin.newBuilder();
    beginBuilder.setThreadId(threadId);
    return beginBuilder.build();
}
 
Example #2
Source File: LogEventConvert.java    From DBus with Apache License 2.0 4 votes vote down vote up
public static TransactionBegin createTransactionBegin(long threadId) {
    TransactionBegin.Builder beginBuilder = TransactionBegin.newBuilder();
    beginBuilder.setThreadId(threadId);
    return beginBuilder.build();
}
 
Example #3
Source File: LogEventConvert_old.java    From DBus with Apache License 2.0 4 votes vote down vote up
public static TransactionBegin createTransactionBegin(long threadId) {
    TransactionBegin.Builder beginBuilder = TransactionBegin.newBuilder();
    beginBuilder.setThreadId(threadId);
    return beginBuilder.build();
}
 
Example #4
Source File: LogEventConvert.java    From DBus with Apache License 2.0 4 votes vote down vote up
public static TransactionBegin createTransactionBegin(long threadId) {
    TransactionBegin.Builder beginBuilder = TransactionBegin.newBuilder();
    beginBuilder.setThreadId(threadId);
    return beginBuilder.build();
}
 
Example #5
Source File: LogEventConvert.java    From canal with Apache License 2.0 4 votes vote down vote up
public static TransactionBegin createTransactionBegin(long threadId) {
    TransactionBegin.Builder beginBuilder = TransactionBegin.newBuilder();
    beginBuilder.setThreadId(threadId);
    return beginBuilder.build();
}