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

Method deleteRangeMultipleSalted

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

Source from the content-addressed store, hash-verified

544 }
545
546 @Test
547 public void deleteRangeMultipleSalted() throws Exception {
548 setupStorage(true);
549 final int count = Annotation.deleteRange(tsdb,
550 new byte[] { 0, 0, 1, 0, 0, 1, 0, 0, 1}, 1388450560000L,
551 1388450568000L).joinUninterruptibly();
552 assertEquals(2, count);
553 assertNull(storage.getColumn(tsuid_row_key,
554 new byte[] { 1, 0x0A, 0x02 }));
555 assertNull(storage.getColumn(tsuid_row_key,
556 new byte[] { 1, 0x0A, 0x03 }));
557 assertNotNull(storage.getColumn(tsuid_row_key,
558 new byte[] { 0x50, 0x10 }));
559 assertNotNull(storage.getColumn(tsuid_row_key,
560 new byte[] { 0x50, 0x18 }));
561 }
562
563 @Test
564 public void deleteRangeGlobal() throws Exception {

Callers

nothing calls this directly

Calls 3

setupStorageMethod · 0.95
deleteRangeMethod · 0.95
getColumnMethod · 0.80

Tested by

no test coverage detected