Documentation
¶
Index ¶
- type PageAllocator
- type Split
- type Zipper
- func (z *Zipper) Apply(rootID uint64, b *batch.Batch) (uint64, []uint64, adaptive.Metrics, error)
- func (z *Zipper) CloneWithAllocator(a PageAllocator) *Zipper
- func (z *Zipper) SetFillTargets(leafPPM, internalPPM uint32)
- func (z *Zipper) SetLeafPrefixCompression(enabled bool)
- func (z *Zipper) SetPiggybackCompaction(enabled bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PageAllocator ¶
type Zipper ¶
type Zipper struct {
// contains filtered or unexported fields
}
func (*Zipper) Apply ¶
Apply applies the batch to the tree rooted at rootID. Returns the new root page ID, list of retired pages, and commit metrics.
func (*Zipper) CloneWithAllocator ¶
func (z *Zipper) CloneWithAllocator(a PageAllocator) *Zipper
CloneWithAllocator returns a zipper that shares config/pager with z but uses the provided allocator.
func (*Zipper) SetFillTargets ¶
SetFillTargets configures soft-full thresholds for newly written pages. Targets are in parts-per-million where 1_000_000 means "allow full pages".
func (*Zipper) SetLeafPrefixCompression ¶
func (*Zipper) SetPiggybackCompaction ¶
Click to show internal directories.
Click to hide internal directories.