protected CQL3Row computeNext()
{
while (hasNextCell())
{
CQL3Row toReturn = null;
CellName current = nextCell.name();
if (currentRow == null || !current.isSameCQL3RowAs(type, previous))
{
toReturn = currentRow;
currentRow = new CQL3RowOfSparse(cfMetaData, current);
}
currentRow.add(nextCell);
nextCell = null;
previous = current;
if (toReturn != null)
return toReturn;
}
if (currentRow != null)
{
CQL3Row toReturn = currentRow;
currentRow = null;
return toReturn;
}
return endOfData();
}