def add_raw(self, raw):
if type(raw) == list:<EOL><INDENT>self._q += raw<EOL><DEDENT>if type(raw) == dict:<EOL><INDENT>self._q.append(raw)<EOL><DEDENT>return self<EOL>
Adds row aggregation state at the query
:param raw: list of raw stages or a dict of raw stage
:return: The current object