class org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse$GrantRevokePrivilegeResponseStandardScheme extends org.apache.thrift.scheme.StandardScheme
{
private void <init>()
{
org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse$GrantRevokePrivilegeResponseStandardScheme v;
v := @this: org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse$GrantRevokePrivilegeResponseStandardScheme;
specialinvoke v.<org.apache.thrift.scheme.StandardScheme: void <init>()>();
return;
}
public void read(org.apache.thrift.protocol.TProtocol, org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse) throws org.apache.thrift.TException
{
org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse$GrantRevokePrivilegeResponseStandardScheme v;
org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse v;
short v;
byte v, v, v, v;
org.apache.thrift.protocol.TProtocol v;
org.apache.thrift.protocol.TField v;
boolean v;
v := @this: org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse$GrantRevokePrivilegeResponseStandardScheme;
v := @parameter: org.apache.thrift.protocol.TProtocol;
v := @parameter: org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse;
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>;
lookupswitch(v)
{
case 1: goto label;
default: 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.GrantRevokePrivilegeResponse: boolean success> = v;
virtualinvoke v.<org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse: void setSuccessIsSet(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.GrantRevokePrivilegeResponse: void validate()>();
return;
}
public void write(org.apache.thrift.protocol.TProtocol, org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse) throws org.apache.thrift.TException
{
org.apache.thrift.protocol.TProtocol v;
org.apache.thrift.protocol.TField v;
org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse$GrantRevokePrivilegeResponseStandardScheme v;
org.apache.thrift.protocol.TStruct v;
boolean v, v;
org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse v;
v := @this: org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse$GrantRevokePrivilegeResponseStandardScheme;
v := @parameter: org.apache.thrift.protocol.TProtocol;
v := @parameter: org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse;
virtualinvoke v.<org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse: void validate()>();
v = <org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse: org.apache.thrift.protocol.TStruct STRUCT_DESC>;
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeStructBegin(org.apache.thrift.protocol.TStruct)>(v);
v = virtualinvoke v.<org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse: boolean isSetSuccess()>();
if v == 0 goto label;
v = <org.apache.hadoop.hive.metastore.api.GrantRevokePrivilegeResponse: org.apache.thrift.protocol.TField SUCCESS_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.GrantRevokePrivilegeResponse: boolean success>;
virtualinvoke v.<org.apache.thrift.protocol.TProtocol: void writeBool(boolean)>(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;
}
}