https://github.com/andytill/rowsy
eleveldb key sorting and range scan simulator
https://github.com/andytill/rowsy
Last synced: 12 months ago
JSON representation
eleveldb key sorting and range scan simulator
- Host: GitHub
- URL: https://github.com/andytill/rowsy
- Owner: andytill
- Created: 2016-12-16T13:32:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-16T13:35:31.000Z (over 9 years ago)
- Last Synced: 2025-04-04T16:38:44.864Z (over 1 year ago)
- Language: Erlang
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eleveldb range scan simulator
Build and run...
```
make deps app shell
```
Test out a range scan...
```erlang
1> rowsy:rs({1,'_'},{1,4},true,true,[{1,N} || N <- lists:seq(1,10)]).
DROPPED from START []
DROPPED from END [{1,5},{1,6},{1,7},{1,8},{1,9},{1,10}]
[{1,1},{1,2},{1,3},{1,4}]
```