Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Page ¶
type Page[DataType any] interface { Add(item Item[DataType]) AddChild(child Page[DataType]) Capacity() int Child(index int) Page[DataType] Children(children ...[]Page[DataType]) PageChildren[DataType] IsLeaf() bool Item(index int) Item[DataType] Items(items ...Item[DataType]) PageItems[DataType] IsFull() bool Offset() int64 Parent(parent ...Page[DataType]) Page[DataType] Size() int String() string }
type PageChildren ¶
type PageChildren[DataType any] interface { All() []Page[DataType] ChildFor(Item[DataType]) Page[DataType] IsFetched() bool Last() Page[DataType] Nth(int) Page[DataType] Offsets() []int64 Put(offset int64) Set(Page[DataType], ...Page[DataType]) PageChildren[DataType] Size() int Split(int) ([]Page[DataType], []Page[DataType]) Unload() }
type Persistence ¶
Click to show internal directories.
Click to hide internal directories.