com.taobao.metamorphosis.server.transaction.store
接口 TransactionCommands.TransactionOperationOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
TransactionCommands.TransactionOperation, TransactionCommands.TransactionOperation.Builder
包容类:
TransactionCommands

public static interface TransactionCommands.TransactionOperationOrBuilder
extends com.google.protobuf.MessageOrBuilder


方法摘要
 int getDataLength()
          optional int32 data_length = 4; 额外数据的长度
 String getTransactionId()
          required string transaction_id = 3;
 com.google.protobuf.ByteString getTransactionIdBytes()
          required string transaction_id = 3;
 TransactionCommands.TransactionType getType()
          required .com.taobao.tddl.dbproxy.protocol.TransactionType type = 1;
 boolean getWasPrepared()
          required bool was_prepared = 2;
 boolean hasDataLength()
          optional int32 data_length = 4; 额外数据的长度
 boolean hasTransactionId()
          required string transaction_id = 3;
 boolean hasType()
          required .com.taobao.tddl.dbproxy.protocol.TransactionType type = 1;
 boolean hasWasPrepared()
          required bool was_prepared = 2;
 
从接口 com.google.protobuf.MessageOrBuilder 继承的方法
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 
从接口 com.google.protobuf.MessageLiteOrBuilder 继承的方法
isInitialized
 

方法详细信息

hasType

boolean hasType()
required .com.taobao.tddl.dbproxy.protocol.TransactionType type = 1;


getType

TransactionCommands.TransactionType getType()
required .com.taobao.tddl.dbproxy.protocol.TransactionType type = 1;


hasWasPrepared

boolean hasWasPrepared()
required bool was_prepared = 2;


getWasPrepared

boolean getWasPrepared()
required bool was_prepared = 2;


hasTransactionId

boolean hasTransactionId()
required string transaction_id = 3;


getTransactionId

String getTransactionId()
required string transaction_id = 3;


getTransactionIdBytes

com.google.protobuf.ByteString getTransactionIdBytes()
required string transaction_id = 3;


hasDataLength

boolean hasDataLength()
optional int32 data_length = 4;
额外数据的长度
 


getDataLength

int getDataLength()
optional int32 data_length = 4;
额外数据的长度
 



Copyright © 2010–2013. All rights reserved.