How is Cassandra sorting static column families -


As far as I know, a comparator column has been specified at the family level. So far I have used it with dynamic columns (wide-line). What type of comparator is used when creating a static column family while using the ccl?

  Make tab songs (id uid primary key, title text, album text, artist text, data blob);  

And what happens if you throw an overall key in the mix.

  Make Table Songs (ID UIID, Title Text, Album Text, Artist Text, Data Blob, Primary Key ((ID, Title), Album);  

On a given physical node, the rows for a given partition key are stored in the order induced by the clustering column.

So in the second case your partition key is (id, title) , and the clustering key is the album , which means that someone All the rows for the given partition key are album

/ html>

Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -