├── .gitignore ├── Part 1 ├── const.go ├── dal.go ├── freelist.go └── main.go ├── Part 2 ├── const.go ├── dal.go ├── freelist.go ├── main.go └── meta.go ├── Part 3 ├── const.go ├── dal.go ├── freelist.go ├── main.go ├── mainTest ├── meta.go └── node.go ├── Part 4 ├── collection.go ├── const.go ├── dal.go ├── freelist.go ├── main.go ├── meta.go └── node.go ├── Part 5 ├── collection.go ├── const.go ├── dal.go ├── freelist.go ├── main.go ├── meta.go └── node.go ├── Part 6 ├── collection.go ├── const.go ├── dal.go ├── db.go ├── freelist.go ├── meta.go ├── node.go └── tx.go ├── Part 7 ├── collection.go ├── const.go ├── dal.go ├── db.go ├── freelist.go ├── main.go ├── meta.go ├── node.go └── tx.go └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | *.a 3 | *.so 4 | .idea 5 | .vscode -------------------------------------------------------------------------------- /Part 1/const.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | const ( 4 | pageNumSize = 8 5 | ) 6 | -------------------------------------------------------------------------------- /Part 1/dal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 1/dal.go -------------------------------------------------------------------------------- /Part 1/freelist.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 1/freelist.go -------------------------------------------------------------------------------- /Part 1/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 1/main.go -------------------------------------------------------------------------------- /Part 2/const.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | const ( 4 | pageNumSize = 8 5 | ) 6 | -------------------------------------------------------------------------------- /Part 2/dal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 2/dal.go -------------------------------------------------------------------------------- /Part 2/freelist.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 2/freelist.go -------------------------------------------------------------------------------- /Part 2/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 2/main.go -------------------------------------------------------------------------------- /Part 2/meta.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 2/meta.go -------------------------------------------------------------------------------- /Part 3/const.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | const ( 4 | pageNumSize = 8 5 | ) 6 | -------------------------------------------------------------------------------- /Part 3/dal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 3/dal.go -------------------------------------------------------------------------------- /Part 3/freelist.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 3/freelist.go -------------------------------------------------------------------------------- /Part 3/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 3/main.go -------------------------------------------------------------------------------- /Part 3/mainTest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 3/mainTest -------------------------------------------------------------------------------- /Part 3/meta.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 3/meta.go -------------------------------------------------------------------------------- /Part 3/node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 3/node.go -------------------------------------------------------------------------------- /Part 4/collection.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 4/collection.go -------------------------------------------------------------------------------- /Part 4/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 4/const.go -------------------------------------------------------------------------------- /Part 4/dal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 4/dal.go -------------------------------------------------------------------------------- /Part 4/freelist.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 4/freelist.go -------------------------------------------------------------------------------- /Part 4/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 4/main.go -------------------------------------------------------------------------------- /Part 4/meta.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 4/meta.go -------------------------------------------------------------------------------- /Part 4/node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 4/node.go -------------------------------------------------------------------------------- /Part 5/collection.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 5/collection.go -------------------------------------------------------------------------------- /Part 5/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 5/const.go -------------------------------------------------------------------------------- /Part 5/dal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 5/dal.go -------------------------------------------------------------------------------- /Part 5/freelist.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 5/freelist.go -------------------------------------------------------------------------------- /Part 5/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 5/main.go -------------------------------------------------------------------------------- /Part 5/meta.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 5/meta.go -------------------------------------------------------------------------------- /Part 5/node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 5/node.go -------------------------------------------------------------------------------- /Part 6/collection.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 6/collection.go -------------------------------------------------------------------------------- /Part 6/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 6/const.go -------------------------------------------------------------------------------- /Part 6/dal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 6/dal.go -------------------------------------------------------------------------------- /Part 6/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 6/db.go -------------------------------------------------------------------------------- /Part 6/freelist.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 6/freelist.go -------------------------------------------------------------------------------- /Part 6/meta.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 6/meta.go -------------------------------------------------------------------------------- /Part 6/node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 6/node.go -------------------------------------------------------------------------------- /Part 6/tx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 6/tx.go -------------------------------------------------------------------------------- /Part 7/collection.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 7/collection.go -------------------------------------------------------------------------------- /Part 7/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 7/const.go -------------------------------------------------------------------------------- /Part 7/dal.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 7/dal.go -------------------------------------------------------------------------------- /Part 7/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 7/db.go -------------------------------------------------------------------------------- /Part 7/freelist.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 7/freelist.go -------------------------------------------------------------------------------- /Part 7/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 7/main.go -------------------------------------------------------------------------------- /Part 7/meta.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 7/meta.go -------------------------------------------------------------------------------- /Part 7/node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 7/node.go -------------------------------------------------------------------------------- /Part 7/tx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/Part 7/tx.go -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amit-davidson/Building-a-NoSQL-database-from-zero/HEAD/README.md --------------------------------------------------------------------------------