if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.magnitude = iprot.readBinary(); struct.setMagnitudeIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Decimal struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.signum = iprot.readByte(); struct.setSignumIsSet(true); struct.scale = iprot.readI32(); struct.setScaleIsSet(true); struct.magnitude = iprot.readBinary(); struct.setMagnitudeIsSet(true); } }