'Serialize this row to be sent over the federation stream.
Returns:
The value to be sent in FederationStreamRow.data. The type depends
on the type of stream.'

def to_data(self):

    raise NotImplementedError()
