Avi Kivity
73d9d3fd64
cql: switch from unique_ptr<function> to shared_ptr<function>
...
The Functions class wants to store functions in a map and hand them out later,
so we need a shared_ptr.
(could have had a map of name -> function factory, maybe one day)
2015-01-14 11:38:41 +02:00
Avi Kivity
1fe6bf687d
db: de-pimpl data_type
...
Since origin tends to cast around, we should allow that too, by exposing
the implementation type and using a shared_ptr instead of a value class.
2015-01-05 15:55:30 +02:00
Avi Kivity
719a7f87f3
cql: add helpers for constructing native aggregate functions
2014-12-31 16:06:28 +02:00
Avi Kivity
f303499d01
cql: fix native_aggregate_function base classes
...
Must be public.
2014-12-31 16:05:50 +02:00
Avi Kivity
66138dc189
cql3: convert NativeAggregateFunction to C++
...
Requires virtual inheritence from functions::function due to an
inheritence diamond.
2014-12-30 09:00:22 +02:00