fluentcassandra

Unable to perform range queries in Cassandra 1.2

筅森魡賤 提交于 2020-01-04 14:01:07
问题 I'm accessing Cassandra 1.2 via FluentCassandra and C#. I used the DataStax installation package. The issue I have is I cannot execute the range query I show below. I have tried the following table create methods: CREATE TABLE Test (KEY text, p1 int, p2 int, p3 int, p4 int, p5 int, p6 int, p7 int, p8 int, data text, PRIMARY KEY (KEY)) CREATE TABLE Test (KEY text, p1 int, p2 int, p3 int, p4 int, p5 int, p6 int, p7 int, p8 int, data text, PRIMARY KEY (KEY, p1, p2, p3, p4, p5, p6, p7, p8)) Here

Cassandra .Net driver and CQL driver (Aug 2012)

匆匆过客 提交于 2019-12-12 15:09:12
问题 Questions have been asked on SO about this, but they are over a year old, so I'm re-posting. I'm not asking which is the "best" driver as that is subjective. I'm looking for data concerning stability, compliance to the latest Cassandra features, documentation and ease-of-use, and speed. It seems Hector has little activity (2 years ago per Github). So it's between Cassandra-sharp, Fluentcassandra, Aquiles, and Cassandraemo. I noticed some do and some don't mention the Thrift API. What's the

FluentCassandra range selection problem

依然范特西╮ 提交于 2019-12-07 05:23:46
问题 I have a problem in getting some data out from Cassandra using c# and FluentCassandra. In my Cassandra keyspace i have the following super column family definition: <ColumnFamily Name="MySCFName" ColumnType="Super" CompareWith="TimeUUIDType" CompareSubcolumnsWith="AsciiType"/> What i would like to do is run a query on this supercolumnfamily similar to the following in sql: select "something" from MyTable where "timestamp" between "2011-01-01 00:00:00.000" and "2011-03-01 00:00:00.000"