I need to do some cassandra for study project.
It’s really simple:
One Column Family, two colums (let’s say ‘name’ and ‘mail’)
Now I wanna insert some data to Cassandra like
‘name’ => ‘Horst’,
‘mail’ => ‘Horst@Horstweb.com’
Don’t need nothing more – but cassandra needs an sub name for the column family.
columnFamilyName.ABC (
…
)
Is there a way to insert data without this ABC? I only need the columns – nothing more.
Thank’s allot for your help.
Pascal
Row keys are required and they must be unique — think of them like primary keys in an RDBMS. If you don’t care what they are and you just need them to be unique, you would normally use a UUID. But since you only have two rows, why not just name them ‘a’ and ‘b’?