entry

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

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 NewEmptyEntry

func NewEmptyEntry() *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) 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) 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