@classmethod<EOL><INDENT>def query(cls, index_name=None, filter_builder=None,<EOL>scan_index_forward=None, limit=None, **key_conditions):<DEDENT>
query_kwargs = {<EOL>'<STR_LIT>': build_condition(key_conditions, KEY_CONDITIONS),<EOL>'<STR_LIT>': index_name,<EOL>'<STR_LIT>': scan_index_forward,<EOL>'<STR_LIT>': limit<EOL>}<EOL>if filter_builder:<EOL><INDENT>cls._build_filter_expression(filter_builder, query_kwargs)<EOL><DEDENT>return ResultSet(cls, '<STR_LIT>', query_kwargs)<EOL>
High level query API.

        :param key_filter: key conditions of the query.
        :type key_filter: :class:`collections.Mapping`
        :param filter_builder: filter expression builder.
        :type filter_builder: :class:`~bynamodb.filterexps.Operator`