public static void main(String[] args) { MySqlImpl db = new MySqlImpl(); DBResultSet rs = db.retrieveResultSet( "select * from tbl_interactions where user_name = 'baolingfeng' and timestamp > '2015-03-20 17:56:54.411' order by timestamp limit 0,10"); for (Entry<String, String> e : rs.getcMeta().entrySet()) { System.out.println(e.getKey() + "/" + e.getValue()); } LowLevelInteraction u = InteractionUtil.fromDBRecord(rs.getRecords().get(0)); }