MCPcopy Create free account

hub / github.com/ad-sho-loko/bogoDB / functions

Functions220 in github.com/ad-sho-loko/bogoDB

↓ 84 callersMethodEqual
(order int, s string, n int)
storage/tuple.go:73
↓ 33 callersMethodInsert
(item Item)
meta/btree.go:176
↓ 26 callersMethodFind
(item Item)
meta/btree.go:188
↓ 17 callersMethodconsume
(kind TokenKind)
query/parse.go:21
↓ 17 callersMethodexpect
(kind TokenKind)
query/parse.go:45
↓ 16 callersMethodmatchKeyWord
(keyword string)
query/token.go:118
↓ 10 callersFunctionNewBTree
()
meta/btree.go:58
↓ 8 callersMethodGet
(key interface{})
meta/lru.go:46
↓ 7 callersMethodinsertAt
(index int, item Item)
meta/btree.go:50
↓ 6 callersMethodInsert
(key, value interface{})
meta/lru.go:29
↓ 6 callersFunctionNewTokenizer
(input string)
query/token.go:97
↓ 6 callersMethodTokenize
()
query/token.go:155
↓ 5 callersMethodAdd
Add is to add the new scheme into a memory. Be careful not to persist the disk.
storage/catalog.go:55
↓ 5 callersMethodFetchScheme
(tblName string)
storage/catalog.go:66
↓ 5 callersFunctionNewParser
(tokens []*Token)
query/parse.go:15
↓ 5 callersFunctionNewWithMessage
(message string)
meta/meta.go:72
↓ 5 callersMethodParse
()
query/parse.go:203
↓ 5 callersMethodfind
(item Item)
meta/btree.go:163
↓ 4 callersFunctionNewLru
(cap int)
meta/lru.go:21
↓ 3 callersMethodHasScheme
(tblName string)
storage/catalog.go:62
↓ 3 callersMethodLen
()
meta/lru.go:58
↓ 3 callersMethodLess
(than Item)
meta/btree.go:27
↓ 3 callersFunctionSaveCatalog
SaveCatalog persists the system catalog as `catalog.db`. `catalog.db` has a simple json format like key/value.
storage/catalog.go:43
↓ 3 callersMethodTxid
()
storage/tran.go:56
↓ 3 callersMethodeq
()
query/parse.go:67
↓ 3 callersMethoderrorExpected
(e error)
query/parse.go:29
↓ 3 callersMethodhash
()
storage/bufpool.go:26
↓ 3 callersMethodinsert
(item Item)
meta/btree.go:124
↓ 3 callersMethodisSpace
()
query/token.go:104
↓ 3 callersFunctionnewBufferTag
(tableName string, pgid uint64)
storage/bufpool.go:19
↓ 2 callersMethodCreateIndex
(indexName string)
storage/storage.go:39
↓ 2 callersFunctionDeserializeBTree
(bytes []byte)
meta/btree.go:212
↓ 2 callersMethodGet
(key Item)
meta/btree.go:196
↓ 2 callersMethodIsUnused
()
storage/tuple.go:85
↓ 2 callersFunctionLoadCatalog
(catalogPath string)
storage/catalog.go:25
↓ 2 callersFunctionNewAnalyzer
(catalog *storage.Catalog)
query/analyze.go:63
↓ 2 callersFunctionNewEmtpyCatalog
()
storage/catalog.go:19
↓ 2 callersFunctionNewPgid
(tableName string)
storage/page.go:18
↓ 2 callersFunctionNewToken
(kind TokenKind, str string)
query/token.go:12
↓ 2 callersMethodReadIndex
(indexName string)
storage/storage.go:55
↓ 2 callersMethodScan
(storage *storage.Storage)
query/plan.go:18
↓ 2 callersFunctionSerializeBTree
(tree *BTree)
meta/btree.go:208
↓ 2 callersMethodTerminate
()
db/bogodb.go:126
↓ 2 callersMethodanalyzeCreateTable
(n *CreateTableStmt)
query/analyze.go:207
↓ 2 callersMethodbeginTransaction
()
query/executor.go:152
↓ 2 callersMethodcommitTransaction
(tran *storage.Transaction)
query/executor.go:156
↓ 2 callersMethodexpectOr
(kinds ...TokenKind)
query/parse.go:33
↓ 2 callersMethodexpr
()
query/parse.go:56
↓ 2 callersMethodisEnd
()
query/token.go:114
↓ 2 callersMethodisNumber
()
query/token.go:133
↓ 2 callersMethodnewTxid
()
storage/tran.go:33
↓ 2 callersMethodpersist
(dirName string, tableName string, pgid uint64, page *Page)
storage/disk.go:43
↓ 2 callersMethodputPage
(tableName string, pgid uint64, p *Page)
storage/bufpool.go:102
↓ 2 callersMethodreadIndex
(indexName string)
storage/disk.go:63
↓ 2 callersMethodsplitMe
()
meta/btree.go:97
↓ 2 callersMethodtoPgid
(tid uint64)
storage/bufpool.go:50
↓ 2 callersMethodwhereClause
()
query/parse.go:85
↓ 1 callersMethodAbort
(tran *Transaction)
storage/tran.go:52
↓ 1 callersMethodAnalyzeMain
(stmt Stmt)
query/analyze.go:231
↓ 1 callersMethodBeginTransaction
()
storage/tran.go:38
↓ 1 callersMethodCanSee
(tran *Transaction)
storage/tuple.go:90
↓ 1 callersMethodCommit
(tran *Transaction)
storage/tran.go:48
↓ 1 callersMethodConvertTable
()
meta/meta.go:20
↓ 1 callersFunctionDeserializePage
(b [4096]byte)
storage/page.go:39
↓ 1 callersFunctionDeserializeTuple
(b [128]byte)
storage/tuple.go:62
↓ 1 callersMethodExecute
(q string, userAgent string)
db/bogodb.go:71
↓ 1 callersMethodExecuteMain
(q Query, p *Plan, tran *storage.Transaction)
query/executor.go:164
↓ 1 callersMethodGetAll
()
meta/lru.go:74
↓ 1 callersMethodHost
()
db/http.go:44
↓ 1 callersMethodInit
()
db/bogodb.go:55
↓ 1 callersMethodInsertIndex
(indexName string, item meta.Item)
storage/storage.go:45
↓ 1 callersMethodInsertTuple
(tablename string, t *Tuple)
storage/storage.go:32
↓ 1 callersMethodLen
()
meta/btree.go:204
↓ 1 callersFunctionNewApiServer
(db *BogoDb)
db/http.go:12
↓ 1 callersFunctionNewBogoDb
()
db/bogodb.go:26
↓ 1 callersFunctionNewExecutor
(storage *storage.Storage, catalog *storage.Catalog, tranManger *storage.TransactionManager)
query/executor.go:17
↓ 1 callersFunctionNewPage
()
storage/page.go:12
↓ 1 callersFunctionNewPlanner
(q Query)
query/plan.go:34
↓ 1 callersFunctionNewScheme
(tblName string, colNames []string, colTypes []ColType, pk string)
meta/meta.go:11
↓ 1 callersFunctionNewStorage
(home string)
storage/storage.go:12
↓ 1 callersFunctionNewTransactionManager
()
storage/tran.go:25
↓ 1 callersFunctionNewTuple
(minTxId uint64, values []interface{})
storage/tuple.go:8
↓ 1 callersMethodPlanMain
()
query/plan.go:106
↓ 1 callersMethodReadTuple
(tableName string, tid uint64)
storage/storage.go:70
↓ 1 callersFunctionSerializePage
(p *Page)
storage/page.go:23
↓ 1 callersFunctionSerializeTuple
(t *Tuple)
storage/tuple.go:49
↓ 1 callersMethodString
()
storage/data.pb.go:113
↓ 1 callersMethodString
()
query/token.go:88
↓ 1 callersMethodString
()
meta/meta.go:54
↓ 1 callersMethodabortTransaction
(tran *storage.Transaction)
query/executor.go:160
↓ 1 callersMethodanalyzeInsert
(n *InsertStmt)
query/analyze.go:69
↓ 1 callersMethodanalyzeSelect
(n *SelectStmt)
query/analyze.go:117
↓ 1 callersMethodanalyzeUpdate
(n *UpdateStmt)
query/analyze.go:169
↓ 1 callersMethodappendTuple
(tableName string, t *Tuple)
storage/bufpool.go:76
↓ 1 callersFunctionclient
()
main.go:19
↓ 1 callersMethodcreateTable
(q *CreateTableQuery)
query/executor.go:142
↓ 1 callersMethodcreateTableStmt
()
query/parse.go:169
↓ 1 callersMethoddeleteChildAt
(index int)
meta/btree.go:65
↓ 1 callersMethodfetchPage
(dirPath, tableName string, pgid uint64)
storage/disk.go:24
↓ 1 callersMethodfromClause
()
query/parse.go:80
next →1–100 of 220, ranked by callers