Datastructure in Java to store table data that contains grouped elements -


enter image description here

what best way represent tables in java contains grouped data in above? data retrieved database need processed , grouped. final aim iterate on data , render html page. performance major concern, solution have in mind have maps inside maps map stores particular group name 'key' , map 'value' in-turn can represent sub-group similar way.

create object can represent column data member fields, keep list or set of these objects. there particular reason cannot this?


Popular posts from this blog

node.js - How do I prevent MongoDB replica set from querying the primary? -

Apache NiFi ExecuteScript: Groovy script to replace Json values via a mapping file -

ios - Rails "as_json" method returning invalid json? -