Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danchia/ddb
/ types & classes
Types & classes
55 in github.com/danchia/ddb
⨍
Functions
265
◇
Types & classes
55
Struct
Cache
Cache is a cache of key -> bytes. Implements a segmented LRU algorithm.
sst/cache.go:25
Interface
DdbClient
Client API for Ddb service
proto/ddb.pb.go:148
Interface
DdbServer
Server API for Ddb service
proto/ddb.pb.go:181
Struct
Descriptor
Descriptor describes all important DB state. Not thread-safe, access should be externally synchronized.
server/descriptor.go:45
Struct
DescriptorProto
proto/internal.pb.go:107
Struct
GetRequest
please upgrade the proto package
proto/ddb.pb.go:43
Struct
GetResponse
proto/ddb.pb.go:59
Interface
Iter
Iter is an iterator over rows.
server/iter.go:4
Struct
Iter
sst/sstreader.go:222
Interface
Iterator
Iterator is an iterator over keys and values. Iterators MUST be closed when done.
sst/iter.go:19
Struct
Iterator
Iterator iterates entries in the memtable in ascending key order. Close() must be called after use.
memtable/memtable.go:163
Struct
KTV
server/iter.go:21
Struct
LogRecord
proto/internal.pb.go:39
Struct
Memtable
Memtable is an in-memory sorted table of (key, timestamp) -> values. keys are sorted ascending, timestamps descending.
memtable/memtable.go:34
Struct
Mutation
proto/internal.pb.go:63
TypeAlias
Mutation_Type
proto/internal.pb.go:15
Struct
Options
wal/writer.go:59
Struct
Options
server/server.go:36
Struct
Reader
Reader is an SSTable reader. Threadsafe.
sst/sstreader.go:31
Struct
Scanner
Scanner reads log records from a write ahead log directory. Not thread-safe.
wal/scanner.go:32
Struct
Server
server/server.go:31
Struct
SetRequest
proto/ddb.pb.go:91
Struct
SetResponse
proto/ddb.pb.go:115
Struct
SstMeta
proto/internal.pb.go:123
Struct
Writer
Writer writes log entries to the write ahead log. Thread-safe.
wal/writer.go:42
Struct
Writer
sst/sstwriter.go:28
Struct
benchOptions
ddbc/cmd/bench.go:31
Struct
blockHandle
sst/common.go:47
Struct
bloom
bloom implements a Bloom filter. TODO(danchia): make size / hashes configurable.
sst/bloom.go:28
Struct
byteReader
sst/util.go:54
Struct
cacheEntry
sst/cache.go:60
Struct
dataBlock
sst/datablock.go:89
Struct
dataBlockBuilder
sst/datablock.go:25
Struct
dataBlockIter
sst/datablock.go:187
Struct
database
server/database.go:38
Struct
ddbClient
proto/ddb.pb.go:153
Struct
fileScanner
fileScanner reads log records from a write ahead log. Not thread-safe.
wal/scanner.go:114
Struct
filenameInfo
wal/common.go:12
Struct
filterBlock
sst/filter_block.go:35
Struct
filterBlockBuilder
sst/filter_block.go:17
Struct
indexBlock
sst/indexblock.go:62
Struct
indexBlockBuilder
TODO: there's a lot of duplication with datablock. Worth trying to merge?
sst/indexblock.go:24
TypeAlias
iterHeap
server/merge.go:91
Struct
keyGenerator
ddbc/cmd/loaddata.go:86
Struct
kv
sst/sst_test.go:31
Struct
kv
memtable/memtable_test.go:25
Struct
memIter
server/iter.go:27
Struct
mergingIter
mergingIter is an iterator that merges from many Iter.
server/merge.go:22
Struct
node
memtable/memtable.go:45
Struct
prefixEncoder
sst/prefixcoding.go:11
Struct
rawRecord
wal/writer.go:81
Struct
stats
ddbc/cmd/bench.go:96
Struct
tsValue
sst/sst_test.go:232
Struct
tv
memtable/memtable_test.go:116
Struct
workerArgs
ddbc/cmd/bench.go:101