File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 11// EXAMPLE: bitmap_tutorial
2- // HIDE_START
32package io .redis .examples ;
43
5- import org .junit .jupiter .api .Test ;
64import redis .clients .jedis .UnifiedJedis ;
75import redis .clients .jedis .args .BitOP ;
8-
9-
6+ // REMOVE_START
7+ import org . junit . jupiter . api . Test ;
108import static org .junit .jupiter .api .Assertions .assertEquals ;
119import static org .junit .jupiter .api .Assertions .assertFalse ;
1210import static org .junit .jupiter .api .Assertions .assertTrue ;
11+ // REMOVE_END
1312
1413public class BitMapsExample {
1514
1615 @ Test
1716 public void run () {
1817 UnifiedJedis jedis = new UnifiedJedis ("redis://localhost:6379" );
19- // HIDE_END
2018
2119 // REMOVE_START
2220 jedis .del ("pings:2024-01-01-00:00" );
Original file line number Diff line number Diff line change 11// EXAMPLE: bitmap_tutorial
2- // HIDE_START
3-
2+ // REMOVE_START
43using NRedisStack . Tests ;
4+ // REMOVE_END
55using StackExchange . Redis ;
66
7- // HIDE_END
87
98// REMOVE_START
109namespace Doc ;
Original file line number Diff line number Diff line change 11// EXAMPLE: bitmap_tutorial
2- // HIDE_START
2+ // REMOVE_START
33import assert from 'assert' ;
4+ // REMOVE_END
45import { createClient , RESP_TYPES } from 'redis' ;
56
67const client = createClient ( {
@@ -11,7 +12,6 @@ const client = createClient({
1112 }
1213} ) ;
1314await client . connect ( ) ;
14- // HIDE_END
1515
1616// REMOVE_START
1717await client . flushDb ( ) ;
You can’t perform that action at this time.
0 commit comments