Re: Cassandra annotation

2011-10-03 Thread Peter Lin
The annotations I'm thinking of are pretty simple keyspace key composite key column it's probably easier if I post it on github so that others can see peter lin On Mon, Oct 3, 2011 at 5:46 AM, aaron morton wrote: > Nothing against annotations, the are like post-it notes from pixies. > > More

Re: Cassandra annotation

2011-10-03 Thread aaron morton
Nothing against annotations, the are like post-it notes from pixies. More about what you to with them to. A - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 3/10/2011, at 12:03 PM, Peter Lin wrote: > It can be dangerous if wielded like

Re: Cassandra annotation

2011-10-02 Thread Peter Lin
It can be dangerous if wielded like a "sledge-O-matic" and not as funny as watching Gallager smash fruit. danger aside, I do find annotations useful for reducing lots of boiler plate code. On Sun, Oct 2, 2011 at 6:58 PM, aaron morton wrote: > One thing to be careful of is giving developers the p

Re: Cassandra annotation

2011-10-02 Thread aaron morton
One thing to be careful of is giving developers the power to create CF, or a secondary index, by creating a new Class or annotating a property with @indexed. Adding mucho CF's and indexes can/will result in decreased performance. Cheers - Aaron Morton Freelance Cassandra Deve

Cassandra annotation

2011-09-30 Thread Peter Lin
I know this topic has come up in the past. I'm currently working on a set of Cassandra specific annotations that define key, keyspace and column in my POJO's. Instead of hand rolling lots of boiler plate code for creating the keyspace, I prefer to annotate my POJO's and have the system do that for