github.com/zuoyebang/bitalostable@v1.0.1-0.20240229032404-e3b99a834294/sstable/testdata/prefixreader/iter (about)

     1  build
     2  a.SET.1:A
     3  aa.SET.2:AA
     4  c.SET.3:C
     5  d.SET.4:D
     6  ----
     7  
     8  iter
     9  seek-prefix-ge a
    10  next
    11  next
    12  ----
    13  <a:1>
    14  <aa:2>
    15  .
    16  
    17  iter
    18  seek-prefix-ge aa
    19  next
    20  ----
    21  <aa:2>
    22  .
    23  
    24  iter
    25  seek-prefix-ge aa
    26  prev
    27  ----
    28  <aa:2>
    29  .
    30  
    31  iter
    32  seek-prefix-ge c
    33  prev
    34  ----
    35  <c:3>
    36  .
    37  
    38  iter
    39  seek-prefix-ge b
    40  ----
    41  .
    42  
    43  iter
    44  seek-prefix-ge c
    45  next
    46  ----
    47  <c:3>
    48  .
    49  
    50  iter
    51  seek-prefix-ge d
    52  next
    53  ----
    54  <d:4>
    55  .
    56  
    57  iter
    58  seek-prefix-ge e
    59  ----
    60  .
    61  
    62  iter
    63  seek-prefix-ge c
    64  seek-prefix-ge d
    65  seek-prefix-ge e
    66  ----
    67  <c:3>
    68  <d:4>
    69  .
    70  
    71  iter
    72  seek-prefix-ge c
    73  next
    74  seek-prefix-ge a
    75  next
    76  next
    77  ----
    78  <c:3>
    79  .
    80  <a:1>
    81  <aa:2>
    82  .
    83  
    84  iter
    85  seek-prefix-ge aa
    86  next
    87  seek-prefix-ge a
    88  next
    89  next
    90  seek-prefix-ge c
    91  next
    92  ----
    93  <aa:2>
    94  .
    95  <a:1>
    96  <aa:2>
    97  .
    98  <c:3>
    99  .
   100  
   101  iter
   102  seek-prefix-ge c
   103  next
   104  seek-prefix-ge aa
   105  next
   106  seek-prefix-ge a
   107  next
   108  next
   109  ----
   110  <c:3>
   111  .
   112  <aa:2>
   113  .
   114  <a:1>
   115  <aa:2>
   116  .
   117  
   118  iter
   119  seek-prefix-ge a
   120  next
   121  next
   122  ----
   123  <a:1>
   124  <aa:2>
   125  .
   126  
   127  iter
   128  seek-prefix-ge a
   129  next
   130  prev
   131  prev
   132  ----
   133  <a:1>
   134  <aa:2>
   135  <a:1>
   136  .
   137  
   138  iter
   139  seek-prefix-ge a
   140  prev
   141  ----
   142  <a:1>
   143  .
   144  
   145  iter
   146  seek-prefix-ge a
   147  seek-ge a
   148  next
   149  next
   150  next
   151  next
   152  ----
   153  <a:1>
   154  <a:1>
   155  <aa:2>
   156  <c:3>
   157  <d:4>
   158  .
   159  
   160  iter
   161  seek-prefix-ge a
   162  seek-ge aa
   163  next
   164  next
   165  next
   166  ----
   167  <a:1>
   168  <aa:2>
   169  <c:3>
   170  <d:4>
   171  .
   172  
   173  iter
   174  seek-prefix-ge aa
   175  seek-ge c
   176  next
   177  next
   178  ----
   179  <aa:2>
   180  <c:3>
   181  <d:4>
   182  .
   183  
   184  iter
   185  seek-prefix-ge aa
   186  seek-lt c
   187  next
   188  next
   189  next
   190  ----
   191  <aa:2>
   192  <aa:2>
   193  <c:3>
   194  <d:4>
   195  .
   196  
   197  iter
   198  seek-prefix-ge aa
   199  seek-lt c
   200  prev
   201  prev
   202  ----
   203  <aa:2>
   204  <aa:2>
   205  <a:1>
   206  .
   207  
   208  iter
   209  seek-lt c
   210  seek-prefix-ge aa
   211  prev
   212  ----
   213  <aa:2>
   214  <aa:2>
   215  .
   216  
   217  iter
   218  seek-lt c
   219  seek-prefix-ge a
   220  next
   221  next
   222  
   223  ----
   224  <aa:2>
   225  <a:1>
   226  <aa:2>
   227  .
   228  
   229  iter
   230  seek-ge aa
   231  seek-prefix-ge a
   232  next
   233  next
   234  
   235  ----
   236  <aa:2>
   237  <a:1>
   238  <aa:2>
   239  .
   240  
   241  iter
   242  seek-prefix-ge 1
   243  ----
   244  .
   245  
   246  get
   247  a
   248  aa
   249  f
   250  d
   251  c
   252  ----
   253  A
   254  AA
   255  <err: bitalostable: not found>
   256  D
   257  C
   258  
   259  iter
   260  seek-prefix-ge a false
   261  seek-prefix-ge a true
   262  seek-prefix-ge aa true
   263  seek-prefix-ge d true
   264  seek-prefix-ge c false
   265  ----
   266  <a:1>
   267  <a:1>
   268  <aa:2>
   269  <d:4>
   270  <c:3>