ResultSet in Thrift ; API and tests