Pekka Enberg
3150962cb7
index: Fix index view schema when primary key component is indexed
...
This fixes index view schema to exclude indexed column when a primary
key component like clustering key is indexed. This fixes a server crash
when CREATE INDEX statement is executed on a clustering key column.
2017-11-03 10:12:58 +02:00
Pekka Enberg
678a6f6e2f
index: Implement index::supports_expression() for EQ operator
2017-11-03 09:10:43 +02:00
Pekka Enberg
1ae9343f68
index: Fix index::supports_expression() operator parameter type
...
The cql3::operator_type is supposed to be passed around as const
reference, not by value; otherwise equality won't work.
2017-11-03 09:10:43 +02:00
Pekka Enberg
ed4c96c025
index: Add secondary_index_manager::create_view_for_index()
...
This patch adds a create_view_for_index() function, which creates a
view_ptr for index_metadata.
2017-10-05 10:07:44 +03:00
Pekka Enberg
a809ea902e
index: Add target_parser::parse() helper
2017-10-05 10:07:44 +03:00
Pekka Enberg
50943ce592
index: Add secondary_index_manager::get_dependent_indices()
2017-10-05 10:07:44 +03:00
Pekka Enberg
9ebd8be82b
index: Add secondary_index_manager::reload()
...
This patch adds a reload() function, which updates the secondary index
manager index map to match underlying column family indices.
2017-09-18 14:31:35 +03:00
Pekka Enberg
2ae6b141e5
index: Add secondary_index_manager::list_indexes()
2017-09-18 14:27:35 +03:00
Pekka Enberg
870de26e35
index: Add index class
...
Add a simple index class, which represents an instantiated index.
2017-08-24 14:00:02 +03:00
Pekka Enberg
d63a650b3f
index: Pass column_family to secondary_index_manager constructor
...
We need column family for various secondary index manager operations.
2017-08-24 14:00:02 +03:00
Pekka Enberg
981e320d54
database: Make secondary index manager per-column family
...
Make the secondary index manager per-column family like in Apache
Cassandra to keep CQL front-end similar between the two codebases.
2017-08-24 14:00:02 +03:00
Pekka Enberg
4b4e4e6878
index: Add secondary_index_manager
2017-05-08 10:03:28 +03:00