def _select_query(self):
if self._where:<EOL><INDENT>self._validate_select_where()<EOL><DEDENT>return SelectStatement(<EOL>self.column_family_name,<EOL>fields=self._select_fields(),<EOL>where=self._where,<EOL>order_by=self._order,<EOL>limit=self._limit,<EOL>allow_filtering=self._allow_filtering<EOL>)<EOL>
Returns a select clause based on the given filter args