thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anand Nalya <anand.na...@gmail.com>
Subject Return results list in batches
Date Sat, 22 Mar 2014 05:12:18 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message