incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vivek Mishra <mishra.v...@gmail.com>
Subject Re: Missing non composite column
Date Wed, 17 Oct 2012 08:32:35 GMT
Yes, i understand that. Reason why i am asking is, with this i need to
split them to get actual column name using ":" as a seperator.
Though i did not try it yet, but wondering if column name is like
"alliance:movement", then how do it compute it?


On Wed, Oct 17, 2012 at 1:04 PM, Sylvain Lebresne <sylvain@datastax.com>wrote:

> On Wed, Oct 17, 2012 at 3:17 AM, Vivek Mishra <mishra.vivs@gmail.com>
> wrote:
> > column name will be "2012-07-24:2:alliance_involvement" or
> > "alliance_involvement"?
>
> The former. Though let's clarify that
> "2012-07-24:2:alliance_involvement" is the string representation of a
> composite name (i.e. one compatible with CompositeType) for display by
> the cli. What you will get is a composite containing 3 components, the
> first will be the string '2012-07-24', the second one will be the int
> 2 and the last one will be the string 'alliance_involvement'.
>
> --
> Sylvain
>
> >
> > -Vivek
> >
> > On Tue, Oct 16, 2012 at 10:25 PM, Sylvain Lebresne <sylvain@datastax.com
> >
> > wrote:
> >>
> >> On Tue, Oct 16, 2012 at 12:31 PM, Vivek Mishra <mishra.vivs@gmail.com>
> >> wrote:
> >> > Thanks Sylvain. I missed it. If i try to access these via thrift API,
> >> > what
> >> > will be the column names?
> >>
> >> I'm not sure I understand the question. The cli output is pretty much
> >> what you get via the thrift API.
> >>
> >> --
> >> Sylvain
> >
> >
>

Mime
View raw message