oomstore

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OomStore

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

func Create

func Create(ctx context.Context, opt types.OomStoreConfig) (*OomStore, error)

func NewOomStore

func NewOomStore(online online.Store, offline offline.Store, metadata metadata.Store) *OomStore

func Open

func Open(ctx context.Context, opt types.OomStoreConfig) (*OomStore, error)

func (*OomStore) Close

func (s *OomStore) Close() error

func (*OomStore) CreateBatchFeature

func (s *OomStore) CreateBatchFeature(ctx context.Context, opt types.CreateFeatureOpt) error

func (*OomStore) CreateEntity

func (s *OomStore) CreateEntity(ctx context.Context, opt types.CreateEntityOpt) error

func (*OomStore) CreateFeatureGroup

func (s *OomStore) CreateFeatureGroup(ctx context.Context, opt types.CreateFeatureGroupOpt) error

func (*OomStore) ExportFeatureValues

func (s *OomStore) ExportFeatureValues(ctx context.Context, opt types.ExportFeatureValuesOpt) ([]string, <-chan *types.RawFeatureValueRecord, error)

func (*OomStore) GetEntity

func (s *OomStore) GetEntity(ctx context.Context, name string) (*types.Entity, error)

func (*OomStore) GetFeature

func (s *OomStore) GetFeature(ctx context.Context, featureName string) (*types.Feature, error)

func (*OomStore) GetFeatureGroup

func (s *OomStore) GetFeatureGroup(ctx context.Context, groupName string) (*types.FeatureGroup, error)

func (*OomStore) GetHistoricalFeatureValues

func (s *OomStore) GetHistoricalFeatureValues(ctx context.Context, opt types.GetHistoricalFeatureValuesOpt) ([]*types.EntityRowWithFeatures, error)

GetHistoricalFeatureValues gets point-in-time feature values for each entity row; currently, this API only supports batch features.

func (*OomStore) GetOnlineFeatureValues

func (s *OomStore) GetOnlineFeatureValues(ctx context.Context, opt types.GetOnlineFeatureValuesOpt) (types.FeatureValueMap, error)

func (*OomStore) GetRevision

func (s *OomStore) GetRevision(ctx context.Context, groupName string, revision int64) (*types.Revision, error)

func (*OomStore) ImportBatchFeatures

func (s *OomStore) ImportBatchFeatures(ctx context.Context, opt types.ImportBatchFeaturesOpt) error

func (*OomStore) ListEntity

func (s *OomStore) ListEntity(ctx context.Context) ([]*types.Entity, error)

func (*OomStore) ListFeature

func (s *OomStore) ListFeature(ctx context.Context, opt types.ListFeatureOpt) (types.FeatureList, error)

func (*OomStore) ListFeatureGroup

func (s *OomStore) ListFeatureGroup(ctx context.Context, entityName *string) ([]*types.FeatureGroup, error)

func (*OomStore) ListRevision

func (s *OomStore) ListRevision(ctx context.Context, groupName *string) ([]*types.Revision, error)

func (*OomStore) Materialize

func (s *OomStore) Materialize(ctx context.Context, opt types.MaterializeOpt) error

func (*OomStore) MultiGetOnlineFeatureValues

func (s *OomStore) MultiGetOnlineFeatureValues(ctx context.Context, opt types.MultiGetOnlineFeatureValuesOpt) (types.FeatureDataSet, error)

func (*OomStore) UpdateEntity

func (s *OomStore) UpdateEntity(ctx context.Context, opt types.UpdateEntityOpt) (int64, error)

func (*OomStore) UpdateFeature

func (s *OomStore) UpdateFeature(ctx context.Context, opt types.UpdateFeatureOpt) (int64, error)

func (*OomStore) UpdateFeatureGroup

func (s *OomStore) UpdateFeatureGroup(ctx context.Context, opt types.UpdateFeatureGroupOpt) (int64, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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