MCPcopy Create free account

hub / github.com/auxten/go-sqldb / functions

Functions68 in github.com/auxten/go-sqldb

↓ 18 callersMethodGetPage
(pageIdx uint32)
page/page.go:67
↓ 16 callersMethodSize
()
node/node.schema.gen.go:534
↓ 11 callersFunctionLength
(s []byte)
utils/bytes.go:3
↓ 9 callersMethodMarshal
(buf []byte)
node/node.schema.gen.go:548
↓ 9 callersMethodParseInsert
* ParseInsert can parse a simple INSERT statement, eg. INSERT INTO table_name VALUES (value1, value2, …) or INSERT INTO table_name(column1, column
parser/parser.go:161
↓ 9 callersMethodParseSelect
* ParseSelect is a simple select statement parser. It's just a demo of SELECT statement parser skeleton. Currently, the most complex SQL supported her
parser/parser.go:72
↓ 8 callersFunctionNewPlan
(t *page.Table)
planner/plan.go:18
↓ 7 callersMethodUnmarshal
(buf []byte)
node/node.schema.gen.go:593
↓ 6 callersMethodGetMaxKey
()
page/page.go:17
↓ 6 callersFunctionOpen
(fileName string)
db/db.go:7
↓ 5 callersMethodGetSQLType
(sql string)
parser/parser.go:42
↓ 5 callersMethodSelectPrepare
(ast *parser.SelectTree)
planner/select.go:15
↓ 4 callersMethodChild
(childIdx uint32)
node/node.go:51
↓ 4 callersMethodInsert
(ast *parser.InsertTree)
planner/insert.go:11
↓ 3 callersMethodFindChildByKey
FindChildByKey returns the index of the child which should contain the given key.
node/node.go:33
↓ 3 callersMethodInsert
(row *node.Row)
page/table.go:34
↓ 3 callersFunctionPrintRow
* Id uint32 Sex byte Age uint8 Username [32]byte Email [128]byte Phone [64]byte */
node/schema.go:23
↓ 3 callersMethodSeek
Seek the page of key, if not exist then return the place key should be for the later INSERT.
page/table.go:16
↓ 2 callersFunctionClose
(t *page.Table)
db/db.go:33
↓ 2 callersFunctionInitLeafNode
(node *node.LeafNode)
page/btree.go:7
↓ 2 callersFunctionWriteRow
(w io.Writer, row *Row)
node/schema.go:27
↓ 2 callersMethodleafNodeSeek
(pageIdx uint32, key uint32)
page/table.go:59
↓ 2 callersFunctionsaveToCell
(cell *node.Cell, key uint32, row *node.Row)
page/cursor.go:122
↓ 1 callersMethodCreateNewRoot
(rightChildPageIdx uint32)
page/table.go:118
↓ 1 callersMethodFlush
(pageIdx uint32)
page/page.go:109
↓ 1 callersFunctionInitInternalNode
(node *node.InternalNode)
page/btree.go:14
↓ 1 callersMethodInternalNodeInsert
(parentPageIdx uint32, childPageIdx uint32)
page/table.go:175
↓ 1 callersMethodLeafNodeInsert
(key uint32, row *node.Row)
page/cursor.go:14
↓ 1 callersMethodLeafNodeSplitInsert
(key uint32, row *node.Row)
page/cursor.go:43
↓ 1 callersFunctionPagerOpen
(fileName string)
page/page.go:34
↓ 1 callersMethodSize
()
node/node.schema.gen.go:21
↓ 1 callersMethodSize
()
node/node.schema.gen.go:87
↓ 1 callersMethodSize
()
node/node.schema.gen.go:149
↓ 1 callersMethodSize
()
node/node.schema.gen.go:211
↓ 1 callersMethodSize
()
node/node.schema.gen.go:274
↓ 1 callersMethodSize
()
node/node.schema.gen.go:373
↓ 1 callersMethodSize
()
node/node.schema.gen.go:431
↓ 1 callersMethodUnmarshal
(buf []byte)
node/node.schema.gen.go:335
↓ 1 callersMethodUnmarshal
(buf []byte)
node/node.schema.gen.go:492
↓ 1 callersFunctiondumpConst
()
node/schema.go:38
↓ 1 callersMethodfetchRow
(table *page.Table)
planner/select.go:96
↓ 1 callersMethodinternalNodeSeek
(pageIdx uint32, key uint32)
page/table.go:95
↓ 1 callersFunctionisRowFiltered
(where []string, row *node.Row)
planner/select.go:120
MethodMarshal
(buf []byte)
node/node.schema.gen.go:26
MethodMarshal
(buf []byte)
node/node.schema.gen.go:92
MethodMarshal
(buf []byte)
node/node.schema.gen.go:154
MethodMarshal
(buf []byte)
node/node.schema.gen.go:216
MethodMarshal
(buf []byte)
node/node.schema.gen.go:294
MethodMarshal
(buf []byte)
node/node.schema.gen.go:381
MethodMarshal
(buf []byte)
node/node.schema.gen.go:451
MethodPrepare
()
page/table.go:223
MethodSelect
()
page/table.go:219
FunctionTestDB
(t *testing.T)
db/db_test.go:12
FunctionTestParser
(t *testing.T)
parser/parser_test.go:9
FunctionTestParserInsert
(t *testing.T)
parser/parser_test.go:58
FunctionTestParserSelect
(t *testing.T)
parser/parser_test.go:26
FunctionTestPlan_Insert
(t *testing.T)
planner/insert_test.go:13
FunctionTestPlan_Insert_multiple
(t *testing.T)
planner/insert_test.go:55
FunctionTestPlannerSelect
(t *testing.T)
planner/select_test.go:13
FunctionTestSchema
(t *testing.T)
node/schema_test.go:9
FunctionTestStructAssignment
(t *testing.T)
node/schema_test.go:26
FunctionTestUtils_Length
(t *testing.T)
utils/bytes_test.go:9
MethodUnmarshal
(buf []byte)
node/node.schema.gen.go:65
MethodUnmarshal
(buf []byte)
node/node.schema.gen.go:128
MethodUnmarshal
(buf []byte)
node/node.schema.gen.go:190
MethodUnmarshal
(buf []byte)
node/node.schema.gen.go:252
MethodUnmarshal
(buf []byte)
node/node.schema.gen.go:410
Functionmain
()
main.go:19