class

StarDB::SSTable

Inherits Reference < Object

Sorted String Table Immutable on-disk data structure

Constants

MAGIC = "STDB"
VERSION = 1_u32

Constructors

new(path : String)
Source

Class methods

create(path : String, entries : Array(Tuple(String, Value | Nil, Bool, Int64)))
Source

Instance methods

close
Source
get(key : String) : Value | Nil
Source
max_key
Source
min_key
Source
scan(start_key : String | Nil = nil, end_key : String | Nil = nil, &block : String, Value | Nil, Bool, Int64 -> )
Source
size
Source

Nested types