public void removeInterval(final BatchWriter writer,final TemporalInterval interval,final Statement statement) throws MutationsRejectedException {
  final Text cf=new Text(StatementSerializer.writeContext(statement));
  final Text cqBegin=new Text(KeyParts.CQ_BEGIN);
  final Text cqEnd=new Text(KeyParts.CQ_END);
  Text keyText=new Text(interval.getAsKeyBeginning());
  KeyParts.appendUniqueness(statement,keyText);
  Mutation m=new Mutation(keyText);
  m.putDelete(cf,cqBegin);
  writer.addMutation(m);
  keyText=new Text(interval.getAsKeyEnd());
  KeyParts.appendUniqueness(statement,keyText);
  m=new Mutation(keyText);
  m.putDelete(cf,cqEnd);
  writer.addMutation(m);
}

public void removeInterval ( final BatchWriter writer , final TemporalInterval interval , final Statement statement ) throws MutationsRejectedException { final Text cf = new Text ( StatementSerializer . writeContext ( statement ) ) ; final Text cqBegin = new Text ( KeyParts . CQ_BEGIN ) ; final Text cqEnd = new Text ( KeyParts . CQ_END ) ; Text keyText = new Text ( interval . getAsKeyBeginning ( ) ) ; KeyParts . appendUniqueness ( statement , keyText ) ; Mutation m = new Mutation ( keyText ) ; m . putDelete ( cf , cqBegin ) ; writer . addMutation ( m ) ; keyText = new Text ( interval . getAsKeyEnd ( ) ) ; KeyParts . appendUniqueness ( statement , keyText ) ; m = new Mutation ( keyText ) ; m . putDelete ( cf , cqEnd ) ; writer . addMutation ( m ) ; }
remove an interval index todo : integrate into keyparts ( or eliminate )
