an oversight as well. as you can imagine, non of us is a fan of super
columns...

On Tue, Dec 28, 2010 at 6:28 AM, Roshan Dawrani <roshandawr...@gmail.com>wrote:

> Hi,
>
> I think I may have found another oversight on the Hector API.
>
> OrderedRows has a convenient peekLast() method, but it is missing in
> OrderedSuperRows.
>
> I am trying to get the rows in a batched manner, and being able to peek at
> the last one to make it the start key of the next batch is convenient.
>
> Of-course, I am able to pick the last row in a not-so-convenient way, but
> the API should be symmetrical.
>
>
>
> On Mon, Dec 27, 2010 at 10:22 PM, Nate McCall <n...@riptano.com> wrote:
>
>> Huh. That appears to be an oversight on our part. I'll add an
>> addSubDeletion to the Mutator class in trunk. Thank you for bringing
>> this up.
>>
>> On Sun, Dec 26, 2010 at 10:47 PM, Roshan Dawrani
>> <roshandawr...@gmail.com> wrote:
>> > There doesn't really seem to be an inherent limitation in batching
>> > sub-column deletes.
>> >
>> > Pelops seem to be doing it -
>> >
>> http://pelops.googlecode.com/svn/trunk/src/org/wyki/cassandra/pelops/Mutator.java
>> > [deleteSubColumn() / deleteSubColumns()]
>> >
>> > Is it worth an improvement request on Hector?
>> >
>> > On Mon, Dec 27, 2010 at 10:07 AM, Roshan Dawrani <
>> roshandawr...@gmail.com>
>> > wrote:
>> >>
>> >> Which "No"?
>> >>
>> >> 1) No, it is "not" correct correct that they can't be batched, or
>> >>
>> >> 1) No, they can't be batched
>> >>
>> >> :-)
>> >>
>> >>
>> >> On Mon, Dec 27, 2010 at 10:04 AM, Jonathan Ellis <jbel...@gmail.com>
>> >> wrote:
>> >>>
>> >>> On Sun, Dec 26, 2010 at 9:14 AM, Roshan Dawrani <
>> roshandawr...@gmail.com>
>> >>> wrote:
>> >>> > Is it correct that mutations that delete subcolumns of a super
>> column
>> >>> > can't
>> >>> > be batched - unlike inserts and deletes of normal columns?
>> >>>
>> >>> No.
>> >>>
>> >>> --
>> >>> Jonathan Ellis
>> >>> Project Chair, Apache Cassandra
>> >>> co-founder of Riptano, the source for professional Cassandra support
>> >>> http://riptano.com
>> >>
>> >>
>> >>
>> >> --
>> >> Roshan
>> >> Blog: http://roshandawrani.wordpress.com/
>> >> Twitter: @roshandawrani
>> >> Skype: roshandawrani
>> >>
>> >
>>
>
>
>
> --
> Roshan
> Blog: http://roshandawrani.wordpress.com/
> Twitter: @roshandawrani <http://twitter.com/roshandawrani>
> Skype: roshandawrani
>
>


-- 
/Ran

Reply via email to