Re: column limit on multiget_slice or get_slice

2010-09-14 Thread Courtney Robinson
Ahhh, excellent. thank you From: Chen Xinli Sent: Tuesday, September 14, 2010 10:51 AM To: user@cassandra.apache.org Subject: Re: column limit on multiget_slice or get_slice you can use get_slice: public List get_slice(String keyspace, String key, ColumnParent column_parent, SlicePredicate

Re: column limit on multiget_slice or get_slice

2010-09-14 Thread Chen Xinli
you can use get_slice: public List get_slice(String keyspace, String key, ColumnParent column_parent, SlicePredicate predicate, ConsistencyLevel consistency_level) throws InvalidRequestException, UnavailableException, TimedOutException, TException; In the SlicePredicate.SliceRange, set start and f

column limit on multiget_slice or get_slice

2010-09-14 Thread Courtney Robinson
Is it possible to get the first x columns from a row without knowing the column names? So far i've been working with just grabbing all the columns in a row or just getting a specific column that i know the name of. If it is possible, can anyone point me in the right direction of how to do this?