public void deleteFromIndexes(DecoratedKey key, List<Cell> indexedColumnsInRow, OpOrder.Group opGroup)
    {
        // Update entire row only once per row level index
        Set<Class<? extends SecondaryIndex>> cleanedRowLevelIndexes = null;

        for (Cell cell : indexedColumnsInRow)
        {
            for (SecondaryIndex index : indexFor(cell.name()))
            {
                if (index instanceof PerRowSecondaryIndex)
                {
                    if (cleanedRowLevelIndexes == null)
                        cleanedRowLevelIndexes = new HashSet<>();
                    if (cleanedRowLevelIndexes.add(index.getClass()))
                        ((PerRowSecondaryIndex) index).delete(key, opGroup);
                }
                else
                {
                    ((PerColumnSecondaryIndex) index).deleteForCleanup(key.getKey(), cell, opGroup);
                }
            }
        }
    }
public void deleteFromIndexes ( DecoratedKey key , List < Cell > indexedColumnsInRow , OpOrder . Group opGroup ) { Set < Class < ? extends SecondaryIndex > > cleanedRowLevelIndexes = null ; for ( Cell cell : indexedColumnsInRow ) { for ( SecondaryIndex index : indexFor ( cell . name ( ) ) ) { if ( index instanceof PerRowSecondaryIndex ) { if ( cleanedRowLevelIndexes == null ) cleanedRowLevelIndexes = new HashSet < > ( ) ; if ( cleanedRowLevelIndexes . add ( index . getClass ( ) ) ) ( ( PerRowSecondaryIndex ) index ) . delete ( key , opGroup ) ; } else { ( ( PerColumnSecondaryIndex ) index ) . deleteForCleanup ( key . getKey ( ) , cell , opGroup ) ; } } } }
Delete all columns from all indexes for this row.  For when cleanup rips a row out entirely.

@param key the row key
@param indexedColumnsInRow all column names in row