Re: Datastax Driver Mapper & Secondary Indexes

2017-09-26 Thread Nicolas Henneaux
uesday, 26 September 2017 at 15:17 To: user Subject: Re: Datastax Driver Mapper & Secondary Indexes If you're looking for schema generation from Bean annotations: https://github.com/doanduyhai/Achilles/wiki/DDL-Scripts-Generation On Tue, Sep 26, 2017 at 2:50 PM, Daniel Hölbling-Inzko mail

Re: Datastax Driver Mapper & Secondary Indexes

2017-09-26 Thread DuyHai Doan
If you're looking for schema generation from Bean annotations: https://github.com/doanduyhai/Achilles/wiki/DDL-Scripts-Generation On Tue, Sep 26, 2017 at 2:50 PM, Daniel Hölbling-Inzko < daniel.hoelbling-in...@bitmovin.com> wrote: > Hi, I also just figured out that there is no schema generation o

Re: Datastax Driver Mapper & Secondary Indexes

2017-09-26 Thread Daniel Hölbling-Inzko
Hi, I also just figured out that there is no schema generation off the mapper. Thanks for pointing me to the secondary index info. I'll have a look. greetings Daniel On Tue, 26 Sep 2017 at 09:42 kurt greaves wrote: > If you've created a secondary index you simply query it by specifying it > as

Re: Datastax Driver Mapper & Secondary Indexes

2017-09-26 Thread kurt greaves
If you've created a secondary index you simply query it by specifying it as part of the where clause. Note that you should really understand the drawbacks of secondary indexes before using them, as they might not be incredibly efficient depending on what you need them for. http://www.wentnet.com/bl

Datastax Driver Mapper & Secondary Indexes

2017-09-26 Thread Daniel Hölbling-Inzko
Hi, I am currently moving an application from SQL to Cassandra using Java. I successfully got the DataStax driver and the mapper up and running, but can't seem to figure out how to set secondary indexes through the mapper. I also can't seem to find anything related to indexes in the mapper sources