{"repo":"guycipher/btree","free":true,"listed":false,"github":"https://github.com/guycipher/btree","clone":"git clone https://github.com/guycipher/btree.git","description":"A fast, disk-based BTree package with an extensive easy-to-use API optimized for large keys with many values.","language":"Go","stars":105,"topics":["btree","database","datastore","datastructure","embedded","golang","keyvaluestore"],"license":"BSD-3-Clause","category":"databases-storage","readme_excerpt":"GO BTree A fast, simple disk based BTree implementation in Go. https://pkg.go.dev/github.com/guycipher/btree Features - Easy to use API with Put , Get , Delete , Remove , Iterator , Range methods - Disk based storage with underlying pager - Supports keys with multiple values - Supports large keys and values Extra features - NGet get's keys not equal to the key - NRange get's keys not equal to provided range - GreaterThan get's keys greater than the provided key - GreaterThanEq get's keys greater than or equal to the provided key - LessThan get's keys less than the provided key - LessThanEq get's keys less than or equal to the provided key [!WARNING] Not thread safe. You must handle concurrency control yourself. Usage Importing Creating a new BTree You can use the Open method to open an existing btree or create a new one. You can specify the file name, flags, file mode, and the degree of the btree. Inserting a key-value pair You can insert a value into a key using the Put method. Keys can store many values. Getting a value To get a value you can you the Get method. The get method will return all the keys values. NGet To get all keys not equal to the key you can use the NGet method. GreaterThan To get all keys greater than the key you can use the GreaterThan method. GreaterThanEq To get all keys greater than or equal to the key you can use the GreaterThanEq method. LessThan To get all keys less than the key you can use the LessThan method. LessThanEq To get all keys less than o","default_branch":null,"files":null,"tree":[],"storefront":"/r/guycipher","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/guycipher/btree/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}