online

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetOpt

type GetOpt struct {
	EntityName  string
	RevisionId  int32
	EntityKey   string
	FeatureList types.FeatureList
}

type ImportOpt

type ImportOpt struct {
	Features types.FeatureList
	Revision *types.Revision
	Entity   *types.Entity
	Stream   <-chan *types.RawFeatureValueRecord
}

type MultiGetOpt

type MultiGetOpt struct {
	EntityName  string
	RevisionId  int32
	EntityKeys  []string
	FeatureList types.FeatureList
}

type Store

type Store interface {
	Get(ctx context.Context, opt GetOpt) (dbutil.RowMap, error)
	MultiGet(ctx context.Context, opt MultiGetOpt) (map[string]dbutil.RowMap, error)
	Import(ctx context.Context, opt ImportOpt) error
	Purge(ctx context.Context, revision *types.Revision) error
	io.Closer
}

Directories

Path Synopsis
Package mock_online is a generated GoMock package.
Package mock_online is a generated GoMock package.

Jump to

Keyboard shortcuts

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