struct.sd = new StorageDescriptor(); struct.sd.read(iprot); struct.setSdIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, PartitionSpecWithSharedSD struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { org.apache.thrift.protocol.TList _list265 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.partitions = new ArrayList<PartitionWithoutSD>(_list265.size); PartitionWithoutSD _elem266; for (int _i267 = 0; _i267 < _list265.size; ++_i267) { _elem266 = new PartitionWithoutSD(); _elem266.read(iprot); struct.partitions.add(_elem266); } } struct.setPartitionsIsSet(true); } if (incoming.get(1)) { struct.sd = new StorageDescriptor(); struct.sd.read(iprot); struct.setSdIsSet(true); } } }
struct.sd = new StorageDescriptor(); struct.sd.read(iprot); struct.setSdIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
struct.sd = new StorageDescriptor(); struct.sd.read(iprot); struct.setSdIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
struct.sd = new StorageDescriptor(); struct.sd.read(iprot); struct.setSdIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, PartitionSpecWithSharedSD struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { org.apache.thrift.protocol.TList _list257 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.partitions = new ArrayList<PartitionWithoutSD>(_list257.size); PartitionWithoutSD _elem258; for (int _i259 = 0; _i259 < _list257.size; ++_i259) { _elem258 = new PartitionWithoutSD(); _elem258.read(iprot); struct.partitions.add(_elem258); } } struct.setPartitionsIsSet(true); } if (incoming.get(1)) { struct.sd = new StorageDescriptor(); struct.sd.read(iprot); struct.setSdIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, PartitionSpecWithSharedSD struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { org.apache.thrift.protocol.TList _list249 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.partitions = new ArrayList<PartitionWithoutSD>(_list249.size); for (int _i250 = 0; _i250 < _list249.size; ++_i250) { PartitionWithoutSD _elem251; // optional _elem251 = new PartitionWithoutSD(); _elem251.read(iprot); struct.partitions.add(_elem251); } } struct.setPartitionsIsSet(true); } if (incoming.get(1)) { struct.sd = new StorageDescriptor(); struct.sd.read(iprot); struct.setSdIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, PartitionSpecWithSharedSD struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { org.apache.thrift.protocol.TList _list249 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.partitions = new ArrayList<PartitionWithoutSD>(_list249.size); for (int _i250 = 0; _i250 < _list249.size; ++_i250) { PartitionWithoutSD _elem251; // optional _elem251 = new PartitionWithoutSD(); _elem251.read(iprot); struct.partitions.add(_elem251); } } struct.setPartitionsIsSet(true); } if (incoming.get(1)) { struct.sd = new StorageDescriptor(); struct.sd.read(iprot); struct.setSdIsSet(true); } } }