#include "SSTable.h"
int SSTable::GetNumRows();
#include "SSTable.h"
SSTable * pTable = new SSTable("MyTable");
// Add some columns and stuff, then loop over the rows
for (int i = 0; i < pTable->GetNumRows(); i++) {
// Do something to each row
}
GetNumRows returns the number of rows in the table. Each row might not be complete.
| No Arguments |
The number of rows in the table, i.e. the length of the longest column.
| See also: | GetNumColumns |
|---|