Documentation
¶
Index ¶
- type LeafPageLog
- type LeafPageReader
- type PageAllocator
- type ParallelMergePressureLevel
- type ParallelMergePressureSource
- 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) SetAdaptiveLeafEncoding(enabled bool)
- func (z *Zipper) SetFillTargets(leafPPM, internalPPM uint32)
- func (z *Zipper) SetIndexColumnarLeaves(enabled bool)
- func (z *Zipper) SetIndexInternalBaseDelta(enabled bool)
- func (z *Zipper) SetIndexPackedValuePtr(enabled bool)
- func (z *Zipper) SetLeafPageLog(log LeafPageLog)
- func (z *Zipper) SetLeafPageReader(reader LeafPageReader)
- func (z *Zipper) SetLeafPrefixCompression(enabled bool)
- func (z *Zipper) SetMaintenanceOpsPerCoalesce(opsPerCoalesce int)
- func (z *Zipper) SetOuterLeavesInValueLog(enabled bool)
- func (z *Zipper) SetParallelMergePressureSource(src ParallelMergePressureSource)
- func (z *Zipper) SetPiggybackCompaction(enabled bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeafPageLog ¶ added in v0.4.0
type LeafPageReader ¶ added in v0.4.0
type PageAllocator ¶
type ParallelMergePressureLevel ¶ added in v0.4.0
type ParallelMergePressureLevel uint8
const ( ParallelMergePressureNormal ParallelMergePressureLevel = iota ParallelMergePressureHigh ParallelMergePressureCritical )
type ParallelMergePressureSource ¶ added in v0.4.0
type ParallelMergePressureSource func() ParallelMergePressureLevel
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) SetAdaptiveLeafEncoding ¶ added in v0.4.0
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) SetIndexColumnarLeaves ¶ added in v0.2.0
func (*Zipper) SetIndexInternalBaseDelta ¶ added in v0.2.0
func (*Zipper) SetIndexPackedValuePtr ¶ added in v0.3.0
func (*Zipper) SetLeafPageLog ¶ added in v0.4.0
func (z *Zipper) SetLeafPageLog(log LeafPageLog)
func (*Zipper) SetLeafPageReader ¶ added in v0.4.0
func (z *Zipper) SetLeafPageReader(reader LeafPageReader)
func (*Zipper) SetLeafPrefixCompression ¶
func (*Zipper) SetMaintenanceOpsPerCoalesce ¶ added in v0.3.0
SetMaintenanceOpsPerCoalesce sets the approximate ops-per-maintenance ratio. Values <= 0 disable maintenance budgeting (full coalesce behavior).
func (*Zipper) SetOuterLeavesInValueLog ¶ added in v0.4.0
func (*Zipper) SetParallelMergePressureSource ¶ added in v0.4.0
func (z *Zipper) SetParallelMergePressureSource(src ParallelMergePressureSource)
SetParallelMergePressureSource configures an optional pressure signal for the internal-node merge fan-out gate. Nil preserves the baseline thresholds.