private static int maxQueried(ReadCommand command)
{
if (command instanceof SliceByNamesReadCommand)
{
NamesQueryFilter filter = ((SliceByNamesReadCommand)command).filter;
return filter.countCQL3Rows() ? 1 : filter.columns.size();
}
else
{
SliceQueryFilter filter = ((SliceFromReadCommand)command).filter;
return filter.count;