| Line 331... |
Line 331... |
| 331 |
|
331 |
|
| 332 |
public AmazonInventorySnapshot getAmazonInventoryForItem(long item_id) throws org.apache.thrift.TException;
|
332 |
public AmazonInventorySnapshot getAmazonInventoryForItem(long item_id) throws org.apache.thrift.TException;
|
| 333 |
|
333 |
|
| 334 |
public List<AmazonInventorySnapshot> getAllAmazonInventory() throws org.apache.thrift.TException;
|
334 |
public List<AmazonInventorySnapshot> getAllAmazonInventory() throws org.apache.thrift.TException;
|
| 335 |
|
335 |
|
| 336 |
public void addOrUpdateAmazonInventoryForItem(AmazonInventorySnapshot amazonInventorySnapshot) throws org.apache.thrift.TException;
|
336 |
public void addOrUpdateAmazonInventoryForItem(AmazonInventorySnapshot amazonInventorySnapshot, long time) throws org.apache.thrift.TException;
|
| 337 |
|
337 |
|
| 338 |
public String getLastNdaySaleForItem(long itemId, long numberOfDays) throws org.apache.thrift.TException;
|
338 |
public String getLastNdaySaleForItem(long itemId, long numberOfDays) throws org.apache.thrift.TException;
|
| 339 |
|
339 |
|
| 340 |
public void addOrUpdateAmazonFbaInventory(AmazonFbaInventorySnapshot amazonfbainventorysnapshot) throws org.apache.thrift.TException;
|
340 |
public void addOrUpdateAmazonFbaInventory(AmazonFbaInventorySnapshot amazonfbainventorysnapshot) throws org.apache.thrift.TException;
|
| 341 |
|
341 |
|
| Line 363... |
Line 363... |
| 363 |
|
363 |
|
| 364 |
public List<SnapdealInventoryItem> getSnapdealInventorySnapshot() throws org.apache.thrift.TException;
|
364 |
public List<SnapdealInventoryItem> getSnapdealInventorySnapshot() throws org.apache.thrift.TException;
|
| 365 |
|
365 |
|
| 366 |
public List<HoldInventoryDetail> getHoldInventoryDetails(long itemId, long warehouseId, long source) throws org.apache.thrift.TException;
|
366 |
public List<HoldInventoryDetail> getHoldInventoryDetails(long itemId, long warehouseId, long source) throws org.apache.thrift.TException;
|
| 367 |
|
367 |
|
| 368 |
public void addOrUpdateFlipkartInventorySnapshot(List<FlipkartInventorySnapshot> flipkartInventorySnapshot) throws org.apache.thrift.TException;
|
368 |
public void addOrUpdateFlipkartInventorySnapshot(List<FlipkartInventorySnapshot> flipkartInventorySnapshot, long time) throws org.apache.thrift.TException;
|
| 369 |
|
369 |
|
| 370 |
public List<FlipkartInventorySnapshot> getFlipkartInventorySnapshot() throws org.apache.thrift.TException;
|
370 |
public List<FlipkartInventorySnapshot> getFlipkartInventorySnapshot() throws org.apache.thrift.TException;
|
| 371 |
|
371 |
|
| 372 |
public FlipkartInventorySnapshot getFlipkartlInventoryForItem(long item_id) throws org.apache.thrift.TException;
|
372 |
public FlipkartInventorySnapshot getFlipkartlInventoryForItem(long item_id) throws org.apache.thrift.TException;
|
| 373 |
|
373 |
|
| Line 485... |
Line 485... |
| 485 |
|
485 |
|
| 486 |
public void getAmazonInventoryForItem(long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonInventoryForItem_call> resultHandler) throws org.apache.thrift.TException;
|
486 |
public void getAmazonInventoryForItem(long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAmazonInventoryForItem_call> resultHandler) throws org.apache.thrift.TException;
|
| 487 |
|
487 |
|
| 488 |
public void getAllAmazonInventory(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllAmazonInventory_call> resultHandler) throws org.apache.thrift.TException;
|
488 |
public void getAllAmazonInventory(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllAmazonInventory_call> resultHandler) throws org.apache.thrift.TException;
|
| 489 |
|
489 |
|
| 490 |
public void addOrUpdateAmazonInventoryForItem(AmazonInventorySnapshot amazonInventorySnapshot, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addOrUpdateAmazonInventoryForItem_call> resultHandler) throws org.apache.thrift.TException;
|
490 |
public void addOrUpdateAmazonInventoryForItem(AmazonInventorySnapshot amazonInventorySnapshot, long time, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addOrUpdateAmazonInventoryForItem_call> resultHandler) throws org.apache.thrift.TException;
|
| 491 |
|
491 |
|
| 492 |
public void getLastNdaySaleForItem(long itemId, long numberOfDays, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLastNdaySaleForItem_call> resultHandler) throws org.apache.thrift.TException;
|
492 |
public void getLastNdaySaleForItem(long itemId, long numberOfDays, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLastNdaySaleForItem_call> resultHandler) throws org.apache.thrift.TException;
|
| 493 |
|
493 |
|
| 494 |
public void addOrUpdateAmazonFbaInventory(AmazonFbaInventorySnapshot amazonfbainventorysnapshot, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addOrUpdateAmazonFbaInventory_call> resultHandler) throws org.apache.thrift.TException;
|
494 |
public void addOrUpdateAmazonFbaInventory(AmazonFbaInventorySnapshot amazonfbainventorysnapshot, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addOrUpdateAmazonFbaInventory_call> resultHandler) throws org.apache.thrift.TException;
|
| 495 |
|
495 |
|
| Line 517... |
Line 517... |
| 517 |
|
517 |
|
| 518 |
public void getSnapdealInventorySnapshot(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSnapdealInventorySnapshot_call> resultHandler) throws org.apache.thrift.TException;
|
518 |
public void getSnapdealInventorySnapshot(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSnapdealInventorySnapshot_call> resultHandler) throws org.apache.thrift.TException;
|
| 519 |
|
519 |
|
| 520 |
public void getHoldInventoryDetails(long itemId, long warehouseId, long source, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHoldInventoryDetails_call> resultHandler) throws org.apache.thrift.TException;
|
520 |
public void getHoldInventoryDetails(long itemId, long warehouseId, long source, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getHoldInventoryDetails_call> resultHandler) throws org.apache.thrift.TException;
|
| 521 |
|
521 |
|
| 522 |
public void addOrUpdateFlipkartInventorySnapshot(List<FlipkartInventorySnapshot> flipkartInventorySnapshot, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addOrUpdateFlipkartInventorySnapshot_call> resultHandler) throws org.apache.thrift.TException;
|
522 |
public void addOrUpdateFlipkartInventorySnapshot(List<FlipkartInventorySnapshot> flipkartInventorySnapshot, long time, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addOrUpdateFlipkartInventorySnapshot_call> resultHandler) throws org.apache.thrift.TException;
|
| 523 |
|
523 |
|
| 524 |
public void getFlipkartInventorySnapshot(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getFlipkartInventorySnapshot_call> resultHandler) throws org.apache.thrift.TException;
|
524 |
public void getFlipkartInventorySnapshot(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getFlipkartInventorySnapshot_call> resultHandler) throws org.apache.thrift.TException;
|
| 525 |
|
525 |
|
| 526 |
public void getFlipkartlInventoryForItem(long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getFlipkartlInventoryForItem_call> resultHandler) throws org.apache.thrift.TException;
|
526 |
public void getFlipkartlInventoryForItem(long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getFlipkartlInventoryForItem_call> resultHandler) throws org.apache.thrift.TException;
|
| 527 |
|
527 |
|
| Line 1898... |
Line 1898... |
| 1898 |
return result.success;
|
1898 |
return result.success;
|
| 1899 |
}
|
1899 |
}
|
| 1900 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllAmazonInventory failed: unknown result");
|
1900 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllAmazonInventory failed: unknown result");
|
| 1901 |
}
|
1901 |
}
|
| 1902 |
|
1902 |
|
| 1903 |
public void addOrUpdateAmazonInventoryForItem(AmazonInventorySnapshot amazonInventorySnapshot) throws org.apache.thrift.TException
|
1903 |
public void addOrUpdateAmazonInventoryForItem(AmazonInventorySnapshot amazonInventorySnapshot, long time) throws org.apache.thrift.TException
|
| 1904 |
{
|
1904 |
{
|
| 1905 |
send_addOrUpdateAmazonInventoryForItem(amazonInventorySnapshot);
|
1905 |
send_addOrUpdateAmazonInventoryForItem(amazonInventorySnapshot, time);
|
| 1906 |
recv_addOrUpdateAmazonInventoryForItem();
|
1906 |
recv_addOrUpdateAmazonInventoryForItem();
|
| 1907 |
}
|
1907 |
}
|
| 1908 |
|
1908 |
|
| 1909 |
public void send_addOrUpdateAmazonInventoryForItem(AmazonInventorySnapshot amazonInventorySnapshot) throws org.apache.thrift.TException
|
1909 |
public void send_addOrUpdateAmazonInventoryForItem(AmazonInventorySnapshot amazonInventorySnapshot, long time) throws org.apache.thrift.TException
|
| 1910 |
{
|
1910 |
{
|
| 1911 |
addOrUpdateAmazonInventoryForItem_args args = new addOrUpdateAmazonInventoryForItem_args();
|
1911 |
addOrUpdateAmazonInventoryForItem_args args = new addOrUpdateAmazonInventoryForItem_args();
|
| 1912 |
args.setAmazonInventorySnapshot(amazonInventorySnapshot);
|
1912 |
args.setAmazonInventorySnapshot(amazonInventorySnapshot);
|
| - |
|
1913 |
args.setTime(time);
|
| 1913 |
sendBase("addOrUpdateAmazonInventoryForItem", args);
|
1914 |
sendBase("addOrUpdateAmazonInventoryForItem", args);
|
| 1914 |
}
|
1915 |
}
|
| 1915 |
|
1916 |
|
| 1916 |
public void recv_addOrUpdateAmazonInventoryForItem() throws org.apache.thrift.TException
|
1917 |
public void recv_addOrUpdateAmazonInventoryForItem() throws org.apache.thrift.TException
|
| 1917 |
{
|
1918 |
{
|
| Line 2259... |
Line 2260... |
| 2259 |
return result.success;
|
2260 |
return result.success;
|
| 2260 |
}
|
2261 |
}
|
| 2261 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getHoldInventoryDetails failed: unknown result");
|
2262 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getHoldInventoryDetails failed: unknown result");
|
| 2262 |
}
|
2263 |
}
|
| 2263 |
|
2264 |
|
| 2264 |
public void addOrUpdateFlipkartInventorySnapshot(List<FlipkartInventorySnapshot> flipkartInventorySnapshot) throws org.apache.thrift.TException
|
2265 |
public void addOrUpdateFlipkartInventorySnapshot(List<FlipkartInventorySnapshot> flipkartInventorySnapshot, long time) throws org.apache.thrift.TException
|
| 2265 |
{
|
2266 |
{
|
| 2266 |
send_addOrUpdateFlipkartInventorySnapshot(flipkartInventorySnapshot);
|
2267 |
send_addOrUpdateFlipkartInventorySnapshot(flipkartInventorySnapshot, time);
|
| 2267 |
recv_addOrUpdateFlipkartInventorySnapshot();
|
2268 |
recv_addOrUpdateFlipkartInventorySnapshot();
|
| 2268 |
}
|
2269 |
}
|
| 2269 |
|
2270 |
|
| 2270 |
public void send_addOrUpdateFlipkartInventorySnapshot(List<FlipkartInventorySnapshot> flipkartInventorySnapshot) throws org.apache.thrift.TException
|
2271 |
public void send_addOrUpdateFlipkartInventorySnapshot(List<FlipkartInventorySnapshot> flipkartInventorySnapshot, long time) throws org.apache.thrift.TException
|
| 2271 |
{
|
2272 |
{
|
| 2272 |
addOrUpdateFlipkartInventorySnapshot_args args = new addOrUpdateFlipkartInventorySnapshot_args();
|
2273 |
addOrUpdateFlipkartInventorySnapshot_args args = new addOrUpdateFlipkartInventorySnapshot_args();
|
| 2273 |
args.setFlipkartInventorySnapshot(flipkartInventorySnapshot);
|
2274 |
args.setFlipkartInventorySnapshot(flipkartInventorySnapshot);
|
| - |
|
2275 |
args.setTime(time);
|
| 2274 |
sendBase("addOrUpdateFlipkartInventorySnapshot", args);
|
2276 |
sendBase("addOrUpdateFlipkartInventorySnapshot", args);
|
| 2275 |
}
|
2277 |
}
|
| 2276 |
|
2278 |
|
| 2277 |
public void recv_addOrUpdateFlipkartInventorySnapshot() throws org.apache.thrift.TException
|
2279 |
public void recv_addOrUpdateFlipkartInventorySnapshot() throws org.apache.thrift.TException
|
| 2278 |
{
|
2280 |
{
|
| Line 4257... |
Line 4259... |
| 4257 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
4259 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 4258 |
return (new Client(prot)).recv_getAllAmazonInventory();
|
4260 |
return (new Client(prot)).recv_getAllAmazonInventory();
|
| 4259 |
}
|
4261 |
}
|
| 4260 |
}
|
4262 |
}
|
| 4261 |
|
4263 |
|
| 4262 |
public void addOrUpdateAmazonInventoryForItem(AmazonInventorySnapshot amazonInventorySnapshot, org.apache.thrift.async.AsyncMethodCallback<addOrUpdateAmazonInventoryForItem_call> resultHandler) throws org.apache.thrift.TException {
|
4264 |
public void addOrUpdateAmazonInventoryForItem(AmazonInventorySnapshot amazonInventorySnapshot, long time, org.apache.thrift.async.AsyncMethodCallback<addOrUpdateAmazonInventoryForItem_call> resultHandler) throws org.apache.thrift.TException {
|
| 4263 |
checkReady();
|
4265 |
checkReady();
|
| 4264 |
addOrUpdateAmazonInventoryForItem_call method_call = new addOrUpdateAmazonInventoryForItem_call(amazonInventorySnapshot, resultHandler, this, ___protocolFactory, ___transport);
|
4266 |
addOrUpdateAmazonInventoryForItem_call method_call = new addOrUpdateAmazonInventoryForItem_call(amazonInventorySnapshot, time, resultHandler, this, ___protocolFactory, ___transport);
|
| 4265 |
this.___currentMethod = method_call;
|
4267 |
this.___currentMethod = method_call;
|
| 4266 |
___manager.call(method_call);
|
4268 |
___manager.call(method_call);
|
| 4267 |
}
|
4269 |
}
|
| 4268 |
|
4270 |
|
| 4269 |
public static class addOrUpdateAmazonInventoryForItem_call extends org.apache.thrift.async.TAsyncMethodCall {
|
4271 |
public static class addOrUpdateAmazonInventoryForItem_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 4270 |
private AmazonInventorySnapshot amazonInventorySnapshot;
|
4272 |
private AmazonInventorySnapshot amazonInventorySnapshot;
|
| - |
|
4273 |
private long time;
|
| 4271 |
public addOrUpdateAmazonInventoryForItem_call(AmazonInventorySnapshot amazonInventorySnapshot, org.apache.thrift.async.AsyncMethodCallback<addOrUpdateAmazonInventoryForItem_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
|
4274 |
public addOrUpdateAmazonInventoryForItem_call(AmazonInventorySnapshot amazonInventorySnapshot, long time, org.apache.thrift.async.AsyncMethodCallback<addOrUpdateAmazonInventoryForItem_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
|
| 4272 |
super(client, protocolFactory, transport, resultHandler, false);
|
4275 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 4273 |
this.amazonInventorySnapshot = amazonInventorySnapshot;
|
4276 |
this.amazonInventorySnapshot = amazonInventorySnapshot;
|
| - |
|
4277 |
this.time = time;
|
| 4274 |
}
|
4278 |
}
|
| 4275 |
|
4279 |
|
| 4276 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
4280 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 4277 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addOrUpdateAmazonInventoryForItem", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
4281 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addOrUpdateAmazonInventoryForItem", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 4278 |
addOrUpdateAmazonInventoryForItem_args args = new addOrUpdateAmazonInventoryForItem_args();
|
4282 |
addOrUpdateAmazonInventoryForItem_args args = new addOrUpdateAmazonInventoryForItem_args();
|
| 4279 |
args.setAmazonInventorySnapshot(amazonInventorySnapshot);
|
4283 |
args.setAmazonInventorySnapshot(amazonInventorySnapshot);
|
| - |
|
4284 |
args.setTime(time);
|
| 4280 |
args.write(prot);
|
4285 |
args.write(prot);
|
| 4281 |
prot.writeMessageEnd();
|
4286 |
prot.writeMessageEnd();
|
| 4282 |
}
|
4287 |
}
|
| 4283 |
|
4288 |
|
| 4284 |
public void getResult() throws org.apache.thrift.TException {
|
4289 |
public void getResult() throws org.apache.thrift.TException {
|
| Line 4793... |
Line 4798... |
| 4793 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
4798 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 4794 |
return (new Client(prot)).recv_getHoldInventoryDetails();
|
4799 |
return (new Client(prot)).recv_getHoldInventoryDetails();
|
| 4795 |
}
|
4800 |
}
|
| 4796 |
}
|
4801 |
}
|
| 4797 |
|
4802 |
|
| 4798 |
public void addOrUpdateFlipkartInventorySnapshot(List<FlipkartInventorySnapshot> flipkartInventorySnapshot, org.apache.thrift.async.AsyncMethodCallback<addOrUpdateFlipkartInventorySnapshot_call> resultHandler) throws org.apache.thrift.TException {
|
4803 |
public void addOrUpdateFlipkartInventorySnapshot(List<FlipkartInventorySnapshot> flipkartInventorySnapshot, long time, org.apache.thrift.async.AsyncMethodCallback<addOrUpdateFlipkartInventorySnapshot_call> resultHandler) throws org.apache.thrift.TException {
|
| 4799 |
checkReady();
|
4804 |
checkReady();
|
| 4800 |
addOrUpdateFlipkartInventorySnapshot_call method_call = new addOrUpdateFlipkartInventorySnapshot_call(flipkartInventorySnapshot, resultHandler, this, ___protocolFactory, ___transport);
|
4805 |
addOrUpdateFlipkartInventorySnapshot_call method_call = new addOrUpdateFlipkartInventorySnapshot_call(flipkartInventorySnapshot, time, resultHandler, this, ___protocolFactory, ___transport);
|
| 4801 |
this.___currentMethod = method_call;
|
4806 |
this.___currentMethod = method_call;
|
| 4802 |
___manager.call(method_call);
|
4807 |
___manager.call(method_call);
|
| 4803 |
}
|
4808 |
}
|
| 4804 |
|
4809 |
|
| 4805 |
public static class addOrUpdateFlipkartInventorySnapshot_call extends org.apache.thrift.async.TAsyncMethodCall {
|
4810 |
public static class addOrUpdateFlipkartInventorySnapshot_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 4806 |
private List<FlipkartInventorySnapshot> flipkartInventorySnapshot;
|
4811 |
private List<FlipkartInventorySnapshot> flipkartInventorySnapshot;
|
| - |
|
4812 |
private long time;
|
| 4807 |
public addOrUpdateFlipkartInventorySnapshot_call(List<FlipkartInventorySnapshot> flipkartInventorySnapshot, org.apache.thrift.async.AsyncMethodCallback<addOrUpdateFlipkartInventorySnapshot_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
|
4813 |
public addOrUpdateFlipkartInventorySnapshot_call(List<FlipkartInventorySnapshot> flipkartInventorySnapshot, long time, org.apache.thrift.async.AsyncMethodCallback<addOrUpdateFlipkartInventorySnapshot_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
|
| 4808 |
super(client, protocolFactory, transport, resultHandler, false);
|
4814 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 4809 |
this.flipkartInventorySnapshot = flipkartInventorySnapshot;
|
4815 |
this.flipkartInventorySnapshot = flipkartInventorySnapshot;
|
| - |
|
4816 |
this.time = time;
|
| 4810 |
}
|
4817 |
}
|
| 4811 |
|
4818 |
|
| 4812 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
4819 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 4813 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addOrUpdateFlipkartInventorySnapshot", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
4820 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addOrUpdateFlipkartInventorySnapshot", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 4814 |
addOrUpdateFlipkartInventorySnapshot_args args = new addOrUpdateFlipkartInventorySnapshot_args();
|
4821 |
addOrUpdateFlipkartInventorySnapshot_args args = new addOrUpdateFlipkartInventorySnapshot_args();
|
| 4815 |
args.setFlipkartInventorySnapshot(flipkartInventorySnapshot);
|
4822 |
args.setFlipkartInventorySnapshot(flipkartInventorySnapshot);
|
| - |
|
4823 |
args.setTime(time);
|
| 4816 |
args.write(prot);
|
4824 |
args.write(prot);
|
| 4817 |
prot.writeMessageEnd();
|
4825 |
prot.writeMessageEnd();
|
| 4818 |
}
|
4826 |
}
|
| 4819 |
|
4827 |
|
| 4820 |
public void getResult() throws org.apache.thrift.TException {
|
4828 |
public void getResult() throws org.apache.thrift.TException {
|
| Line 5987... |
Line 5995... |
| 5987 |
return new addOrUpdateAmazonInventoryForItem_args();
|
5995 |
return new addOrUpdateAmazonInventoryForItem_args();
|
| 5988 |
}
|
5996 |
}
|
| 5989 |
|
5997 |
|
| 5990 |
protected addOrUpdateAmazonInventoryForItem_result getResult(I iface, addOrUpdateAmazonInventoryForItem_args args) throws org.apache.thrift.TException {
|
5998 |
protected addOrUpdateAmazonInventoryForItem_result getResult(I iface, addOrUpdateAmazonInventoryForItem_args args) throws org.apache.thrift.TException {
|
| 5991 |
addOrUpdateAmazonInventoryForItem_result result = new addOrUpdateAmazonInventoryForItem_result();
|
5999 |
addOrUpdateAmazonInventoryForItem_result result = new addOrUpdateAmazonInventoryForItem_result();
|
| 5992 |
iface.addOrUpdateAmazonInventoryForItem(args.amazonInventorySnapshot);
|
6000 |
iface.addOrUpdateAmazonInventoryForItem(args.amazonInventorySnapshot, args.time);
|
| 5993 |
return result;
|
6001 |
return result;
|
| 5994 |
}
|
6002 |
}
|
| 5995 |
}
|
6003 |
}
|
| 5996 |
|
6004 |
|
| 5997 |
private static class getLastNdaySaleForItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getLastNdaySaleForItem_args> {
|
6005 |
private static class getLastNdaySaleForItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getLastNdaySaleForItem_args> {
|
| Line 6250... |
Line 6258... |
| 6250 |
return new addOrUpdateFlipkartInventorySnapshot_args();
|
6258 |
return new addOrUpdateFlipkartInventorySnapshot_args();
|
| 6251 |
}
|
6259 |
}
|
| 6252 |
|
6260 |
|
| 6253 |
protected addOrUpdateFlipkartInventorySnapshot_result getResult(I iface, addOrUpdateFlipkartInventorySnapshot_args args) throws org.apache.thrift.TException {
|
6261 |
protected addOrUpdateFlipkartInventorySnapshot_result getResult(I iface, addOrUpdateFlipkartInventorySnapshot_args args) throws org.apache.thrift.TException {
|
| 6254 |
addOrUpdateFlipkartInventorySnapshot_result result = new addOrUpdateFlipkartInventorySnapshot_result();
|
6262 |
addOrUpdateFlipkartInventorySnapshot_result result = new addOrUpdateFlipkartInventorySnapshot_result();
|
| 6255 |
iface.addOrUpdateFlipkartInventorySnapshot(args.flipkartInventorySnapshot);
|
6263 |
iface.addOrUpdateFlipkartInventorySnapshot(args.flipkartInventorySnapshot, args.time);
|
| 6256 |
return result;
|
6264 |
return result;
|
| 6257 |
}
|
6265 |
}
|
| 6258 |
}
|
6266 |
}
|
| 6259 |
|
6267 |
|
| 6260 |
private static class getFlipkartInventorySnapshot<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getFlipkartInventorySnapshot_args> {
|
6268 |
private static class getFlipkartInventorySnapshot<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getFlipkartInventorySnapshot_args> {
|
| Line 44333... |
Line 44341... |
| 44333 |
|
44341 |
|
| 44334 |
public static class addOrUpdateAmazonInventoryForItem_args implements org.apache.thrift.TBase<addOrUpdateAmazonInventoryForItem_args, addOrUpdateAmazonInventoryForItem_args._Fields>, java.io.Serializable, Cloneable {
|
44342 |
public static class addOrUpdateAmazonInventoryForItem_args implements org.apache.thrift.TBase<addOrUpdateAmazonInventoryForItem_args, addOrUpdateAmazonInventoryForItem_args._Fields>, java.io.Serializable, Cloneable {
|
| 44335 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addOrUpdateAmazonInventoryForItem_args");
|
44343 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addOrUpdateAmazonInventoryForItem_args");
|
| 44336 |
|
44344 |
|
| 44337 |
private static final org.apache.thrift.protocol.TField AMAZON_INVENTORY_SNAPSHOT_FIELD_DESC = new org.apache.thrift.protocol.TField("amazonInventorySnapshot", org.apache.thrift.protocol.TType.STRUCT, (short)1);
|
44345 |
private static final org.apache.thrift.protocol.TField AMAZON_INVENTORY_SNAPSHOT_FIELD_DESC = new org.apache.thrift.protocol.TField("amazonInventorySnapshot", org.apache.thrift.protocol.TType.STRUCT, (short)1);
|
| - |
|
44346 |
private static final org.apache.thrift.protocol.TField TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("time", org.apache.thrift.protocol.TType.I64, (short)2);
|
| 44338 |
|
44347 |
|
| 44339 |
private AmazonInventorySnapshot amazonInventorySnapshot; // required
|
44348 |
private AmazonInventorySnapshot amazonInventorySnapshot; // required
|
| - |
|
44349 |
private long time; // required
|
| 44340 |
|
44350 |
|
| 44341 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
44351 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 44342 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
44352 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 44343 |
AMAZON_INVENTORY_SNAPSHOT((short)1, "amazonInventorySnapshot");
|
44353 |
AMAZON_INVENTORY_SNAPSHOT((short)1, "amazonInventorySnapshot"),
|
| - |
|
44354 |
TIME((short)2, "time");
|
| 44344 |
|
44355 |
|
| 44345 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
44356 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 44346 |
|
44357 |
|
| 44347 |
static {
|
44358 |
static {
|
| 44348 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
44359 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 44355... |
Line 44366... |
| 44355 |
*/
|
44366 |
*/
|
| 44356 |
public static _Fields findByThriftId(int fieldId) {
|
44367 |
public static _Fields findByThriftId(int fieldId) {
|
| 44357 |
switch(fieldId) {
|
44368 |
switch(fieldId) {
|
| 44358 |
case 1: // AMAZON_INVENTORY_SNAPSHOT
|
44369 |
case 1: // AMAZON_INVENTORY_SNAPSHOT
|
| 44359 |
return AMAZON_INVENTORY_SNAPSHOT;
|
44370 |
return AMAZON_INVENTORY_SNAPSHOT;
|
| - |
|
44371 |
case 2: // TIME
|
| - |
|
44372 |
return TIME;
|
| 44360 |
default:
|
44373 |
default:
|
| 44361 |
return null;
|
44374 |
return null;
|
| 44362 |
}
|
44375 |
}
|
| 44363 |
}
|
44376 |
}
|
| 44364 |
|
44377 |
|
| Line 44395... |
Line 44408... |
| 44395 |
return _fieldName;
|
44408 |
return _fieldName;
|
| 44396 |
}
|
44409 |
}
|
| 44397 |
}
|
44410 |
}
|
| 44398 |
|
44411 |
|
| 44399 |
// isset id assignments
|
44412 |
// isset id assignments
|
| - |
|
44413 |
private static final int __TIME_ISSET_ID = 0;
|
| - |
|
44414 |
private BitSet __isset_bit_vector = new BitSet(1);
|
| 44400 |
|
44415 |
|
| 44401 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
44416 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 44402 |
static {
|
44417 |
static {
|
| 44403 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
44418 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 44404 |
tmpMap.put(_Fields.AMAZON_INVENTORY_SNAPSHOT, new org.apache.thrift.meta_data.FieldMetaData("amazonInventorySnapshot", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
44419 |
tmpMap.put(_Fields.AMAZON_INVENTORY_SNAPSHOT, new org.apache.thrift.meta_data.FieldMetaData("amazonInventorySnapshot", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 44405 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AmazonInventorySnapshot.class)));
|
44420 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AmazonInventorySnapshot.class)));
|
| - |
|
44421 |
tmpMap.put(_Fields.TIME, new org.apache.thrift.meta_data.FieldMetaData("time", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
44422 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 44406 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
44423 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 44407 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addOrUpdateAmazonInventoryForItem_args.class, metaDataMap);
|
44424 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addOrUpdateAmazonInventoryForItem_args.class, metaDataMap);
|
| 44408 |
}
|
44425 |
}
|
| 44409 |
|
44426 |
|
| 44410 |
public addOrUpdateAmazonInventoryForItem_args() {
|
44427 |
public addOrUpdateAmazonInventoryForItem_args() {
|
| 44411 |
}
|
44428 |
}
|
| 44412 |
|
44429 |
|
| 44413 |
public addOrUpdateAmazonInventoryForItem_args(
|
44430 |
public addOrUpdateAmazonInventoryForItem_args(
|
| 44414 |
AmazonInventorySnapshot amazonInventorySnapshot)
|
44431 |
AmazonInventorySnapshot amazonInventorySnapshot,
|
| - |
|
44432 |
long time)
|
| 44415 |
{
|
44433 |
{
|
| 44416 |
this();
|
44434 |
this();
|
| 44417 |
this.amazonInventorySnapshot = amazonInventorySnapshot;
|
44435 |
this.amazonInventorySnapshot = amazonInventorySnapshot;
|
| - |
|
44436 |
this.time = time;
|
| - |
|
44437 |
setTimeIsSet(true);
|
| 44418 |
}
|
44438 |
}
|
| 44419 |
|
44439 |
|
| 44420 |
/**
|
44440 |
/**
|
| 44421 |
* Performs a deep copy on <i>other</i>.
|
44441 |
* Performs a deep copy on <i>other</i>.
|
| 44422 |
*/
|
44442 |
*/
|
| 44423 |
public addOrUpdateAmazonInventoryForItem_args(addOrUpdateAmazonInventoryForItem_args other) {
|
44443 |
public addOrUpdateAmazonInventoryForItem_args(addOrUpdateAmazonInventoryForItem_args other) {
|
| - |
|
44444 |
__isset_bit_vector.clear();
|
| - |
|
44445 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 44424 |
if (other.isSetAmazonInventorySnapshot()) {
|
44446 |
if (other.isSetAmazonInventorySnapshot()) {
|
| 44425 |
this.amazonInventorySnapshot = new AmazonInventorySnapshot(other.amazonInventorySnapshot);
|
44447 |
this.amazonInventorySnapshot = new AmazonInventorySnapshot(other.amazonInventorySnapshot);
|
| 44426 |
}
|
44448 |
}
|
| - |
|
44449 |
this.time = other.time;
|
| 44427 |
}
|
44450 |
}
|
| 44428 |
|
44451 |
|
| 44429 |
public addOrUpdateAmazonInventoryForItem_args deepCopy() {
|
44452 |
public addOrUpdateAmazonInventoryForItem_args deepCopy() {
|
| 44430 |
return new addOrUpdateAmazonInventoryForItem_args(this);
|
44453 |
return new addOrUpdateAmazonInventoryForItem_args(this);
|
| 44431 |
}
|
44454 |
}
|
| 44432 |
|
44455 |
|
| 44433 |
@Override
|
44456 |
@Override
|
| 44434 |
public void clear() {
|
44457 |
public void clear() {
|
| 44435 |
this.amazonInventorySnapshot = null;
|
44458 |
this.amazonInventorySnapshot = null;
|
| - |
|
44459 |
setTimeIsSet(false);
|
| - |
|
44460 |
this.time = 0;
|
| 44436 |
}
|
44461 |
}
|
| 44437 |
|
44462 |
|
| 44438 |
public AmazonInventorySnapshot getAmazonInventorySnapshot() {
|
44463 |
public AmazonInventorySnapshot getAmazonInventorySnapshot() {
|
| 44439 |
return this.amazonInventorySnapshot;
|
44464 |
return this.amazonInventorySnapshot;
|
| 44440 |
}
|
44465 |
}
|
| Line 44456... |
Line 44481... |
| 44456 |
if (!value) {
|
44481 |
if (!value) {
|
| 44457 |
this.amazonInventorySnapshot = null;
|
44482 |
this.amazonInventorySnapshot = null;
|
| 44458 |
}
|
44483 |
}
|
| 44459 |
}
|
44484 |
}
|
| 44460 |
|
44485 |
|
| - |
|
44486 |
public long getTime() {
|
| - |
|
44487 |
return this.time;
|
| - |
|
44488 |
}
|
| - |
|
44489 |
|
| - |
|
44490 |
public void setTime(long time) {
|
| - |
|
44491 |
this.time = time;
|
| - |
|
44492 |
setTimeIsSet(true);
|
| - |
|
44493 |
}
|
| - |
|
44494 |
|
| - |
|
44495 |
public void unsetTime() {
|
| - |
|
44496 |
__isset_bit_vector.clear(__TIME_ISSET_ID);
|
| - |
|
44497 |
}
|
| - |
|
44498 |
|
| - |
|
44499 |
/** Returns true if field time is set (has been assigned a value) and false otherwise */
|
| - |
|
44500 |
public boolean isSetTime() {
|
| - |
|
44501 |
return __isset_bit_vector.get(__TIME_ISSET_ID);
|
| - |
|
44502 |
}
|
| - |
|
44503 |
|
| - |
|
44504 |
public void setTimeIsSet(boolean value) {
|
| - |
|
44505 |
__isset_bit_vector.set(__TIME_ISSET_ID, value);
|
| - |
|
44506 |
}
|
| - |
|
44507 |
|
| 44461 |
public void setFieldValue(_Fields field, Object value) {
|
44508 |
public void setFieldValue(_Fields field, Object value) {
|
| 44462 |
switch (field) {
|
44509 |
switch (field) {
|
| 44463 |
case AMAZON_INVENTORY_SNAPSHOT:
|
44510 |
case AMAZON_INVENTORY_SNAPSHOT:
|
| 44464 |
if (value == null) {
|
44511 |
if (value == null) {
|
| 44465 |
unsetAmazonInventorySnapshot();
|
44512 |
unsetAmazonInventorySnapshot();
|
| 44466 |
} else {
|
44513 |
} else {
|
| 44467 |
setAmazonInventorySnapshot((AmazonInventorySnapshot)value);
|
44514 |
setAmazonInventorySnapshot((AmazonInventorySnapshot)value);
|
| 44468 |
}
|
44515 |
}
|
| 44469 |
break;
|
44516 |
break;
|
| 44470 |
|
44517 |
|
| - |
|
44518 |
case TIME:
|
| - |
|
44519 |
if (value == null) {
|
| - |
|
44520 |
unsetTime();
|
| - |
|
44521 |
} else {
|
| - |
|
44522 |
setTime((Long)value);
|
| - |
|
44523 |
}
|
| - |
|
44524 |
break;
|
| - |
|
44525 |
|
| 44471 |
}
|
44526 |
}
|
| 44472 |
}
|
44527 |
}
|
| 44473 |
|
44528 |
|
| 44474 |
public Object getFieldValue(_Fields field) {
|
44529 |
public Object getFieldValue(_Fields field) {
|
| 44475 |
switch (field) {
|
44530 |
switch (field) {
|
| 44476 |
case AMAZON_INVENTORY_SNAPSHOT:
|
44531 |
case AMAZON_INVENTORY_SNAPSHOT:
|
| 44477 |
return getAmazonInventorySnapshot();
|
44532 |
return getAmazonInventorySnapshot();
|
| 44478 |
|
44533 |
|
| - |
|
44534 |
case TIME:
|
| - |
|
44535 |
return Long.valueOf(getTime());
|
| - |
|
44536 |
|
| 44479 |
}
|
44537 |
}
|
| 44480 |
throw new IllegalStateException();
|
44538 |
throw new IllegalStateException();
|
| 44481 |
}
|
44539 |
}
|
| 44482 |
|
44540 |
|
| 44483 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
44541 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 44487... |
Line 44545... |
| 44487 |
}
|
44545 |
}
|
| 44488 |
|
44546 |
|
| 44489 |
switch (field) {
|
44547 |
switch (field) {
|
| 44490 |
case AMAZON_INVENTORY_SNAPSHOT:
|
44548 |
case AMAZON_INVENTORY_SNAPSHOT:
|
| 44491 |
return isSetAmazonInventorySnapshot();
|
44549 |
return isSetAmazonInventorySnapshot();
|
| - |
|
44550 |
case TIME:
|
| - |
|
44551 |
return isSetTime();
|
| 44492 |
}
|
44552 |
}
|
| 44493 |
throw new IllegalStateException();
|
44553 |
throw new IllegalStateException();
|
| 44494 |
}
|
44554 |
}
|
| 44495 |
|
44555 |
|
| 44496 |
@Override
|
44556 |
@Override
|
| Line 44513... |
Line 44573... |
| 44513 |
return false;
|
44573 |
return false;
|
| 44514 |
if (!this.amazonInventorySnapshot.equals(that.amazonInventorySnapshot))
|
44574 |
if (!this.amazonInventorySnapshot.equals(that.amazonInventorySnapshot))
|
| 44515 |
return false;
|
44575 |
return false;
|
| 44516 |
}
|
44576 |
}
|
| 44517 |
|
44577 |
|
| - |
|
44578 |
boolean this_present_time = true;
|
| - |
|
44579 |
boolean that_present_time = true;
|
| - |
|
44580 |
if (this_present_time || that_present_time) {
|
| - |
|
44581 |
if (!(this_present_time && that_present_time))
|
| - |
|
44582 |
return false;
|
| - |
|
44583 |
if (this.time != that.time)
|
| - |
|
44584 |
return false;
|
| - |
|
44585 |
}
|
| - |
|
44586 |
|
| 44518 |
return true;
|
44587 |
return true;
|
| 44519 |
}
|
44588 |
}
|
| 44520 |
|
44589 |
|
| 44521 |
@Override
|
44590 |
@Override
|
| 44522 |
public int hashCode() {
|
44591 |
public int hashCode() {
|
| Line 44539... |
Line 44608... |
| 44539 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.amazonInventorySnapshot, typedOther.amazonInventorySnapshot);
|
44608 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.amazonInventorySnapshot, typedOther.amazonInventorySnapshot);
|
| 44540 |
if (lastComparison != 0) {
|
44609 |
if (lastComparison != 0) {
|
| 44541 |
return lastComparison;
|
44610 |
return lastComparison;
|
| 44542 |
}
|
44611 |
}
|
| 44543 |
}
|
44612 |
}
|
| - |
|
44613 |
lastComparison = Boolean.valueOf(isSetTime()).compareTo(typedOther.isSetTime());
|
| - |
|
44614 |
if (lastComparison != 0) {
|
| - |
|
44615 |
return lastComparison;
|
| - |
|
44616 |
}
|
| - |
|
44617 |
if (isSetTime()) {
|
| - |
|
44618 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.time, typedOther.time);
|
| - |
|
44619 |
if (lastComparison != 0) {
|
| - |
|
44620 |
return lastComparison;
|
| - |
|
44621 |
}
|
| - |
|
44622 |
}
|
| 44544 |
return 0;
|
44623 |
return 0;
|
| 44545 |
}
|
44624 |
}
|
| 44546 |
|
44625 |
|
| 44547 |
public _Fields fieldForId(int fieldId) {
|
44626 |
public _Fields fieldForId(int fieldId) {
|
| 44548 |
return _Fields.findByThriftId(fieldId);
|
44627 |
return _Fields.findByThriftId(fieldId);
|
| Line 44564... |
Line 44643... |
| 44564 |
this.amazonInventorySnapshot.read(iprot);
|
44643 |
this.amazonInventorySnapshot.read(iprot);
|
| 44565 |
} else {
|
44644 |
} else {
|
| 44566 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
44645 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 44567 |
}
|
44646 |
}
|
| 44568 |
break;
|
44647 |
break;
|
| - |
|
44648 |
case 2: // TIME
|
| - |
|
44649 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
44650 |
this.time = iprot.readI64();
|
| - |
|
44651 |
setTimeIsSet(true);
|
| - |
|
44652 |
} else {
|
| - |
|
44653 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
44654 |
}
|
| - |
|
44655 |
break;
|
| 44569 |
default:
|
44656 |
default:
|
| 44570 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
44657 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 44571 |
}
|
44658 |
}
|
| 44572 |
iprot.readFieldEnd();
|
44659 |
iprot.readFieldEnd();
|
| 44573 |
}
|
44660 |
}
|
| Line 44582... |
Line 44669... |
| 44582 |
if (this.amazonInventorySnapshot != null) {
|
44669 |
if (this.amazonInventorySnapshot != null) {
|
| 44583 |
oprot.writeFieldBegin(AMAZON_INVENTORY_SNAPSHOT_FIELD_DESC);
|
44670 |
oprot.writeFieldBegin(AMAZON_INVENTORY_SNAPSHOT_FIELD_DESC);
|
| 44584 |
this.amazonInventorySnapshot.write(oprot);
|
44671 |
this.amazonInventorySnapshot.write(oprot);
|
| 44585 |
oprot.writeFieldEnd();
|
44672 |
oprot.writeFieldEnd();
|
| 44586 |
}
|
44673 |
}
|
| - |
|
44674 |
oprot.writeFieldBegin(TIME_FIELD_DESC);
|
| - |
|
44675 |
oprot.writeI64(this.time);
|
| - |
|
44676 |
oprot.writeFieldEnd();
|
| 44587 |
oprot.writeFieldStop();
|
44677 |
oprot.writeFieldStop();
|
| 44588 |
oprot.writeStructEnd();
|
44678 |
oprot.writeStructEnd();
|
| 44589 |
}
|
44679 |
}
|
| 44590 |
|
44680 |
|
| 44591 |
@Override
|
44681 |
@Override
|
| Line 44598... |
Line 44688... |
| 44598 |
sb.append("null");
|
44688 |
sb.append("null");
|
| 44599 |
} else {
|
44689 |
} else {
|
| 44600 |
sb.append(this.amazonInventorySnapshot);
|
44690 |
sb.append(this.amazonInventorySnapshot);
|
| 44601 |
}
|
44691 |
}
|
| 44602 |
first = false;
|
44692 |
first = false;
|
| - |
|
44693 |
if (!first) sb.append(", ");
|
| - |
|
44694 |
sb.append("time:");
|
| - |
|
44695 |
sb.append(this.time);
|
| - |
|
44696 |
first = false;
|
| 44603 |
sb.append(")");
|
44697 |
sb.append(")");
|
| 44604 |
return sb.toString();
|
44698 |
return sb.toString();
|
| 44605 |
}
|
44699 |
}
|
| 44606 |
|
44700 |
|
| 44607 |
public void validate() throws org.apache.thrift.TException {
|
44701 |
public void validate() throws org.apache.thrift.TException {
|
| Line 44616... |
Line 44710... |
| 44616 |
}
|
44710 |
}
|
| 44617 |
}
|
44711 |
}
|
| 44618 |
|
44712 |
|
| 44619 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
44713 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 44620 |
try {
|
44714 |
try {
|
| - |
|
44715 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
44716 |
__isset_bit_vector = new BitSet(1);
|
| 44621 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
44717 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 44622 |
} catch (org.apache.thrift.TException te) {
|
44718 |
} catch (org.apache.thrift.TException te) {
|
| 44623 |
throw new java.io.IOException(te);
|
44719 |
throw new java.io.IOException(te);
|
| 44624 |
}
|
44720 |
}
|
| 44625 |
}
|
44721 |
}
|
| Line 54173... |
Line 54269... |
| 54173 |
}
|
54269 |
}
|
| 54174 |
|
54270 |
|
| 54175 |
public static class addOrUpdateFlipkartInventorySnapshot_args implements org.apache.thrift.TBase<addOrUpdateFlipkartInventorySnapshot_args, addOrUpdateFlipkartInventorySnapshot_args._Fields>, java.io.Serializable, Cloneable {
|
54271 |
public static class addOrUpdateFlipkartInventorySnapshot_args implements org.apache.thrift.TBase<addOrUpdateFlipkartInventorySnapshot_args, addOrUpdateFlipkartInventorySnapshot_args._Fields>, java.io.Serializable, Cloneable {
|
| 54176 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addOrUpdateFlipkartInventorySnapshot_args");
|
54272 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addOrUpdateFlipkartInventorySnapshot_args");
|
| 54177 |
|
54273 |
|
| 54178 |
private static final org.apache.thrift.protocol.TField FLIPKART_INVENTORY_SNAPSHOT_FIELD_DESC = new org.apache.thrift.protocol.TField("flipkartInventorySnapshot", org.apache.thrift.protocol.TType.LIST, (short)-1);
|
54274 |
private static final org.apache.thrift.protocol.TField FLIPKART_INVENTORY_SNAPSHOT_FIELD_DESC = new org.apache.thrift.protocol.TField("flipkartInventorySnapshot", org.apache.thrift.protocol.TType.LIST, (short)1);
|
| - |
|
54275 |
private static final org.apache.thrift.protocol.TField TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("time", org.apache.thrift.protocol.TType.I64, (short)2);
|
| 54179 |
|
54276 |
|
| 54180 |
private List<FlipkartInventorySnapshot> flipkartInventorySnapshot; // required
|
54277 |
private List<FlipkartInventorySnapshot> flipkartInventorySnapshot; // required
|
| - |
|
54278 |
private long time; // required
|
| 54181 |
|
54279 |
|
| 54182 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
54280 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 54183 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
54281 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 54184 |
FLIPKART_INVENTORY_SNAPSHOT((short)-1, "flipkartInventorySnapshot");
|
54282 |
FLIPKART_INVENTORY_SNAPSHOT((short)1, "flipkartInventorySnapshot"),
|
| - |
|
54283 |
TIME((short)2, "time");
|
| 54185 |
|
54284 |
|
| 54186 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
54285 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 54187 |
|
54286 |
|
| 54188 |
static {
|
54287 |
static {
|
| 54189 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
54288 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 54194... |
Line 54293... |
| 54194 |
/**
|
54293 |
/**
|
| 54195 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
54294 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
| 54196 |
*/
|
54295 |
*/
|
| 54197 |
public static _Fields findByThriftId(int fieldId) {
|
54296 |
public static _Fields findByThriftId(int fieldId) {
|
| 54198 |
switch(fieldId) {
|
54297 |
switch(fieldId) {
|
| 54199 |
case -1: // FLIPKART_INVENTORY_SNAPSHOT
|
54298 |
case 1: // FLIPKART_INVENTORY_SNAPSHOT
|
| 54200 |
return FLIPKART_INVENTORY_SNAPSHOT;
|
54299 |
return FLIPKART_INVENTORY_SNAPSHOT;
|
| - |
|
54300 |
case 2: // TIME
|
| - |
|
54301 |
return TIME;
|
| 54201 |
default:
|
54302 |
default:
|
| 54202 |
return null;
|
54303 |
return null;
|
| 54203 |
}
|
54304 |
}
|
| 54204 |
}
|
54305 |
}
|
| 54205 |
|
54306 |
|
| Line 54236... |
Line 54337... |
| 54236 |
return _fieldName;
|
54337 |
return _fieldName;
|
| 54237 |
}
|
54338 |
}
|
| 54238 |
}
|
54339 |
}
|
| 54239 |
|
54340 |
|
| 54240 |
// isset id assignments
|
54341 |
// isset id assignments
|
| - |
|
54342 |
private static final int __TIME_ISSET_ID = 0;
|
| - |
|
54343 |
private BitSet __isset_bit_vector = new BitSet(1);
|
| 54241 |
|
54344 |
|
| 54242 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
54345 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 54243 |
static {
|
54346 |
static {
|
| 54244 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
54347 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 54245 |
tmpMap.put(_Fields.FLIPKART_INVENTORY_SNAPSHOT, new org.apache.thrift.meta_data.FieldMetaData("flipkartInventorySnapshot", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
54348 |
tmpMap.put(_Fields.FLIPKART_INVENTORY_SNAPSHOT, new org.apache.thrift.meta_data.FieldMetaData("flipkartInventorySnapshot", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 54246 |
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
|
54349 |
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
|
| 54247 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, FlipkartInventorySnapshot.class))));
|
54350 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, FlipkartInventorySnapshot.class))));
|
| - |
|
54351 |
tmpMap.put(_Fields.TIME, new org.apache.thrift.meta_data.FieldMetaData("time", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
54352 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 54248 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
54353 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 54249 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addOrUpdateFlipkartInventorySnapshot_args.class, metaDataMap);
|
54354 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addOrUpdateFlipkartInventorySnapshot_args.class, metaDataMap);
|
| 54250 |
}
|
54355 |
}
|
| 54251 |
|
54356 |
|
| 54252 |
public addOrUpdateFlipkartInventorySnapshot_args() {
|
54357 |
public addOrUpdateFlipkartInventorySnapshot_args() {
|
| 54253 |
}
|
54358 |
}
|
| 54254 |
|
54359 |
|
| 54255 |
public addOrUpdateFlipkartInventorySnapshot_args(
|
54360 |
public addOrUpdateFlipkartInventorySnapshot_args(
|
| 54256 |
List<FlipkartInventorySnapshot> flipkartInventorySnapshot)
|
54361 |
List<FlipkartInventorySnapshot> flipkartInventorySnapshot,
|
| - |
|
54362 |
long time)
|
| 54257 |
{
|
54363 |
{
|
| 54258 |
this();
|
54364 |
this();
|
| 54259 |
this.flipkartInventorySnapshot = flipkartInventorySnapshot;
|
54365 |
this.flipkartInventorySnapshot = flipkartInventorySnapshot;
|
| - |
|
54366 |
this.time = time;
|
| - |
|
54367 |
setTimeIsSet(true);
|
| 54260 |
}
|
54368 |
}
|
| 54261 |
|
54369 |
|
| 54262 |
/**
|
54370 |
/**
|
| 54263 |
* Performs a deep copy on <i>other</i>.
|
54371 |
* Performs a deep copy on <i>other</i>.
|
| 54264 |
*/
|
54372 |
*/
|
| 54265 |
public addOrUpdateFlipkartInventorySnapshot_args(addOrUpdateFlipkartInventorySnapshot_args other) {
|
54373 |
public addOrUpdateFlipkartInventorySnapshot_args(addOrUpdateFlipkartInventorySnapshot_args other) {
|
| - |
|
54374 |
__isset_bit_vector.clear();
|
| - |
|
54375 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 54266 |
if (other.isSetFlipkartInventorySnapshot()) {
|
54376 |
if (other.isSetFlipkartInventorySnapshot()) {
|
| 54267 |
List<FlipkartInventorySnapshot> __this__flipkartInventorySnapshot = new ArrayList<FlipkartInventorySnapshot>();
|
54377 |
List<FlipkartInventorySnapshot> __this__flipkartInventorySnapshot = new ArrayList<FlipkartInventorySnapshot>();
|
| 54268 |
for (FlipkartInventorySnapshot other_element : other.flipkartInventorySnapshot) {
|
54378 |
for (FlipkartInventorySnapshot other_element : other.flipkartInventorySnapshot) {
|
| 54269 |
__this__flipkartInventorySnapshot.add(new FlipkartInventorySnapshot(other_element));
|
54379 |
__this__flipkartInventorySnapshot.add(new FlipkartInventorySnapshot(other_element));
|
| 54270 |
}
|
54380 |
}
|
| 54271 |
this.flipkartInventorySnapshot = __this__flipkartInventorySnapshot;
|
54381 |
this.flipkartInventorySnapshot = __this__flipkartInventorySnapshot;
|
| 54272 |
}
|
54382 |
}
|
| - |
|
54383 |
this.time = other.time;
|
| 54273 |
}
|
54384 |
}
|
| 54274 |
|
54385 |
|
| 54275 |
public addOrUpdateFlipkartInventorySnapshot_args deepCopy() {
|
54386 |
public addOrUpdateFlipkartInventorySnapshot_args deepCopy() {
|
| 54276 |
return new addOrUpdateFlipkartInventorySnapshot_args(this);
|
54387 |
return new addOrUpdateFlipkartInventorySnapshot_args(this);
|
| 54277 |
}
|
54388 |
}
|
| 54278 |
|
54389 |
|
| 54279 |
@Override
|
54390 |
@Override
|
| 54280 |
public void clear() {
|
54391 |
public void clear() {
|
| 54281 |
this.flipkartInventorySnapshot = null;
|
54392 |
this.flipkartInventorySnapshot = null;
|
| - |
|
54393 |
setTimeIsSet(false);
|
| - |
|
54394 |
this.time = 0;
|
| 54282 |
}
|
54395 |
}
|
| 54283 |
|
54396 |
|
| 54284 |
public int getFlipkartInventorySnapshotSize() {
|
54397 |
public int getFlipkartInventorySnapshotSize() {
|
| 54285 |
return (this.flipkartInventorySnapshot == null) ? 0 : this.flipkartInventorySnapshot.size();
|
54398 |
return (this.flipkartInventorySnapshot == null) ? 0 : this.flipkartInventorySnapshot.size();
|
| 54286 |
}
|
54399 |
}
|
| Line 54317... |
Line 54430... |
| 54317 |
if (!value) {
|
54430 |
if (!value) {
|
| 54318 |
this.flipkartInventorySnapshot = null;
|
54431 |
this.flipkartInventorySnapshot = null;
|
| 54319 |
}
|
54432 |
}
|
| 54320 |
}
|
54433 |
}
|
| 54321 |
|
54434 |
|
| - |
|
54435 |
public long getTime() {
|
| - |
|
54436 |
return this.time;
|
| - |
|
54437 |
}
|
| - |
|
54438 |
|
| - |
|
54439 |
public void setTime(long time) {
|
| - |
|
54440 |
this.time = time;
|
| - |
|
54441 |
setTimeIsSet(true);
|
| - |
|
54442 |
}
|
| - |
|
54443 |
|
| - |
|
54444 |
public void unsetTime() {
|
| - |
|
54445 |
__isset_bit_vector.clear(__TIME_ISSET_ID);
|
| - |
|
54446 |
}
|
| - |
|
54447 |
|
| - |
|
54448 |
/** Returns true if field time is set (has been assigned a value) and false otherwise */
|
| - |
|
54449 |
public boolean isSetTime() {
|
| - |
|
54450 |
return __isset_bit_vector.get(__TIME_ISSET_ID);
|
| - |
|
54451 |
}
|
| - |
|
54452 |
|
| - |
|
54453 |
public void setTimeIsSet(boolean value) {
|
| - |
|
54454 |
__isset_bit_vector.set(__TIME_ISSET_ID, value);
|
| - |
|
54455 |
}
|
| - |
|
54456 |
|
| 54322 |
public void setFieldValue(_Fields field, Object value) {
|
54457 |
public void setFieldValue(_Fields field, Object value) {
|
| 54323 |
switch (field) {
|
54458 |
switch (field) {
|
| 54324 |
case FLIPKART_INVENTORY_SNAPSHOT:
|
54459 |
case FLIPKART_INVENTORY_SNAPSHOT:
|
| 54325 |
if (value == null) {
|
54460 |
if (value == null) {
|
| 54326 |
unsetFlipkartInventorySnapshot();
|
54461 |
unsetFlipkartInventorySnapshot();
|
| 54327 |
} else {
|
54462 |
} else {
|
| 54328 |
setFlipkartInventorySnapshot((List<FlipkartInventorySnapshot>)value);
|
54463 |
setFlipkartInventorySnapshot((List<FlipkartInventorySnapshot>)value);
|
| 54329 |
}
|
54464 |
}
|
| 54330 |
break;
|
54465 |
break;
|
| 54331 |
|
54466 |
|
| - |
|
54467 |
case TIME:
|
| - |
|
54468 |
if (value == null) {
|
| - |
|
54469 |
unsetTime();
|
| - |
|
54470 |
} else {
|
| - |
|
54471 |
setTime((Long)value);
|
| - |
|
54472 |
}
|
| - |
|
54473 |
break;
|
| - |
|
54474 |
|
| 54332 |
}
|
54475 |
}
|
| 54333 |
}
|
54476 |
}
|
| 54334 |
|
54477 |
|
| 54335 |
public Object getFieldValue(_Fields field) {
|
54478 |
public Object getFieldValue(_Fields field) {
|
| 54336 |
switch (field) {
|
54479 |
switch (field) {
|
| 54337 |
case FLIPKART_INVENTORY_SNAPSHOT:
|
54480 |
case FLIPKART_INVENTORY_SNAPSHOT:
|
| 54338 |
return getFlipkartInventorySnapshot();
|
54481 |
return getFlipkartInventorySnapshot();
|
| 54339 |
|
54482 |
|
| - |
|
54483 |
case TIME:
|
| - |
|
54484 |
return Long.valueOf(getTime());
|
| - |
|
54485 |
|
| 54340 |
}
|
54486 |
}
|
| 54341 |
throw new IllegalStateException();
|
54487 |
throw new IllegalStateException();
|
| 54342 |
}
|
54488 |
}
|
| 54343 |
|
54489 |
|
| 54344 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
54490 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 54348... |
Line 54494... |
| 54348 |
}
|
54494 |
}
|
| 54349 |
|
54495 |
|
| 54350 |
switch (field) {
|
54496 |
switch (field) {
|
| 54351 |
case FLIPKART_INVENTORY_SNAPSHOT:
|
54497 |
case FLIPKART_INVENTORY_SNAPSHOT:
|
| 54352 |
return isSetFlipkartInventorySnapshot();
|
54498 |
return isSetFlipkartInventorySnapshot();
|
| - |
|
54499 |
case TIME:
|
| - |
|
54500 |
return isSetTime();
|
| 54353 |
}
|
54501 |
}
|
| 54354 |
throw new IllegalStateException();
|
54502 |
throw new IllegalStateException();
|
| 54355 |
}
|
54503 |
}
|
| 54356 |
|
54504 |
|
| 54357 |
@Override
|
54505 |
@Override
|
| Line 54374... |
Line 54522... |
| 54374 |
return false;
|
54522 |
return false;
|
| 54375 |
if (!this.flipkartInventorySnapshot.equals(that.flipkartInventorySnapshot))
|
54523 |
if (!this.flipkartInventorySnapshot.equals(that.flipkartInventorySnapshot))
|
| 54376 |
return false;
|
54524 |
return false;
|
| 54377 |
}
|
54525 |
}
|
| 54378 |
|
54526 |
|
| - |
|
54527 |
boolean this_present_time = true;
|
| - |
|
54528 |
boolean that_present_time = true;
|
| - |
|
54529 |
if (this_present_time || that_present_time) {
|
| - |
|
54530 |
if (!(this_present_time && that_present_time))
|
| - |
|
54531 |
return false;
|
| - |
|
54532 |
if (this.time != that.time)
|
| - |
|
54533 |
return false;
|
| - |
|
54534 |
}
|
| - |
|
54535 |
|
| 54379 |
return true;
|
54536 |
return true;
|
| 54380 |
}
|
54537 |
}
|
| 54381 |
|
54538 |
|
| 54382 |
@Override
|
54539 |
@Override
|
| 54383 |
public int hashCode() {
|
54540 |
public int hashCode() {
|
| Line 54400... |
Line 54557... |
| 54400 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.flipkartInventorySnapshot, typedOther.flipkartInventorySnapshot);
|
54557 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.flipkartInventorySnapshot, typedOther.flipkartInventorySnapshot);
|
| 54401 |
if (lastComparison != 0) {
|
54558 |
if (lastComparison != 0) {
|
| 54402 |
return lastComparison;
|
54559 |
return lastComparison;
|
| 54403 |
}
|
54560 |
}
|
| 54404 |
}
|
54561 |
}
|
| - |
|
54562 |
lastComparison = Boolean.valueOf(isSetTime()).compareTo(typedOther.isSetTime());
|
| - |
|
54563 |
if (lastComparison != 0) {
|
| - |
|
54564 |
return lastComparison;
|
| - |
|
54565 |
}
|
| - |
|
54566 |
if (isSetTime()) {
|
| - |
|
54567 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.time, typedOther.time);
|
| - |
|
54568 |
if (lastComparison != 0) {
|
| - |
|
54569 |
return lastComparison;
|
| - |
|
54570 |
}
|
| - |
|
54571 |
}
|
| 54405 |
return 0;
|
54572 |
return 0;
|
| 54406 |
}
|
54573 |
}
|
| 54407 |
|
54574 |
|
| 54408 |
public _Fields fieldForId(int fieldId) {
|
54575 |
public _Fields fieldForId(int fieldId) {
|
| 54409 |
return _Fields.findByThriftId(fieldId);
|
54576 |
return _Fields.findByThriftId(fieldId);
|
| Line 54417... |
Line 54584... |
| 54417 |
field = iprot.readFieldBegin();
|
54584 |
field = iprot.readFieldBegin();
|
| 54418 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
54585 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| 54419 |
break;
|
54586 |
break;
|
| 54420 |
}
|
54587 |
}
|
| 54421 |
switch (field.id) {
|
54588 |
switch (field.id) {
|
| 54422 |
case -1: // FLIPKART_INVENTORY_SNAPSHOT
|
54589 |
case 1: // FLIPKART_INVENTORY_SNAPSHOT
|
| 54423 |
if (field.type == org.apache.thrift.protocol.TType.LIST) {
|
54590 |
if (field.type == org.apache.thrift.protocol.TType.LIST) {
|
| 54424 |
{
|
54591 |
{
|
| 54425 |
org.apache.thrift.protocol.TList _list167 = iprot.readListBegin();
|
54592 |
org.apache.thrift.protocol.TList _list167 = iprot.readListBegin();
|
| 54426 |
this.flipkartInventorySnapshot = new ArrayList<FlipkartInventorySnapshot>(_list167.size);
|
54593 |
this.flipkartInventorySnapshot = new ArrayList<FlipkartInventorySnapshot>(_list167.size);
|
| 54427 |
for (int _i168 = 0; _i168 < _list167.size; ++_i168)
|
54594 |
for (int _i168 = 0; _i168 < _list167.size; ++_i168)
|
| Line 54435... |
Line 54602... |
| 54435 |
}
|
54602 |
}
|
| 54436 |
} else {
|
54603 |
} else {
|
| 54437 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
54604 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 54438 |
}
|
54605 |
}
|
| 54439 |
break;
|
54606 |
break;
|
| - |
|
54607 |
case 2: // TIME
|
| - |
|
54608 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
54609 |
this.time = iprot.readI64();
|
| - |
|
54610 |
setTimeIsSet(true);
|
| - |
|
54611 |
} else {
|
| - |
|
54612 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
54613 |
}
|
| - |
|
54614 |
break;
|
| 54440 |
default:
|
54615 |
default:
|
| 54441 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
54616 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 54442 |
}
|
54617 |
}
|
| 54443 |
iprot.readFieldEnd();
|
54618 |
iprot.readFieldEnd();
|
| 54444 |
}
|
54619 |
}
|
| Line 54460... |
Line 54635... |
| 54460 |
}
|
54635 |
}
|
| 54461 |
oprot.writeListEnd();
|
54636 |
oprot.writeListEnd();
|
| 54462 |
}
|
54637 |
}
|
| 54463 |
oprot.writeFieldEnd();
|
54638 |
oprot.writeFieldEnd();
|
| 54464 |
}
|
54639 |
}
|
| - |
|
54640 |
oprot.writeFieldBegin(TIME_FIELD_DESC);
|
| - |
|
54641 |
oprot.writeI64(this.time);
|
| - |
|
54642 |
oprot.writeFieldEnd();
|
| 54465 |
oprot.writeFieldStop();
|
54643 |
oprot.writeFieldStop();
|
| 54466 |
oprot.writeStructEnd();
|
54644 |
oprot.writeStructEnd();
|
| 54467 |
}
|
54645 |
}
|
| 54468 |
|
54646 |
|
| 54469 |
@Override
|
54647 |
@Override
|
| Line 54476... |
Line 54654... |
| 54476 |
sb.append("null");
|
54654 |
sb.append("null");
|
| 54477 |
} else {
|
54655 |
} else {
|
| 54478 |
sb.append(this.flipkartInventorySnapshot);
|
54656 |
sb.append(this.flipkartInventorySnapshot);
|
| 54479 |
}
|
54657 |
}
|
| 54480 |
first = false;
|
54658 |
first = false;
|
| - |
|
54659 |
if (!first) sb.append(", ");
|
| - |
|
54660 |
sb.append("time:");
|
| - |
|
54661 |
sb.append(this.time);
|
| - |
|
54662 |
first = false;
|
| 54481 |
sb.append(")");
|
54663 |
sb.append(")");
|
| 54482 |
return sb.toString();
|
54664 |
return sb.toString();
|
| 54483 |
}
|
54665 |
}
|
| 54484 |
|
54666 |
|
| 54485 |
public void validate() throws org.apache.thrift.TException {
|
54667 |
public void validate() throws org.apache.thrift.TException {
|
| Line 54494... |
Line 54676... |
| 54494 |
}
|
54676 |
}
|
| 54495 |
}
|
54677 |
}
|
| 54496 |
|
54678 |
|
| 54497 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
54679 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 54498 |
try {
|
54680 |
try {
|
| - |
|
54681 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
54682 |
__isset_bit_vector = new BitSet(1);
|
| 54499 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
54683 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 54500 |
} catch (org.apache.thrift.TException te) {
|
54684 |
} catch (org.apache.thrift.TException te) {
|
| 54501 |
throw new java.io.IOException(te);
|
54685 |
throw new java.io.IOException(te);
|
| 54502 |
}
|
54686 |
}
|
| 54503 |
}
|
54687 |
}
|