mutation

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MutableBlockNode

type MutableBlockNode struct {
	buffer.Node
	TableData iface.ITableData
	Meta      *metadata.Block
	File      *dataio.TransientBlockFile
	Data      batch.IBatch
	Flusher   mb.BlockFlusher
	Stale     *atomic.Value
	// contains filtered or unexported fields
}

func NewMutableBlockNode

func NewMutableBlockNode(mgr base.INodeManager, file *dataio.TransientBlockFile,
	tabledata iface.ITableData, meta *metadata.Block, flusher mb.BlockFlusher, initSize uint64) *MutableBlockNode

func (*MutableBlockNode) Flush

func (n *MutableBlockNode) Flush() error

func (*MutableBlockNode) GetData

func (n *MutableBlockNode) GetData() batch.IBatch

func (*MutableBlockNode) GetFile

func (*MutableBlockNode) GetMeta

func (n *MutableBlockNode) GetMeta() *metadata.Block

func (*MutableBlockNode) SetStale

func (n *MutableBlockNode) SetStale()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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