public void prune() throws IOException {
  DeletionInfo deletionInfo=cf.deletionInfo();
  if (!deletionInfo.isLive()) {
    if (deletionInfo.hasRanges()) {
      Iterator<RangeTombstone> it=deletionInfo.rangeIterator();
      while (it.hasNext()) {
        RangeTombstone rangeTombstone=it.next();
        if (logger.isTraceEnabled())         logger.trace("delete rangeTombstone (not implemented) " + getIndexName() + " cf="+ baseCfs.metadata.ksName+ "."+ baseCfs.metadata.cfName+ " min="+ rangeTombstone.min+ " max="+ rangeTombstone.max);
      }
    }
 else {
      delete();
    }
  }
}

public void prune ( ) throws IOException { DeletionInfo deletionInfo = cf . deletionInfo ( ) ; if ( ! deletionInfo . isLive ( ) ) { if ( deletionInfo . hasRanges ( ) ) { Iterator < RangeTombstone > it = deletionInfo . rangeIterator ( ) ; while ( it . hasNext ( ) ) { RangeTombstone rangeTombstone = it . next ( ) ; if ( logger . isTraceEnabled ( ) ) logger . trace ( "delete rangeTombstone (not implemented) " + getIndexName ( ) + " cf=" + baseCfs . metadata . ksName + "." + baseCfs . metadata . cfName + " min=" + rangeTombstone . min + " max=" + rangeTombstone . max ) ; } } else { delete ( ) ; } } }
delete tombstones in es index .
