↧
Answer by ruhul for How to store array of objects in Cassandra
For your case, first, you need to create a UDT(user defined type) in Cassandra. Create TYPE address( add1 text, city text, state text ); Then create a table including this UDT. Create table Test( id...
View ArticleAnswer by Manish Kumar Bohra for How to store array of objects in Cassandra
you can create UDT type: CREATE TYPE people ( name text, address ); and now declare your field like this people set<frozen <people>> I hope it's help you
View ArticleHow to store array of objects in Cassandra
In cassandra DB I am planning to store an array-of-object. What is the best way to do that. object mapping to Data mapping with model class in java. Class Test{ @Column(name = "id") int id,...
View Article