entry

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 7 Imported by: ? 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 Entry

type Entry struct {
	Entry entry.Entry
	Info  *entry.Info //for wal in post append
	Lsn   uint64
	Ctx   any //for addr in batchstore
	// contains filtered or unexported fields
}

func MockEntry

func MockEntry() *Entry

func MockEntryWithPayload added in v0.8.0

func MockEntryWithPayload(payload []byte) *Entry

func NewEmptyEntry

func NewEmptyEntry() *Entry

func NewEndEntry added in v0.8.0

func NewEndEntry() *Entry

func NewEntry

func NewEntry(e entry.Entry) *Entry

func (*Entry) DoneWithErr

func (e *Entry) DoneWithErr(err error)

func (*Entry) GetSize

func (e *Entry) GetSize() int

func (*Entry) IsEnd added in v0.8.0

func (e *Entry) IsEnd() bool

func (*Entry) ReadAt

func (e *Entry) ReadAt(r *os.File, offset int) (int, error)

func (*Entry) ReadFrom

func (e *Entry) ReadFrom(r io.Reader) (n int64, err error)

func (*Entry) SetInfo

func (e *Entry) SetInfo()

func (*Entry) UnmarshalBinary added in v0.8.0

func (e *Entry) UnmarshalBinary(buf []byte) (n int64, err error)

func (*Entry) WaitDone

func (e *Entry) WaitDone() error

func (*Entry) WriteTo

func (e *Entry) WriteTo(w io.Writer) (int64, error)

Jump to

Keyboard shortcuts

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