Documentation ¶
Index ¶
- type OomStore
- func (s *OomStore) Close() error
- func (s *OomStore) CreateBatchFeature(ctx context.Context, opt types.CreateFeatureOpt) (int, error)
- func (s *OomStore) CreateEntity(ctx context.Context, opt metadata.CreateEntityOpt) (int, error)
- func (s *OomStore) CreateFeatureGroup(ctx context.Context, opt metadata.CreateFeatureGroupOpt) (int, error)
- func (s *OomStore) ExportFeatureValues(ctx context.Context, opt types.ExportFeatureValuesOpt) ([]string, <-chan *types.RawFeatureValueRecord, error)
- func (s *OomStore) GetEntity(ctx context.Context, id int) (*types.Entity, error)
- func (s *OomStore) GetEntityByName(ctx context.Context, name string) (*types.Entity, error)
- func (s *OomStore) GetFeature(ctx context.Context, id int) (*types.Feature, error)
- func (s *OomStore) GetFeatureByName(ctx context.Context, name string) (*types.Feature, error)
- func (s *OomStore) GetFeatureGroup(ctx context.Context, id int) (*types.FeatureGroup, error)
- func (s *OomStore) GetFeatureGroupByName(ctx context.Context, name string) (*types.FeatureGroup, error)
- func (s *OomStore) GetHistoricalFeatureValues(ctx context.Context, opt types.GetHistoricalFeatureValuesOpt) (*types.JoinResult, error)
- func (s *OomStore) GetOnlineFeatureValues(ctx context.Context, opt types.GetOnlineFeatureValuesOpt) (*types.FeatureValues, error)
- func (s *OomStore) GetRevision(ctx context.Context, id int) (*types.Revision, error)
- func (s *OomStore) GetRevisionBy(ctx context.Context, groupID int, revision int64) (*types.Revision, error)
- func (s *OomStore) ImportBatchFeatures(ctx context.Context, opt types.ImportBatchFeaturesOpt) (int, error)
- func (s *OomStore) ListEntity(ctx context.Context) types.EntityList
- func (s *OomStore) ListFeature(ctx context.Context, opt metadata.ListFeatureOpt) types.FeatureList
- func (s *OomStore) ListFeatureGroup(ctx context.Context, entityID *int) types.FeatureGroupList
- func (s *OomStore) ListRevision(ctx context.Context, groupID *int) types.RevisionList
- func (s *OomStore) MultiGetOnlineFeatureValues(ctx context.Context, opt types.MultiGetOnlineFeatureValuesOpt) (types.FeatureDataSet, error)
- func (s *OomStore) Sync(ctx context.Context, opt types.SyncOpt) error
- func (s *OomStore) UpdateEntity(ctx context.Context, opt metadata.UpdateEntityOpt) error
- func (s *OomStore) UpdateFeature(ctx context.Context, opt types.UpdateFeatureOpt) error
- func (s *OomStore) UpdateFeatureGroup(ctx context.Context, opt metadata.UpdateFeatureGroupOpt) error
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 NewOomStore ¶
func (*OomStore) CreateBatchFeature ¶
func (*OomStore) CreateEntity ¶
func (*OomStore) CreateFeatureGroup ¶
func (*OomStore) ExportFeatureValues ¶
func (s *OomStore) ExportFeatureValues(ctx context.Context, opt types.ExportFeatureValuesOpt) ([]string, <-chan *types.RawFeatureValueRecord, error)
func (*OomStore) GetEntityByName ¶ added in v0.0.2
func (*OomStore) GetFeature ¶
func (*OomStore) GetFeatureByName ¶ added in v0.0.2
func (*OomStore) GetFeatureGroup ¶
func (*OomStore) GetFeatureGroupByName ¶ added in v0.0.2
func (*OomStore) GetHistoricalFeatureValues ¶
func (s *OomStore) GetHistoricalFeatureValues(ctx context.Context, opt types.GetHistoricalFeatureValuesOpt) (*types.JoinResult, 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.FeatureValues, error)
func (*OomStore) GetRevision ¶
func (*OomStore) GetRevisionBy ¶ added in v0.0.2
func (*OomStore) ImportBatchFeatures ¶
func (*OomStore) ListEntity ¶
func (s *OomStore) ListEntity(ctx context.Context) types.EntityList
func (*OomStore) ListFeature ¶
func (s *OomStore) ListFeature(ctx context.Context, opt metadata.ListFeatureOpt) types.FeatureList
func (*OomStore) ListFeatureGroup ¶
func (*OomStore) ListRevision ¶
func (*OomStore) MultiGetOnlineFeatureValues ¶
func (s *OomStore) MultiGetOnlineFeatureValues(ctx context.Context, opt types.MultiGetOnlineFeatureValuesOpt) (types.FeatureDataSet, error)
func (*OomStore) Sync ¶ added in v0.0.2
Move a certain feature group revision data from offline to online store
func (*OomStore) UpdateEntity ¶
func (*OomStore) UpdateFeature ¶
func (*OomStore) UpdateFeatureGroup ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.