@CommandHelp('Displays summary information for Secondary Indexes (SIndex).')
    def do_sindex(self, line):
        sindex_infos = self.logger.infoSummary(stanza='sindex')
        sindex_stats = self.logger.infoStatistics(stanza='sindex')
        for timestamp in sorted(sindex_stats.keys()):
            if not sindex_stats[timestamp]:
                try:
                    if sindex_infos[timestamp]:
                        self.view.infoString(timestamp, sindex_infos[timestamp])
                except:
                    pass
                continue
            self.view.infoSIndex(sindex_stats[timestamp], self.logger.get_log_snapshot(timestamp=timestamp), title_suffix=" (%s)"%(timestamp), **self.mods)
dataset/ETHPy150Open aerospike/aerospike-admin/lib/logcontroller.py/InfoController.do_sindex/original