Issue Details (XML | Word | Printable)

Key: NUCCASSANDRA-21
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Baris ERGUN
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Store Cassandra

Support native Cassandra CQL queries

Created: 19/Feb/14 12:39 PM   Updated: 11/Oct/14 10:15 AM   Resolved: 01/Oct/14 07:32 PM
Component/s: Queries
Affects Version/s: None
Fix Version/s: 4.0.3


 Description  « Hide
We could potentially allow
pm.newQuery("CQL", "{my_cql_query}");

em.createNativeQuery("{my_cql_query}", MyClass.class);

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 22/Apr/14 09:17 AM
FYI For this you will need to create a Cassandra-specific test area in the "tests" repository at "jdo/cassandra". Note that this will be for Cassandra-specific tests only.

Baris ERGUN added a comment - 04/May/14 11:17 AM

Andy Jefferson added a comment - 28/May/14 08:17 PM
Too late for 4.0.0-m4 now.

Andy Jefferson added a comment - 12/Jun/14 08:46 AM
Presumably not being worked on. Too late for 4.0

Andy Jefferson added a comment - 29/Sep/14 08:51 AM
Baris,
as part of this issue, how about updating http://www.datanucleus.org/products/accessplatform/datastores/cassandra.html with more details and example(s) of using CQL so people see how they can use it?

I did a similar thing on this page for NeoDatis
http://www.datanucleus.org/products/accessplatform/datastores/neodatis.html
for its query languages

Baris ERGUN added a comment - 29/Sep/14 09:16 AM
I have added only this line "or even as List<T> where T is the type which you declare with setResultClass before executing the query.". I will detail it then as in your Neodatis example.

Andy Jefferson added a comment - 01/Oct/14 07:32 PM
Marking as fixed since 4.0.3 is released now.
Please raise any other CQL support as separate issue(s)