'Get the index list for an already executed query.
Returns:
A list of indexes used by the query.
Raises:
AssertionError: If the query has not been executed.'

def index_list(self):

    if (self._last_raw_query is None):
        raise AssertionError('No    index    list    because    query    has    not    been    run.')
    if (self._last_index_list is None):
        raw_index_list = self._last_raw_query.GetIndexList()
        self._last_index_list = [_index_converter(raw_index) for raw_index in raw_index_list]
    return self._last_index_list
