github.com/cockroachdb/pebble@v1.1.2/internal/manifest/testdata/level_iterator (about)

     1  define
     2  [ ]
     3  ----
     4  
     5  iter
     6  first
     7  last
     8  seek-lt a
     9  seek-lt z
    10  seek-ge a
    11  seek-ge z
    12  ----
    13  .
    14  .
    15  .
    16  .
    17  .
    18  .
    19  
    20  define
    21  [ a.SET.1-b.SET.2 ]
    22  ----
    23  
    24  iter
    25  last
    26  ----
    27  000001:[a#1,1-b#2,1]
    28  
    29  iter
    30  first
    31  next
    32  prev
    33  prev
    34  ----
    35  000001:[a#1,1-b#2,1]
    36  .
    37  000001:[a#1,1-b#2,1]
    38  .
    39  
    40  iter
    41  seek-ge a
    42  seek-ge b
    43  seek-ge c
    44  ----
    45  000001:[a#1,1-b#2,1]
    46  000001:[a#1,1-b#2,1]
    47  .
    48  
    49  iter
    50  seek-lt a
    51  seek-lt b
    52  seek-lt z
    53  ----
    54  .
    55  000001:[a#1,1-b#2,1]
    56  000001:[a#1,1-b#2,1]
    57  
    58  define
    59  [ b.SET.1-c.SET.2 ]
    60  ----
    61  
    62  iter
    63  seek-ge a
    64  seek-ge d
    65  seek-lt a
    66  seek-lt z
    67  ----
    68  000001:[b#1,1-c#2,1]
    69  .
    70  .
    71  000001:[b#1,1-c#2,1]
    72  
    73  
    74  define
    75  a.SET.1-b.SET.2 [ c.SET.3-d.SET.4 e.SET.5-f.SET.6 ] g.SET.7-h.SET.8
    76  ----
    77  
    78  iter
    79  first
    80  prev
    81  last
    82  next
    83  ----
    84  000002:[c#3,1-d#4,1]
    85  .
    86  000003:[e#5,1-f#6,1]
    87  .
    88  
    89  iter
    90  seek-ge a
    91  seek-ge b
    92  seek-ge c
    93  seek-ge h
    94  prev
    95  ----
    96  000002:[c#3,1-d#4,1]
    97  000002:[c#3,1-d#4,1]
    98  000002:[c#3,1-d#4,1]
    99  .
   100  000003:[e#5,1-f#6,1]
   101  
   102  iter
   103  seek-lt b
   104  next
   105  seek-lt a
   106  next
   107  seek-lt z
   108  ----
   109  .
   110  000002:[c#3,1-d#4,1]
   111  .
   112  000002:[c#3,1-d#4,1]
   113  000003:[e#5,1-f#6,1]
   114  
   115  define
   116  a.SET.1-b.SET.2 c.SET.3-d.SET.4 e.SET.5-f.SET.6 g.SET.7-h.SET.8 [ ]
   117  ----
   118  
   119  iter
   120  seek-ge cat
   121  seek-lt cat
   122  first
   123  last
   124  ----
   125  .
   126  .
   127  .
   128  .