Files
scylladb/cql3
Tomasz Grabiec 74295a9759 db: Use opaque bytes for cell values instead of boost::any
Storing cells as boost::any objects makes us use expensive
boost::any_cast to access the data. This change replaces boost::any
with bytes object which holds the value in serialized form (the same
as will be used for on-wire format).

If the cell type is atomic, you use fields accessors defined in
atomic_cell class, eg like this:

if (column.type.is_atomic()) {
   if (atomic_cell::is_live(c) {
      auto timestamp = atomic_cell::timestamp(c);
      ...
   }
}

Eventually we could switch to a more officient semi-serialized form
with native byte order but I don't want to introduce it just yet for
simplicity.
2015-02-27 10:59:43 +01:00
..
2015-02-12 19:40:59 +01:00
2015-02-12 19:40:58 +01:00
2015-01-05 14:13:31 +08:00
2015-02-25 15:57:05 +01:00
2015-02-25 15:57:05 +01:00
2015-02-06 10:46:12 +02:00
2015-01-09 13:00:16 +02:00
2015-02-24 15:24:44 +02:00
2015-02-09 10:28:44 +01:00
2015-02-04 10:29:00 +01:00
2015-02-04 10:29:00 +01:00
2015-01-09 13:00:16 +02:00