Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ad-sho-loko/bogoDB
/ functions
Functions
220 in github.com/ad-sho-loko/bogoDB
⨍
Functions
220
◇
Types & classes
60
↓ 84 callers
Method
Equal
(order int, s string, n int)
storage/tuple.go:73
↓ 33 callers
Method
Insert
(item Item)
meta/btree.go:176
↓ 26 callers
Method
Find
(item Item)
meta/btree.go:188
↓ 17 callers
Method
consume
(kind TokenKind)
query/parse.go:21
↓ 17 callers
Method
expect
(kind TokenKind)
query/parse.go:45
↓ 16 callers
Method
matchKeyWord
(keyword string)
query/token.go:118
↓ 10 callers
Function
NewBTree
()
meta/btree.go:58
↓ 8 callers
Method
Get
(key interface{})
meta/lru.go:46
↓ 7 callers
Method
insertAt
(index int, item Item)
meta/btree.go:50
↓ 6 callers
Method
Insert
(key, value interface{})
meta/lru.go:29
↓ 6 callers
Function
NewTokenizer
(input string)
query/token.go:97
↓ 6 callers
Method
Tokenize
()
query/token.go:155
↓ 5 callers
Method
Add
Add is to add the new scheme into a memory. Be careful not to persist the disk.
storage/catalog.go:55
↓ 5 callers
Method
FetchScheme
(tblName string)
storage/catalog.go:66
↓ 5 callers
Function
NewParser
(tokens []*Token)
query/parse.go:15
↓ 5 callers
Function
NewWithMessage
(message string)
meta/meta.go:72
↓ 5 callers
Method
Parse
()
query/parse.go:203
↓ 5 callers
Method
find
(item Item)
meta/btree.go:163
↓ 4 callers
Function
NewLru
(cap int)
meta/lru.go:21
↓ 3 callers
Method
HasScheme
(tblName string)
storage/catalog.go:62
↓ 3 callers
Method
Len
()
meta/lru.go:58
↓ 3 callers
Method
Less
(than Item)
meta/btree.go:27
↓ 3 callers
Function
SaveCatalog
SaveCatalog persists the system catalog as `catalog.db`. `catalog.db` has a simple json format like key/value.
storage/catalog.go:43
↓ 3 callers
Method
Txid
()
storage/tran.go:56
↓ 3 callers
Method
eq
()
query/parse.go:67
↓ 3 callers
Method
errorExpected
(e error)
query/parse.go:29
↓ 3 callers
Method
hash
()
storage/bufpool.go:26
↓ 3 callers
Method
insert
(item Item)
meta/btree.go:124
↓ 3 callers
Method
isSpace
()
query/token.go:104
↓ 3 callers
Function
newBufferTag
(tableName string, pgid uint64)
storage/bufpool.go:19
↓ 2 callers
Method
CreateIndex
(indexName string)
storage/storage.go:39
↓ 2 callers
Function
DeserializeBTree
(bytes []byte)
meta/btree.go:212
↓ 2 callers
Method
Get
(key Item)
meta/btree.go:196
↓ 2 callers
Method
IsUnused
()
storage/tuple.go:85
↓ 2 callers
Function
LoadCatalog
(catalogPath string)
storage/catalog.go:25
↓ 2 callers
Function
NewAnalyzer
(catalog *storage.Catalog)
query/analyze.go:63
↓ 2 callers
Function
NewEmtpyCatalog
()
storage/catalog.go:19
↓ 2 callers
Function
NewPgid
(tableName string)
storage/page.go:18
↓ 2 callers
Function
NewToken
(kind TokenKind, str string)
query/token.go:12
↓ 2 callers
Method
ReadIndex
(indexName string)
storage/storage.go:55
↓ 2 callers
Method
Scan
(storage *storage.Storage)
query/plan.go:18
↓ 2 callers
Function
SerializeBTree
(tree *BTree)
meta/btree.go:208
↓ 2 callers
Method
Terminate
()
db/bogodb.go:126
↓ 2 callers
Method
analyzeCreateTable
(n *CreateTableStmt)
query/analyze.go:207
↓ 2 callers
Method
beginTransaction
()
query/executor.go:152
↓ 2 callers
Method
commitTransaction
(tran *storage.Transaction)
query/executor.go:156
↓ 2 callers
Method
expectOr
(kinds ...TokenKind)
query/parse.go:33
↓ 2 callers
Method
expr
()
query/parse.go:56
↓ 2 callers
Method
isEnd
()
query/token.go:114
↓ 2 callers
Method
isNumber
()
query/token.go:133
↓ 2 callers
Method
newTxid
()
storage/tran.go:33
↓ 2 callers
Method
persist
(dirName string, tableName string, pgid uint64, page *Page)
storage/disk.go:43
↓ 2 callers
Method
putPage
(tableName string, pgid uint64, p *Page)
storage/bufpool.go:102
↓ 2 callers
Method
readIndex
(indexName string)
storage/disk.go:63
↓ 2 callers
Method
splitMe
()
meta/btree.go:97
↓ 2 callers
Method
toPgid
(tid uint64)
storage/bufpool.go:50
↓ 2 callers
Method
whereClause
()
query/parse.go:85
↓ 1 callers
Method
Abort
(tran *Transaction)
storage/tran.go:52
↓ 1 callers
Method
AnalyzeMain
(stmt Stmt)
query/analyze.go:231
↓ 1 callers
Method
BeginTransaction
()
storage/tran.go:38
↓ 1 callers
Method
CanSee
(tran *Transaction)
storage/tuple.go:90
↓ 1 callers
Method
Commit
(tran *Transaction)
storage/tran.go:48
↓ 1 callers
Method
ConvertTable
()
meta/meta.go:20
↓ 1 callers
Function
DeserializePage
(b [4096]byte)
storage/page.go:39
↓ 1 callers
Function
DeserializeTuple
(b [128]byte)
storage/tuple.go:62
↓ 1 callers
Method
Execute
(q string, userAgent string)
db/bogodb.go:71
↓ 1 callers
Method
ExecuteMain
(q Query, p *Plan, tran *storage.Transaction)
query/executor.go:164
↓ 1 callers
Method
GetAll
()
meta/lru.go:74
↓ 1 callers
Method
Host
()
db/http.go:44
↓ 1 callers
Method
Init
()
db/bogodb.go:55
↓ 1 callers
Method
InsertIndex
(indexName string, item meta.Item)
storage/storage.go:45
↓ 1 callers
Method
InsertTuple
(tablename string, t *Tuple)
storage/storage.go:32
↓ 1 callers
Method
Len
()
meta/btree.go:204
↓ 1 callers
Function
NewApiServer
(db *BogoDb)
db/http.go:12
↓ 1 callers
Function
NewBogoDb
()
db/bogodb.go:26
↓ 1 callers
Function
NewExecutor
(storage *storage.Storage, catalog *storage.Catalog, tranManger *storage.TransactionManager)
query/executor.go:17
↓ 1 callers
Function
NewPage
()
storage/page.go:12
↓ 1 callers
Function
NewPlanner
(q Query)
query/plan.go:34
↓ 1 callers
Function
NewScheme
(tblName string, colNames []string, colTypes []ColType, pk string)
meta/meta.go:11
↓ 1 callers
Function
NewStorage
(home string)
storage/storage.go:12
↓ 1 callers
Function
NewTransactionManager
()
storage/tran.go:25
↓ 1 callers
Function
NewTuple
(minTxId uint64, values []interface{})
storage/tuple.go:8
↓ 1 callers
Method
PlanMain
()
query/plan.go:106
↓ 1 callers
Method
ReadTuple
(tableName string, tid uint64)
storage/storage.go:70
↓ 1 callers
Function
SerializePage
(p *Page)
storage/page.go:23
↓ 1 callers
Function
SerializeTuple
(t *Tuple)
storage/tuple.go:49
↓ 1 callers
Method
String
()
storage/data.pb.go:113
↓ 1 callers
Method
String
()
query/token.go:88
↓ 1 callers
Method
String
()
meta/meta.go:54
↓ 1 callers
Method
abortTransaction
(tran *storage.Transaction)
query/executor.go:160
↓ 1 callers
Method
analyzeInsert
(n *InsertStmt)
query/analyze.go:69
↓ 1 callers
Method
analyzeSelect
(n *SelectStmt)
query/analyze.go:117
↓ 1 callers
Method
analyzeUpdate
(n *UpdateStmt)
query/analyze.go:169
↓ 1 callers
Method
appendTuple
(tableName string, t *Tuple)
storage/bufpool.go:76
↓ 1 callers
Function
client
()
main.go:19
↓ 1 callers
Method
createTable
(q *CreateTableQuery)
query/executor.go:142
↓ 1 callers
Method
createTableStmt
()
query/parse.go:169
↓ 1 callers
Method
deleteChildAt
(index int)
meta/btree.go:65
↓ 1 callers
Method
fetchPage
(dirPath, tableName string, pgid uint64)
storage/disk.go:24
↓ 1 callers
Method
fromClause
()
query/parse.go:80
next →
1–100 of 220, ranked by callers