github.com/petermattis/pebble@v0.0.0-20190905164901-ab51a2166067/tool/testdata/sstable_scan (about)

     1  sstable scan
     2  --start=arm
     3  --end=aside
     4  ../sstable/testdata/h.sst
     5  ----
     6  ../sstable/testdata/h.sst
     7  arm#0,1 [32]
     8  armed#0,1 [32]
     9  armour#0,1 [31]
    10  arms#0,1 [32]
    11  arrant#0,1 [31]
    12  art#0,1 [36]
    13  artery#0,1 [31]
    14  article#0,1 [31]
    15  articles#0,1 [31]
    16  as#0,1 [3536]
    17  
    18  sstable scan
    19  --end=abused
    20  ../sstable/testdata/h.sst
    21  ----
    22  ../sstable/testdata/h.sst
    23  a#0,1 [3937]
    24  aboard#0,1 [32]
    25  about#0,1 [32]
    26  above#0,1 [31]
    27  abroad#0,1 [31]
    28  absurd#0,1 [31]
    29  
    30  sstable scan
    31  --start=you
    32  ../sstable/testdata/h.sst
    33  ----
    34  ../sstable/testdata/h.sst
    35  you#0,1 [313130]
    36  young#0,1 [36]
    37  your#0,1 [3439]
    38  yourself#0,1 [37]
    39  youth#0,1 [35]
    40  
    41  sstable scan
    42  --key=%x
    43  --value=null
    44  --start=you
    45  ../sstable/testdata/h.sst
    46  ----
    47  ../sstable/testdata/h.sst
    48  796f75#0,1
    49  796f756e67#0,1
    50  796f7572#0,1
    51  796f757273656c66#0,1
    52  796f757468#0,1
    53  
    54  sstable scan
    55  --key=%q
    56  --value=null
    57  --start=hex:796f75
    58  --end=raw:yourself
    59  ../sstable/testdata/h.sst
    60  ----
    61  ../sstable/testdata/h.sst
    62  "you"#0,1
    63  "young"#0,1
    64  "your"#0,1
    65  
    66  sstable scan
    67  --key=null
    68  --value=[%x]
    69  --start=hex:796f75
    70  --end=raw:yourself
    71  ../sstable/testdata/h.sst
    72  ----
    73  ../sstable/testdata/h.sst
    74  [313130]
    75  [36]
    76  [3439]
    77  
    78  sstable scan
    79  testdata/out-of-order.sst
    80  ----
    81  testdata/out-of-order.sst
    82  a#0,1 []
    83  c#0,1 []
    84  b#0,1 []
    85      WARNING: OUT OF ORDER KEYS!