class org.apache.hadoop.hive.metastore.api.CommitTxnRequest$CommitTxnRequestStandardScheme extends org.apache.thrift.scheme.StandardScheme
{
private void <init>()
{
org.apache.hadoop.hive.metastore.api.CommitTxnRequest$CommitTxnRequestStandardScheme v;
v := @this: org.apache.hadoop.hive.metastore.api.CommitTxnRequest$CommitTxnRequestStandardScheme;
specialinvoke v.<org.apache.thrift.scheme.StandardScheme: void <init>()>();
return;
}
public void read(org.apache.thrift.protocol.TProtocol, org.apache.hadoop.hive.metastore.api.CommitTxnRequest) throws org.apache.thrift.TException
{
org.apache.hadoop.hive.metastore.api.CommitTxnRequest v;
org.apache.thrift.protocol.TList v;
byte v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
org.apache.hadoop.hive.metastore.api.ReplLastIdInfo v, v;
org.apache.thrift.protocol.TField v;
boolean v;
java.util.List v;
long v;
org.apache.hadoop.hive.metastore.api.CommitTxnKeyValue v, v;
java.util.ArrayList v;
org.apache.hadoop.hive.metastore.api.WriteEventInfo v;
short v;
int v, v, v, v;
java.lang.String v;
org.apache.hadoop.hive.metastore.api.CommitTxnRequest$CommitTxnRequestStandardScheme v;
org.apache.thrift.protocol.TProtocol v;
org.apache.hadoop.hive.metastore.api.TxnType v;
v := @this: org.apache.hadoop.hive.metastore.api.CommitTxnRequest$CommitTxnRequestStandardScheme;
v := @parameter: org.apache.thrift.protocol.TProtocol;
v := @parameter: org.apache.hadoop.hive.metastore.api.CommitTxnRequest;
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: org.apache.thrift.protocol.TStruct readStructBegin()>();
label:
v = virtualinvoke v.<org.apache.thrift.protocol.TProtocol: org.apache.thrift.protocol.TField readFieldBegin()>();
v = v.<org.apache.thrift.protocol.TField: byte type>;
if v == 0 goto label;
v = v.<org.apache.thrift.protocol.TField: short id>;
tableswitch(v)
{
case 1: goto label;
case 2: goto label;
case 3: goto label;
case 4: goto label;
case 5: goto label;
case 6: goto label;
case 7: goto label;
default: goto label;
};
label:
v = v.<org.apache.thrift.protocol.TField: byte type>;
if v != 10 goto label;
v = virtualinvoke v.<org.apache.thrift.protocol.TProtocol: long readI64()>();
v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: long txnid> = v;
virtualinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: void setTxnidIsSet(boolean)>(1);
goto label;
label:
v = v.<org.apache.thrift.protocol.TField: byte type>;
staticinvoke <org.apache.thrift.protocol.TProtocolUtil: void skip(org.apache.thrift.protocol.TProtocol,byte)>(v, v);
goto label;
label:
v = v.<org.apache.thrift.protocol.TField: byte type>;
if v != 11 goto label;
v = virtualinvoke v.<org.apache.thrift.protocol.TProtocol: java.lang.String readString()>();
v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: java.lang.String replPolicy> = v;
virtualinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: void setReplPolicyIsSet(boolean)>(1);
goto label;
label:
v = v.<org.apache.thrift.protocol.TField: byte type>;
staticinvoke <org.apache.thrift.protocol.TProtocolUtil: void skip(org.apache.thrift.protocol.TProtocol,byte)>(v, v);
goto label;
label:
v = v.<org.apache.thrift.protocol.TField: byte type>;
if v != 15 goto label;
v = virtualinvoke v.<org.apache.thrift.protocol.TProtocol: org.apache.thrift.protocol.TList readListBegin()>();
v = new java.util.ArrayList;
v = v.<org.apache.thrift.protocol.TList: int size>;
specialinvoke v.<java.util.ArrayList: void <init>(int)>(v);
v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: java.util.List writeEventInfos> = v;
v = 0;
label:
v = v.<org.apache.thrift.protocol.TList: int size>;
if v >= v goto label;
v = new org.apache.hadoop.hive.metastore.api.WriteEventInfo;
specialinvoke v.<org.apache.hadoop.hive.metastore.api.WriteEventInfo: void <init>()>();
virtualinvoke v.<org.apache.hadoop.hive.metastore.api.WriteEventInfo: void read(org.apache.thrift.protocol.TProtocol)>(v);
v = v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: java.util.List writeEventInfos>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
v = v + 1;
goto label;
label:
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void readListEnd()>();
virtualinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: void setWriteEventInfosIsSet(boolean)>(1);
goto label;
label:
v = v.<org.apache.thrift.protocol.TField: byte type>;
staticinvoke <org.apache.thrift.protocol.TProtocolUtil: void skip(org.apache.thrift.protocol.TProtocol,byte)>(v, v);
goto label;
label:
v = v.<org.apache.thrift.protocol.TField: byte type>;
if v != 12 goto label;
v = new org.apache.hadoop.hive.metastore.api.ReplLastIdInfo;
specialinvoke v.<org.apache.hadoop.hive.metastore.api.ReplLastIdInfo: void <init>()>();
v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.hadoop.hive.metastore.api.ReplLastIdInfo replLastIdInfo> = v;
v = v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.hadoop.hive.metastore.api.ReplLastIdInfo replLastIdInfo>;
virtualinvoke v.<org.apache.hadoop.hive.metastore.api.ReplLastIdInfo: void read(org.apache.thrift.protocol.TProtocol)>(v);
virtualinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: void setReplLastIdInfoIsSet(boolean)>(1);
goto label;
label:
v = v.<org.apache.thrift.protocol.TField: byte type>;
staticinvoke <org.apache.thrift.protocol.TProtocolUtil: void skip(org.apache.thrift.protocol.TProtocol,byte)>(v, v);
goto label;
label:
v = v.<org.apache.thrift.protocol.TField: byte type>;
if v != 12 goto label;
v = new org.apache.hadoop.hive.metastore.api.CommitTxnKeyValue;
specialinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnKeyValue: void <init>()>();
v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.hadoop.hive.metastore.api.CommitTxnKeyValue keyValue> = v;
v = v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.hadoop.hive.metastore.api.CommitTxnKeyValue keyValue>;
virtualinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnKeyValue: void read(org.apache.thrift.protocol.TProtocol)>(v);
virtualinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: void setKeyValueIsSet(boolean)>(1);
goto label;
label:
v = v.<org.apache.thrift.protocol.TField: byte type>;
staticinvoke <org.apache.thrift.protocol.TProtocolUtil: void skip(org.apache.thrift.protocol.TProtocol,byte)>(v, v);
goto label;
label:
v = v.<org.apache.thrift.protocol.TField: byte type>;
if v != 2 goto label;
v = virtualinvoke v.<org.apache.thrift.protocol.TProtocol: boolean readBool()>();
v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: boolean exclWriteEnabled> = v;
virtualinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: void setExclWriteEnabledIsSet(boolean)>(1);
goto label;
label:
v = v.<org.apache.thrift.protocol.TField: byte type>;
staticinvoke <org.apache.thrift.protocol.TProtocolUtil: void skip(org.apache.thrift.protocol.TProtocol,byte)>(v, v);
goto label;
label:
v = v.<org.apache.thrift.protocol.TField: byte type>;
if v != 8 goto label;
v = virtualinvoke v.<org.apache.thrift.protocol.TProtocol: int readI32()>();
v = staticinvoke <org.apache.hadoop.hive.metastore.api.TxnType: org.apache.hadoop.hive.metastore.api.TxnType findByValue(int)>(v);
v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.hadoop.hive.metastore.api.TxnType txn_type> = v;
virtualinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: void setTxn_typeIsSet(boolean)>(1);
goto label;
label:
v = v.<org.apache.thrift.protocol.TField: byte type>;
staticinvoke <org.apache.thrift.protocol.TProtocolUtil: void skip(org.apache.thrift.protocol.TProtocol,byte)>(v, v);
goto label;
label:
v = v.<org.apache.thrift.protocol.TField: byte type>;
staticinvoke <org.apache.thrift.protocol.TProtocolUtil: void skip(org.apache.thrift.protocol.TProtocol,byte)>(v, v);
label:
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void readFieldEnd()>();
goto label;
label:
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void readStructEnd()>();
virtualinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: void validate()>();
return;
}
public void write(org.apache.thrift.protocol.TProtocol, org.apache.hadoop.hive.metastore.api.CommitTxnRequest) throws org.apache.thrift.TException
{
org.apache.hadoop.hive.metastore.api.CommitTxnRequest v;
org.apache.thrift.protocol.TList v;
org.apache.hadoop.hive.metastore.api.ReplLastIdInfo v, v;
org.apache.thrift.protocol.TField v, v, v, v, v, v, v;
boolean v, v, v, v, v, v, v, v;
java.util.List v, v, v;
long v;
org.apache.hadoop.hive.metastore.api.CommitTxnKeyValue v, v;
int v, v;
java.lang.String v, v;
org.apache.thrift.protocol.TStruct v;
java.util.Iterator v;
org.apache.hadoop.hive.metastore.api.CommitTxnRequest$CommitTxnRequestStandardScheme v;
org.apache.thrift.protocol.TProtocol v;
java.lang.Object v;
org.apache.hadoop.hive.metastore.api.TxnType v, v;
v := @this: org.apache.hadoop.hive.metastore.api.CommitTxnRequest$CommitTxnRequestStandardScheme;
v := @parameter: org.apache.thrift.protocol.TProtocol;
v := @parameter: org.apache.hadoop.hive.metastore.api.CommitTxnRequest;
virtualinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: void validate()>();
v = <org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.thrift.protocol.TStruct STRUCT_DESC>;
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeStructBegin(org.apache.thrift.protocol.TStruct)>(v);
v = <org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.thrift.protocol.TField TXNID_FIELD_DESC>;
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeFieldBegin(org.apache.thrift.protocol.TField)>(v);
v = v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: long txnid>;
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeI64(long)>(v);
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeFieldEnd()>();
v = v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: java.lang.String replPolicy>;
if v == null goto label;
v = virtualinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: boolean isSetReplPolicy()>();
if v == 0 goto label;
v = <org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.thrift.protocol.TField REPL_POLICY_FIELD_DESC>;
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeFieldBegin(org.apache.thrift.protocol.TField)>(v);
v = v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: java.lang.String replPolicy>;
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeString(java.lang.String)>(v);
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeFieldEnd()>();
label:
v = v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: java.util.List writeEventInfos>;
if v == null goto label;
v = virtualinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: boolean isSetWriteEventInfos()>();
if v == 0 goto label;
v = <org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.thrift.protocol.TField WRITE_EVENT_INFOS_FIELD_DESC>;
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeFieldBegin(org.apache.thrift.protocol.TField)>(v);
v = new org.apache.thrift.protocol.TList;
v = v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: java.util.List writeEventInfos>;
v = interfaceinvoke v.<java.util.List: int size()>();
specialinvoke v.<org.apache.thrift.protocol.TList: void <init>(byte,int)>(12, v);
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeListBegin(org.apache.thrift.protocol.TList)>(v);
v = v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: java.util.List writeEventInfos>;
v = interfaceinvoke v.<java.util.List: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
virtualinvoke v.<org.apache.hadoop.hive.metastore.api.WriteEventInfo: void write(org.apache.thrift.protocol.TProtocol)>(v);
goto label;
label:
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeListEnd()>();
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeFieldEnd()>();
label:
v = v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.hadoop.hive.metastore.api.ReplLastIdInfo replLastIdInfo>;
if v == null goto label;
v = virtualinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: boolean isSetReplLastIdInfo()>();
if v == 0 goto label;
v = <org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.thrift.protocol.TField REPL_LAST_ID_INFO_FIELD_DESC>;
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeFieldBegin(org.apache.thrift.protocol.TField)>(v);
v = v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.hadoop.hive.metastore.api.ReplLastIdInfo replLastIdInfo>;
virtualinvoke v.<org.apache.hadoop.hive.metastore.api.ReplLastIdInfo: void write(org.apache.thrift.protocol.TProtocol)>(v);
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeFieldEnd()>();
label:
v = v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.hadoop.hive.metastore.api.CommitTxnKeyValue keyValue>;
if v == null goto label;
v = virtualinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: boolean isSetKeyValue()>();
if v == 0 goto label;
v = <org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.thrift.protocol.TField KEY_VALUE_FIELD_DESC>;
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeFieldBegin(org.apache.thrift.protocol.TField)>(v);
v = v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.hadoop.hive.metastore.api.CommitTxnKeyValue keyValue>;
virtualinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnKeyValue: void write(org.apache.thrift.protocol.TProtocol)>(v);
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeFieldEnd()>();
label:
v = virtualinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: boolean isSetExclWriteEnabled()>();
if v == 0 goto label;
v = <org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.thrift.protocol.TField EXCL_WRITE_ENABLED_FIELD_DESC>;
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeFieldBegin(org.apache.thrift.protocol.TField)>(v);
v = v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: boolean exclWriteEnabled>;
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeBool(boolean)>(v);
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeFieldEnd()>();
label:
v = v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.hadoop.hive.metastore.api.TxnType txn_type>;
if v == null goto label;
v = virtualinvoke v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: boolean isSetTxn_type()>();
if v == 0 goto label;
v = <org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.thrift.protocol.TField TXN_TYPE_FIELD_DESC>;
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeFieldBegin(org.apache.thrift.protocol.TField)>(v);
v = v.<org.apache.hadoop.hive.metastore.api.CommitTxnRequest: org.apache.hadoop.hive.metastore.api.TxnType txn_type>;
v = virtualinvoke v.<org.apache.hadoop.hive.metastore.api.TxnType: int getValue()>();
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeI32(int)>(v);
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeFieldEnd()>();
label:
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeFieldStop()>();
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeStructEnd()>();
return;
}
}