kv

package
v0.0.0-rc20 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YtDynTableKVWrapper

type YtDynTableKVWrapper struct {
	YtClient yt.Client
	Path     ypath.Path
	// contains filtered or unexported fields
}

func NewYtDynTableKVWrapper

func NewYtDynTableKVWrapper(ctx context.Context, client yt.Client, path ypath.Path, key, val interface{}, bundle string, attrs map[string]interface{}) (*YtDynTableKVWrapper, error)

func (*YtDynTableKVWrapper) CountAllRows

func (l *YtDynTableKVWrapper) CountAllRows(ctx context.Context) (uint64, error)

func (*YtDynTableKVWrapper) DeleteRow

func (l *YtDynTableKVWrapper) DeleteRow(ctx context.Context, key interface{}) error

func (*YtDynTableKVWrapper) DeleteRows

func (l *YtDynTableKVWrapper) DeleteRows(ctx context.Context, keys []interface{}) error

func (*YtDynTableKVWrapper) GetValueByKey

func (l *YtDynTableKVWrapper) GetValueByKey(ctx context.Context, key interface{}) (bool, interface{}, error)

func (*YtDynTableKVWrapper) GetValueByKeyTx

func (l *YtDynTableKVWrapper) GetValueByKeyTx(ctx context.Context, tx yt.TabletTx, key interface{}) (bool, interface{}, error)

func (*YtDynTableKVWrapper) InsertRow

func (l *YtDynTableKVWrapper) InsertRow(ctx context.Context, key, value interface{}) error

func (*YtDynTableKVWrapper) InsertRowTx

func (l *YtDynTableKVWrapper) InsertRowTx(ctx context.Context, tx yt.TabletTx, key, value interface{}) error

func (*YtDynTableKVWrapper) InsertRows

func (l *YtDynTableKVWrapper) InsertRows(ctx context.Context, keys, values []interface{}) error

func (*YtDynTableKVWrapper) InsertRowsTx

func (l *YtDynTableKVWrapper) InsertRowsTx(ctx context.Context, tx yt.TabletTx, keys, values []interface{}) error

Jump to

Keyboard shortcuts

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