public Byte deserialize(TProtocol iprot) throws SerDeException, TException, IllegalAccessException { byte val = iprot.readByte(); if (val == 0 && iprot instanceof org.apache.hadoop.hive.serde2.thrift.WriteNullsProtocol && ((org.apache.hadoop.hive.serde2.thrift.WriteNullsProtocol) iprot) .lastPrimitiveWasNull()) { return null; } return Byte.valueOf(val); }
public void read(org.apache.thrift.protocol.TProtocol iprot, TByteValue struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { schemeField = iprot.readFieldBegin(); if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { break; } switch (schemeField.id) { case 1: // VALUE if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { struct.value = iprot.readByte(); struct.setValueIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } iprot.readFieldEnd(); } iprot.readStructEnd(); struct.validate(); }
for (int _i64 = 0; _i64 < _list62.size; ++_i64) _elem63 = iprot.readByte(); struct.values.add(_elem63);
byte version = in.readByte(); String serviceName = in.readString(); long id = in.readI64();
byte version = in.readByte(); String serviceName = in.readString(); long id = in.readI64();
case 6: // TYPE if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { struct.type = iprot.readByte(); struct.setTypeIsSet(true); } else {
case 5: // VERSION if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { struct.version = iprot.readByte(); struct.setVersionIsSet(true); } else {
protocol.readByte(); serviceName = protocol.readString(); path = protocol.readString();
protocol.readByte(); serviceName = protocol.readString(); path = protocol.readString();
case 2: // MY_BYTE if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { struct.my_byte = iprot.readByte(); struct.setMy_byteIsSet(true); } else {
public byte readByte() throws TException { return concreteProtocol.readByte(); }
case 5: // VERSION if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { struct.version = iprot.readByte(); struct.setVersionIsSet(true); } else {
case 5: // VERSION if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { struct.version = iprot.readByte(); struct.setVersionIsSet(true); } else {
case 2: // BYTE_VAL if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { struct.byteVal = iprot.readByte(); struct.setByteValIsSet(true); } else {
case 2: // BYTE_VAL if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { struct.byteVal = iprot.readByte(); struct.setByteValIsSet(true); } else {
case 7: // G if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { struct.g = iprot.readByte(); struct.setGIsSet(true); } else {
case 7: // G if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { struct.g = iprot.readByte(); struct.setGIsSet(true); } else {
case 5: // VERSION if (schemeField.type == org.apache.thrift.protocol.TType.BYTE) { struct.version = iprot.readByte(); struct.setVersionIsSet(true); } else {
prot.readByte(); break;
case TType.BYTE: if (field.type == TType.BYTE) { return protocol_.readByte();