Easy-Cassandra icon indicating copy to clipboard operation
Easy-Cassandra copied to clipboard

Working with temporary tables

Open siwatson opened this issue 11 years ago • 3 comments

Is there a way to work with temporary tables with EasyCassandra? As I understand it, the @Entity annotation includes the table/CF name so, if I were to create a new table at runtime (with a unique name), is there a way to dynamically map an entity to it?

siwatson avatar Apr 28 '14 14:04 siwatson

Yes. You can create it dinamicly using the method addFamilyObject http://goo.gl/S1QHkO

otaviojava avatar Apr 30 '14 00:04 otaviojava

Would it be possible to add an optional param to specify table name, ignoring @Entity annotation in the class?

siwatson avatar Apr 30 '14 09:04 siwatson

It can use the name Class

otaviojava avatar May 30 '14 07:05 otaviojava