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

Method deleteRangeGlobal

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

Source from the content-addressed store, hash-verified

561 }
562
563 @Test
564 public void deleteRangeGlobal() throws Exception {
565 setupStorage(false);
566 final int count = Annotation.deleteRange(tsdb, null, 1328140799000L,
567 1328140800000L).joinUninterruptibly();
568 assertEquals(1, count);
569 assertNull(storage.getColumn(global_row_key,
570 new byte[] { 1, 0, 0 }));
571 assertNotNull(storage.getColumn(global_row_key,
572 new byte[] { 1, 0, 1 }));
573 }
574
575 @Test
576 public void deleteRangeGlobalSalted() throws Exception {

Callers

nothing calls this directly

Calls 3

setupStorageMethod · 0.95
deleteRangeMethod · 0.95
getColumnMethod · 0.80

Tested by

no test coverage detected