i'm new in FluentCassandra and Cassandra.
I have a Problem to filter data from a range of value. In my opinion i can use a Generic List to filter the result, but i don't no how?!
In MSSQL i use this (SELECT * FROM TABLE WHERE Row1 like '%search%').
CassandraSuperColumnFamily<UTF8Type, UTF8Type> familyname= db.GetColumnFamily<UTF8Type, UTF8Type>("Messages");
var results= familyname.Get("key")
.Take(5)
.FirstOrDefault()
.AsDynamic();
Maybe some one can help me?!
Thanks calimero
Searching for a substring requires an inefficient sequential scan. Cassandra doesn't make that easy, because it's usually the wrong thing to do:
If you absolutely must do a non-parallel seq scan, you'll have to page through the rows manually and check for your substring in C# code.