You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Anand Nalya <an...@gmail.com> on 2014/03/22 06:12:18 UTC
Return results list in batches
Hi,
I've a thrift service that has the following signature:
public List<Map<String,String>> getResults(String query)
Since the result list can be a lot bigger than the RAM, I cannot create the
whole result list in memory before handing it off to thrift. Is there a way
in thrift to fill this resultant list in batches, say 100 items at a time
without any changes on the client side.
Regards,
Anand