`oloop_query`.h, `oloop_historgram.h` and `oloop_column.h` should all derive from a query base class to reduce the amount of redundant code.
oloop_query.h,oloop_historgram.handoloop_column.hshould all derive from a query base class to reduce the amount of redundant code.