question: public void deleteAllDimensionRows ( ) { try { String dimRowIndexes = keyValueStore . get ( DimensionStoreKeyUtils . getAllValuesKey ( ) ) ; if ( dimRowIndexes == null ) { LOG . debug ( "Null value for dimension {} while deleting: " , apiName ) ; return ; } String [ ] keys = objectMapper . readValue ( dimRowIndexes , String [ ] . class ) ; LinkedHashSet < String > dimRowKeys = new LinkedHashSet < > ( Arrays . asList ( keys ) ) ; for ( String dimRowKey : dimRowKeys ) { keyValueStore . remove ( dimRowKey ) ; } searchProvider . setKeyValueStore ( keyValueStore ) ; keyValueStore . put ( DimensionStoreKeyUtils . getCardinalityKey ( ) , "0" ) ; String allValuesKey = DimensionStoreKeyUtils . getAllValuesKey ( ) ; keyValueStore . put ( allValuesKey , "[]" ) ; } catch ( IOException e ) { LOG . error ( "Exception while reading dimension rows {}" , e ) ; throw new RuntimeException ( e ) ; } }
target:  Internal method for cleaning the dimension rows.