Tomasz Grabiec
654372f368
schema: Allow regular column names to have arbitrary type
...
Regular columns may have names of arbitrary type. See
https://issues.apache.org/jira/browse/CASSANDRA-8178
Primary key columns are UTF8.
This change also does some refactoring of the schema object to make
the change easier to digest (more encapsulation).
2015-02-04 10:29:00 +01:00
Tomasz Grabiec
4d41d10d99
Extract schema to a separate class
2015-01-29 15:53:05 +01:00
Avi Kivity
80408329e0
db: rename data types to conform to origin conventions
2015-01-05 13:48:38 +02:00
Avi Kivity
1b837160f1
thrift: drop unneeded using declaration
2015-01-05 13:26:55 +02:00
Avi Kivity
833d5c2262
thrift: fix get_slice column index calculations
...
Both lower and upper bound calculations were broken.
Fix by using iterators instead of calculating indices using std::distance().
2014-12-30 15:34:27 +02:00
Avi Kivity
1ce15a9466
thrift: partial support for get_slice()
2014-12-28 13:42:25 +02:00
Avi Kivity
45cd105571
db: sort column names
...
Cassandra allows even regular columns to be treated as a sorted map
(column name -> value), accessing it with get_slice(), so sort the column
names to support this.
2014-12-28 13:42:25 +02:00
Avi Kivity
39176a9439
thrift: partially implement batch_mutate()
...
Only mutate case (not deletion) for ordinary columns.
2014-12-28 10:03:17 +02:00
Avi Kivity
baa16f6692
thrift: stub execute_cql3_query()
...
Allows us to proceed further with cassandra-stress.
2014-12-28 10:03:17 +02:00
Avi Kivity
9951a68836
thrift: add exception helpers
...
Thrift-generated exceptions lack reasonable constructors, so add helpers.
2014-12-28 10:03:17 +02:00
Avi Kivity
de349cd205
db: store keys and values as serialized bytes, not boost::any
...
While less efficient, it's similar to what origin does, so will be easier
to follow.
2014-12-28 10:03:17 +02:00
Avi Kivity
a7360a3ce1
thrift: implement set_keyspace RPC
2014-12-24 09:40:52 +02:00
Avi Kivity
72ab87f41f
thrift: support system_add_keyspace
2014-12-23 18:41:29 +02:00
Avi Kivity
4a3f3847e8
thrift: support set_cql_version
2014-12-23 18:41:29 +02:00
Avi Kivity
a49fd99327
thrift: create a database and pass it to the server
...
Not sharded yet.
2014-12-23 18:41:29 +02:00
Avi Kivity
094329a95e
Move apps/seastar/* to top level
2014-12-22 16:15:37 +02:00