Reads all index entries for the given collection.

    Args:
      collection_id: ID of the collection for which the indexes should be
        retrieved.

    Yields:
      Tuples (index, ts, suffix).

def CollectionReadIndex(self, collection_id):
    """Reads all index entries for the given collection.

    Args:
      collection_id: ID of the collection for which the indexes should be
        retrieved.

    Yields:
      Tuples (index, ts, suffix).
    """
    for (attr, value,
         ts) in self.ResolvePrefix(collection_id,
                                   self.COLLECTION_INDEX_ATTRIBUTE_PREFIX):
      i = int(attr[len(self.COLLECTION_INDEX_ATTRIBUTE_PREFIX):], 16)
      yield (i, ts, int(value, 16))