bpt

package
v1.9.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BPTree added in v1.2.12

type BPTree interface {
	Close()
	Empty() bool
	Size() uint64
	Asc() (values []Value)
	Add(val Value) (ok bool)
	Delete(val Value) (ok bool)
}

func New

func New(orderT uint16, baseDir string, logger *zap.Logger, json2Value Json2Value) BPTree

type Json2Value added in v1.2.8

type Json2Value func([]byte) Value

type Value

type Value interface {
	String() string
	Compare(Value) stringutil.Diff
	ToJSON() []byte
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL