MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / delete

Method delete

test/meta/TestAnnotation.java:356–370  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

354 }
355
356 @Test
357 public void delete() throws Exception {
358 setupStorage(false);
359 note.setTSUID(TSUID);
360 note.setStartTime(1388450562);
361 note.delete(tsdb).joinUninterruptibly();
362 assertNull(storage.getColumn(tsuid_row_key,
363 new byte[] { 1, 0x0A, 0x02 }));
364 assertNotNull(storage.getColumn(tsuid_row_key,
365 new byte[] { 1, 0x0A, 0x03 }));
366 assertNotNull(storage.getColumn(tsuid_row_key,
367 new byte[] { 0x50, 0x10 }));
368 assertNotNull(storage.getColumn(tsuid_row_key,
369 new byte[] { 0x50, 0x18 }));
370 }
371
372 @Test
373 public void deleteSalted() throws Exception {

Callers 7

deleteSaltedMethod · 0.45
deleteNormalizeMsMethod · 0.45
deleteNotFoundMethod · 0.45
deleteMissingStartMethod · 0.45
deleteGlobalMethod · 0.45
deleteGlobalSaltedMethod · 0.45
deleteGlobalNotFoundMethod · 0.45

Calls 4

setupStorageMethod · 0.95
getColumnMethod · 0.80
setStartTimeMethod · 0.65
setTSUIDMethod · 0.45

Tested by

no test coverage detected