staging

package
v0.52.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Iterator

type Iterator struct {
	// contains filtered or unexported fields
}

func NewStagingIterator

func NewStagingIterator(ctx context.Context, db db.Database, log logging.Logger, st graveler.StagingToken) *Iterator

func (*Iterator) Close

func (s *Iterator) Close()

func (*Iterator) Err

func (s *Iterator) Err() error

func (*Iterator) Next

func (s *Iterator) Next() bool

func (*Iterator) SeekGE

func (s *Iterator) SeekGE(key graveler.Key)

func (*Iterator) Value

func (s *Iterator) Value() *graveler.ValueRecord

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(db db.Database) *Manager

func (*Manager) Drop

func (p *Manager) Drop(ctx context.Context, st graveler.StagingToken) error

func (*Manager) DropByPrefix

func (p *Manager) DropByPrefix(ctx context.Context, st graveler.StagingToken, prefix graveler.Key) error

func (*Manager) DropKey

func (p *Manager) DropKey(ctx context.Context, st graveler.StagingToken, key graveler.Key) error

func (*Manager) Get

func (*Manager) List

func (*Manager) Set

func (p *Manager) Set(ctx context.Context, st graveler.StagingToken, key graveler.Key, value *graveler.Value, overwrite bool) error

Jump to

Keyboard shortcuts

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