Duarte Nunes
bfb8a3c172
materialized views: Replace db::view::view class
...
The write path uses a base schema at a particular version, and we
want it to use the materialized views at the corresponding version.
To achieve this, we need to map the state currently in db::view::view
to a particular schema version, which this patch does by introducing
the view_info class to hold the state previously in db::view::view,
and by having a view schema directly point to it.
The changes in the patch are thus:
1) Introduce view_info to hold the extra view state;
2) Point to the view_info from the schema;
3) Make the functions in the now stateless db::view::view non-member;
4) Remove the db::view::view class.
All changes are structural and don't affect current behavior.
Signed-off-by: Duarte Nunes <duarte@scylladb.com >
2017-03-15 15:50:05 +01:00
..
2016-12-20 13:06:11 +00:00
2016-11-03 11:48:57 -04:00
2016-11-03 11:48:57 -04:00
2017-03-15 15:50:05 +01:00
2016-11-03 11:48:57 -04:00
2016-12-20 13:06:11 +00:00
2016-11-03 11:48:57 -04:00
2016-04-19 11:49:05 +00:00
2016-04-19 11:49:05 +00:00
2017-03-15 15:50:05 +01:00
2016-12-20 13:06:11 +00:00
2016-11-03 11:48:57 -04:00
2016-11-03 11:48:57 -04:00
2016-11-03 11:48:57 -04:00
2016-11-03 11:48:57 -04:00
2017-03-09 12:20:17 +01:00
2017-03-09 09:27:43 +00:00
2016-04-08 08:12:47 +03:00
2016-12-20 13:06:11 +00:00
2016-12-20 13:06:11 +00:00
2016-12-20 13:06:11 +00:00
2016-05-31 09:09:21 +03:00
2016-11-03 11:48:57 -04:00
2016-11-03 11:48:57 -04:00
2016-11-03 11:48:57 -04:00
2016-11-03 11:48:57 -04:00
2017-02-02 10:35:14 +00:00
2016-11-07 10:44:24 +01:00
2016-11-03 11:48:57 -04:00
2016-11-03 11:48:57 -04:00
2016-04-11 09:10:41 +00:00
2016-04-11 09:10:41 +00:00
2016-12-20 13:06:11 +00:00
2016-11-07 10:44:24 +01:00
2016-11-03 11:49:15 -04:00
2016-11-03 11:49:15 -04:00
2016-11-03 11:48:57 -04:00
2016-11-03 11:48:57 -04:00
2016-11-03 11:48:57 -04:00
2016-11-03 11:48:57 -04:00
2016-11-03 11:48:57 -04:00
2016-11-03 11:48:57 -04:00
2016-04-19 11:49:06 +00:00
2016-04-11 09:10:41 +00:00
2017-03-15 15:50:05 +01:00
2016-12-20 13:06:11 +00:00
2016-04-19 11:49:05 +00:00
2016-04-19 11:49:05 +00:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-05-11 16:02:22 +03:00
2016-05-11 16:02:22 +03:00
2016-04-19 11:49:05 +00:00
2016-04-19 11:49:05 +00:00
2017-01-26 13:50:04 +02:00
2016-04-19 11:49:05 +00:00
2017-03-09 09:27:43 +00:00
2017-03-09 09:27:43 +00:00
2016-05-31 09:09:10 +03:00
2016-04-19 11:49:05 +00:00
2016-04-19 11:49:05 +00:00
2016-07-19 18:21:58 +03:00
2016-08-09 10:38:37 +02:00
2016-08-09 10:38:37 +02:00
2016-04-08 08:12:47 +03:00
2016-04-19 11:49:06 +00:00
2016-04-19 11:49:06 +00:00
2016-07-30 23:29:32 +03:00
2016-07-30 23:29:32 +03:00
2017-03-15 15:50:05 +01:00
2017-03-09 09:27:43 +00:00
2016-11-03 11:48:57 -04:00
2016-11-03 11:48:57 -04:00
2017-01-26 13:50:04 +02:00
2016-11-03 11:49:15 -04:00
2016-11-03 11:48:57 -04:00
2016-06-08 16:48:45 +03:00