Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Wrap createRangeSlicesQuery #28

Open
ryfow opened this Issue · 1 comment

2 participants

@ryfow

It's possible I'm just modeling my data incorrectly, but getting a range of rows with HFactory.createRangeSlicesQuery seems quite useful in Hector. Is there a reason it's not supported in clj-hector?

@nickmbailey
Collaborator

The only reason it isn't supported is because no one has found a need for it quite yet.

Range slices often aren't particularly useful because rows in cassandra are ordered randomly. (Unless you are using an ordered partitioner which is something you should almost certainly never do). It isn't completely useless though. It can be used if you want to iterate through all of the rows in a column family and don't care about the order.

If you have a need for it, feel free to submit a pull request. We can leave this issue open until someone gets to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.