Custom Java class for secondary index implementation

2016-03-06 Thread Henry Manasseh
Hello, I was wondering if anyone is aware of a minimal reference implementation for a java class implementing a secondary index or some documentation of the interface(s) I would need to implement (I looked at the SASI 2i code but I am trying to find the bare bones test or sample class for a newbie

Re: Custom Java class for secondary index implementation

2016-03-06 Thread Sam Tunnicliffe
You might find o.a.c.i.StubIndex in the test source tree useful. On 6 Mar 2016 19:24, "Henry Manasseh" wrote: > Hello, > I was wondering if anyone is aware of a minimal reference implementation > for a java class implementing a secondary index or some documentation of > the interface(s) I would n

Re: Custom Java class for secondary index implementation

2016-03-06 Thread Henry Manasseh
Thank you. This is a perfect class for to start experimenting with. On Sun, Mar 6, 2016 at 2:38 PM Sam Tunnicliffe wrote: > You might find o.a.c.i.StubIndex in the test source tree useful. > On 6 Mar 2016 19:24, "Henry Manasseh" wrote: > > > Hello, > > I was wondering if anyone is aware of a m

Re: Custom Java class for secondary index implementation

2016-03-06 Thread Jack Krupansky
Is RegularColumnIndex representative of what a typical custom index needs... or not? https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/index/internal/composites/RegularColumnIndex.java Ditto for CassandraIndex (abstract class) - should all (or at least most) custom inde