Cassandra wouldn't know that the column name is composite of two different
things. So you could just request the column names and values for a specific
key like this and then just look at the column names that get returned:

[default@MyKeyspace] get DemoCF[ascii('key_42')];
=> (column=CA_SanJose, value=50, timestamp=1305236885112000)
=> (column=CA_PaloAlto, value=49, timestamp=1305236885192000)
=> (column=FL_Orlando, value=45, timestamp=1305236885280000)
=> (column=NY_NYC, value=40, timestamp=1305236885361000)


And I'm not sure what you mean by inputting composite column names. You just
input them like any other column name:

[default@MyKeyspace] set DemoCF['key_42']['CA_SanJose']='51';
Value inserted.





On Mon, May 16, 2011 at 2:34 PM, Aaron Morton <aa...@thelastpickle.com>wrote:

> What do you mean by composite column names?
>
> Do the data type functions supported by get and set help? Or the assume
> statement?
>
> Aaron
> On 17/05/2011, at 3:21 AM, David Boxenhorn <da...@taotown.com> wrote:
>
> > Is there a way to view composite column names in the CLI?
> >
> > Is there a way to input them (i.e. in the set command)?
> >
>

Reply via email to