ColumnFamilyStore cfs = keyspace.getColumnFamilyStore(command.columnFamily);
float resultRowsPerRange;
if (command.rowFilter != null && !command.rowFilter.isEmpty())
{
// secondary index query (cql3 or otherwise)
SecondaryIndexSearcher searcher = Iterables.getOnlyElement(cfs.indexManager.getIndexSearchersForQuery(command.rowFilter));
SecondaryIndex highestSelectivityIndex = searcher.highestSelectivityIndex(command.rowFilter);
// use our own mean column count as our estimate for how many matching rows each node will have
resultRowsPerRange = highestSelectivityIndex.estimateResultRows();
}
else if (!command.countCQL3Rows())
{