/** * Collect statistics ont a given cell. * * @param cell the cell for which to collect stats. * @param collector the stats collector. */ public static void collectStats(Cell cell, PartitionStatisticsCollector collector) { collector.update(cell); if (cell.isCounterCell()) collector.updateHasLegacyCounterShards(CounterCells.hasLegacyShards(cell)); }
collector.update(row.primaryKeyLivenessInfo()); collector.update(row.deletion().time()); collector.update(complexData.complexDeletion()); if (complexData.hasCells()) collector.updateColumnSetPerRow(columnCount.get()); return cellCount.get();
collector.update(row.primaryKeyLivenessInfo()); collector.update(row.deletion().time()); collector.update(complexData.complexDeletion()); if (complexData.hasCells()) collector.updateColumnSetPerRow(columnCount.get()); return cellCount.get();
/** * Collect statistics ont a given cell. * * @param cell the cell for which to collect stats. * @param collector the stats collector. */ public static void collectStats(Cell cell, PartitionStatisticsCollector collector) { collector.update(cell); if (cell.isCounterCell()) collector.updateHasLegacyCounterShards(CounterCells.hasLegacyShards(cell)); }
collector.update(row.primaryKeyLivenessInfo()); collector.update(row.deletion().time()); collector.update(complexData.complexDeletion()); if (complexData.hasCells()) collector.updateColumnSetPerRow(columnCount.get()); return cellCount.get();
/** * Collect statistics ont a given cell. * * @param cell the cell for which to collect stats. * @param collector the stats collector. */ public static void collectStats(Cell cell, PartitionStatisticsCollector collector) { collector.update(cell); if (cell.isCounterCell()) collector.updateHasLegacyCounterShards(CounterCells.hasLegacyShards(cell)); }
collector.update(row.primaryKeyLivenessInfo()); collector.update(row.deletion().time()); collector.update(complexData.complexDeletion()); if (complexData.hasCells()) collector.updateColumnSetPerRow(columnCount.get()); return cellCount.get();
/** * Collect statistics ont a given cell. * * @param cell the cell for which to collect stats. * @param collector the stats collector. */ public static void collectStats(Cell cell, PartitionStatisticsCollector collector) { collector.update(cell); if (cell.isCounterCell()) collector.updateHasLegacyCounterShards(CounterCells.hasLegacyShards(cell)); }