<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def rowkey(self, row):
        'returns a tuple of the key for the given row'
        return tuple(c.getTypedValueOrException(row) for c in self.keyCols)