k.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
--
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
twitter @web2express
Palo Alto, CA, USA
looks
fine except that I'm not sure the time sorting on comments still works or
not.
-aj
On Mon, May 10, 2010 at 5:36 PM, William Ashley wrote:
> I'm having a difficult time understanding your syntax. Could you provide an
> example with actual data?
>
> On May 10, 2010, at
in your implementation, is the comment still sorted by TIME? Will UTF8Type
sort :author by time?
thanks,
-aj
On Mon, May 10, 2010 at 5:02 PM, Mike Malone wrote:
> On Mon, May 10, 2010 at 4:31 PM, AJ Chen wrote:
>
>> supercolumn is good for modeling profile type of data. simpl
store is awkward and
> less efficient.
>
> -aj
>
>
> On Mon, May 10, 2010 at 2:20 PM, Mike Malone wrote:
>
>> On Mon, May 10, 2010 at 1:38 PM, AJ Chen wrote:
>>
>>> Could someone confirm this discussion is not about abandoning supercolumn
>>> famil
2010 at 1:38 PM, AJ Chen wrote:
>
>> Could someone confirm this discussion is not about abandoning supercolumn
>> family? I have found modeling data with supercolumn family is actually an
>> advantage of cassadra compared to relational database. Hope you are going to
>>
nough rope to
> hang
> >> >>>> themselves, but at least the predicate stuff is easily
> distributable.
> >> >>>> I'm thinking I'll play around with implementing some of this stuff
> >> >>>> myself if I have any free time in the near future.
> >> >>>> Mike
> >> >>>>
> >> >>>> On Wed, May 5, 2010 at 2:04 PM, Jonathan Ellis
> >> >>>> wrote:
> >> >>>>>
> >> >>>>> Very interesting, thanks!
> >> >>>>>
> >> >>>>> On Wed, May 5, 2010 at 1:31 PM, Ed Anuff wrote:
> >> >>>>> > Follow-up from last weeks discussion, I've been playing around
> >> >>>>> > with a
> >> >>>>> > simple
> >> >>>>> > column comparator for composite column names that I put up on
> >> >>>>> > github. I'd
> >> >>>>> > be interested to hear what people think of this approach.
> >> >>>>> >
> >> >>>>> > http://github.com/edanuff/CassandraCompositeType
> >> >>>>> >
> >> >>>>> > Ed
> >> >>>>> >
> >> >>>>> > On Wed, Apr 28, 2010 at 12:52 PM, Ed Anuff
> wrote:
> >> >>>>> >>
> >> >>>>> >> It might make sense to create a CompositeType subclass of
> >> >>>>> >> AbstractType for
> >> >>>>> >> the purpose of constructing and comparing these types of
> >> >>>>> >> "composite"
> >> >>>>> >> column
> >> >>>>> >> names so that if you could more easily do that sort of thing
> >> >>>>> >> rather
> >> >>>>> >> than
> >> >>>>> >> having to concatenate into one big string.
> >> >>>>> >>
> >> >>>>> >> On Wed, Apr 28, 2010 at 10:25 AM, Mike Malone
> >> >>>>> >>
> >> >>>>> >> wrote:
> >> >>>>> >>>
> >> >>>>> >>> The only thing SuperColumns appear to buy you (as someone
> >> >>>>> >>> pointed
> >> >>>>> >>> out to
> >> >>>>> >>> me at the Cassandra meetup - I think it was Eric Florenzano)
> is
> >> >>>>> >>> that you can
> >> >>>>> >>> use different comparator types for the Super/SubColumns, I
> >> >>>>> >>> guess..?
> >> >>>>> >>> But you
> >> >>>>> >>> should be able to do the same thing by creating your own
> Column
> >> >>>>> >>> comparator.
> >> >>>>> >>> I guess my point is that SuperColumns are mostly a convenience
> >> >>>>> >>> mechanism, as
> >> >>>>> >>> far as I can tell.
> >> >>>>> >>> Mike
> >> >>>>> >
> >> >>>>> >
> >> >>>>>
> >> >>>>>
> >> >>>>>
> >> >>>>> --
> >> >>>>> Jonathan Ellis
> >> >>>>> Project Chair, Apache Cassandra
> >> >>>>> co-founder of Riptano, the source for professional Cassandra
> support
> >> >>>>> http://riptano.com
> >> >>>>
> >> >>>
> >> >>
> >> >
> >> >
> >
> >
>
--
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
twitter @web2express
Palo Alto, CA, USA
just to correct myself: to sort timeUUID on column in descending order,
sliceRange.setReversed(true) does the trick.
-aj
On Sun, May 9, 2010 at 9:07 AM, AJ Chen wrote:
> true, i think.
> but don't rush to OrderPreservingPartitioners. it may be better to create
> another key CF f
true).
>
> Lee Parker
> On Sat, May 8, 2010 at 7:36 PM, AJ Chen wrote:
>
>> I have a column family for sorting time-uuid and expect to retrieve
>> columns in descending order (i.e. latest on the top). but the following
>> get_slice call returns column in ascending order.
rtitioning, you can loop through all keys with a range
> query, but they will not be sorted.
>
> True or False?
>
> On Sat, May 8, 2010 at 3:45 AM, AJ Chen wrote:
>
>> thanks, that works. -aj
>>
>>
>> On Fri, May 7, 2010 at 1:17 PM, Stu Hood wrote:
>&g
I have a column family for sorting time-uuid and expect to retrieve columns
in descending order (i.e. latest on the top). but the following get_slice
call returns column in ascending order. Does cassandra sort time-uuid
column in descending order by default? Should get_slice call return the most
r
'd like a
> reasonable order for the keys.
>
> -Original Message-
> From: "AJ Chen"
> Sent: Friday, May 7, 2010 3:10pm
> To: user@cassandra.apache.org
> Subject: key is sorted?
>
> I have a super column family for "topic", key bei
I have a super column family for "topic", key being the name of the topic.
When I retrieve the rows, the rows are not sorted by the key. Is the row key
sorted in cassandra by default?
-aj
--
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
twitter @web2express
that looks good. is there a similar cassandra tool in java?
On Mon, Apr 5, 2010 at 5:59 PM, selam wrote:
> look at chiton on github.
>
> On Tue, Apr 6, 2010 at 3:06 AM, AJ Chen wrote:
> > Is there a generic GUI tool for viewing cassandra datastore? being able
> to
> >
Is there a generic GUI tool for viewing cassandra datastore? being able to
view and edit data from a GUI tool like oracle sqldeveloper is very useful.
-aj
Pagination is be numbers, e.g. get 10 rows starting from number 100 or
getRows(100, 10). Column family uses KeyRange to get a section of the table.
This assumes the key is always sorted. Is it true? Secondly, the key
normally a string. How do you translate the starting row number to a
string key?
when adding/changing a column to a column family for existing data in
cassandra, what's a good way to do it?
thanks,
-aj--
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
twitter @web2express
Palo Alto, CA, USA
16 matches
Mail list logo