private Map<Cell, byte[]> addCell(PartitionInfo info, WriteReference writeRef, boolean isDedicatedRow, long dedicatedRowNumber, long writeIndex) { SweepableCellsRow row = computeRow(info, isDedicatedRow, dedicatedRowNumber); SweepableCellsColumnValue colVal = createColVal(info.timestamp(), writeIndex, writeRef); return ImmutableMap.of(SweepQueueUtils.toCell(row, colVal), colVal.persistValue()); }
private Map<Cell, byte[]> addCell(PartitionInfo info, WriteReference writeRef, boolean isDedicatedRow, long dedicatedRowNumber, long writeIndex) { SweepableCellsRow row = computeRow(info, isDedicatedRow, dedicatedRowNumber); SweepableCellsColumnValue colVal = createColVal(info.timestamp(), writeIndex, writeRef); return ImmutableMap.of(SweepQueueUtils.toCell(row, colVal), colVal.persistValue()); }