On Sun, Mar 13, 2011 at 7:07 AM, Ertio Lew <ertio...@gmail.com> wrote:
> Can I get just a count of the no of columns in a row without > deserializing all columns in row? No. > Or should the usage of a counter > column be preferred that maintains the no of columns currently present > in the row, for the situations when the total count value is most > frequently used than reading the actual columns ? > Yes, you should use a counter instead if you are counting the length of non-tiny rows very frequently. -- Tyler Hobbs Software Engineer, DataStax <http://datastax.com/> Maintainer of the pycassa <http://github.com/pycassa/pycassa> Cassandra Python client library