Documentation
¶
Index ¶
- Variables
- func RegisterOnlineFeatureStoreServiceServer(s grpc.ServiceRegistrar, srv OnlineFeatureStoreServiceServer)
- type FGFields
- func (*FGFields) Descriptor() ([]byte, []int)deprecated
- func (x *FGFields) GetFeatures() []string
- func (x *FGFields) GetKey() string
- func (x *FGFields) GetKeyvalue() string
- func (*FGFields) ProtoMessage()
- func (x *FGFields) ProtoReflect() protoreflect.Message
- func (x *FGFields) Reset()
- func (x *FGFields) String() string
- type GetRow
- type GetRowResult
- func (*GetRowResult) Descriptor() ([]byte, []int)deprecated
- func (x *GetRowResult) GetKey() string
- func (x *GetRowResult) GetKeyname() string
- func (x *GetRowResult) GetValues() map[string]*Value
- func (*GetRowResult) ProtoMessage()
- func (x *GetRowResult) ProtoReflect() protoreflect.Message
- func (x *GetRowResult) Reset()
- func (x *GetRowResult) String() string
- type OnlineFeatureStoreServiceClient
- type OnlineFeatureStoreServiceServer
- type OnlineGetRequest
- func (*OnlineGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OnlineGetRequest) GetNamespace() string
- func (x *OnlineGetRequest) GetRows() []*GetRow
- func (*OnlineGetRequest) ProtoMessage()
- func (x *OnlineGetRequest) ProtoReflect() protoreflect.Message
- func (x *OnlineGetRequest) Reset()
- func (x *OnlineGetRequest) String() string
- type OnlineGetResponse
- func (*OnlineGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OnlineGetResponse) GetRows() []*GetRowResult
- func (*OnlineGetResponse) ProtoMessage()
- func (x *OnlineGetResponse) ProtoReflect() protoreflect.Message
- func (x *OnlineGetResponse) Reset()
- func (x *OnlineGetResponse) String() string
- type PushRequest
- func (*PushRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushRequest) GetNamespace() string
- func (x *PushRequest) GetRows() []*Row
- func (*PushRequest) ProtoMessage()
- func (x *PushRequest) ProtoReflect() protoreflect.Message
- func (x *PushRequest) Reset()
- func (x *PushRequest) String() string
- type PushResponse
- type Row
- func (*Row) Descriptor() ([]byte, []int)deprecated
- func (x *Row) GetField() string
- func (x *Row) GetKey() string
- func (x *Row) GetKeyname() string
- func (x *Row) GetValue() string
- func (*Row) ProtoMessage()
- func (x *Row) ProtoReflect() protoreflect.Message
- func (x *Row) Reset()
- func (x *Row) String() string
- type UnimplementedOnlineFeatureStoreServiceServer
- type UnsafeOnlineFeatureStoreServiceServer
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetBool() bool
- func (x *Value) GetBytes() []byte
- func (x *Value) GetDouble() float64
- func (x *Value) GetInt64() int64
- func (x *Value) GetString_() string
- func (x *Value) GetUnixMilli() int64
- func (m *Value) GetValue() isValue_Value
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- type Value_Bool
- type Value_Bytes
- type Value_Double
- type Value_Int64
- type Value_String_
- type Value_UnixMilli
Constants ¶
This section is empty.
Variables ¶
var File_github_com_metaprov_modelaapi_services_onlinefeaturestored_v1_onlinefeaturestored_proto protoreflect.FileDescriptor
var OnlineFeatureStoreService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "github.com.metaprov.modelaapi.services.onlinefeaturestored.v1.OnlineFeatureStoreService", HandlerType: (*OnlineFeatureStoreServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "OnlineGet", Handler: _OnlineFeatureStoreService_OnlineGet_Handler, }, { MethodName: "Push", Handler: _OnlineFeatureStoreService_Push_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/metaprov/modelaapi/services/onlinefeaturestored/v1/onlinefeaturestored.proto", }
OnlineFeatureStoreService_ServiceDesc is the grpc.ServiceDesc for OnlineFeatureStoreService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOnlineFeatureStoreServiceServer ¶
func RegisterOnlineFeatureStoreServiceServer(s grpc.ServiceRegistrar, srv OnlineFeatureStoreServiceServer)
Types ¶
type FGFields ¶ added in v0.5.347
type FGFields struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // the name of the feature group Keyvalue string `protobuf:"bytes,2,opt,name=keyvalue,proto3" json:"keyvalue,omitempty"` // the name of the feature group Features []string `protobuf:"bytes,3,rep,name=features,proto3" json:"features,omitempty"` // all the features in the feature group // contains filtered or unexported fields }
func (*FGFields) Descriptor
deprecated
added in
v0.5.347
func (*FGFields) GetFeatures ¶ added in v0.5.347
func (*FGFields) GetKeyvalue ¶ added in v0.5.347
func (*FGFields) ProtoMessage ¶ added in v0.5.347
func (*FGFields) ProtoMessage()
func (*FGFields) ProtoReflect ¶ added in v0.5.347
func (x *FGFields) ProtoReflect() protoreflect.Message
type GetRow ¶ added in v0.5.343
type GetRow struct { Groups []*FGFields `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*GetRow) Descriptor
deprecated
added in
v0.5.343
func (*GetRow) ProtoMessage ¶ added in v0.5.343
func (*GetRow) ProtoMessage()
func (*GetRow) ProtoReflect ¶ added in v0.5.343
func (x *GetRow) ProtoReflect() protoreflect.Message
type GetRowResult ¶ added in v0.5.347
type GetRowResult struct { Keyname string `protobuf:"bytes,1,opt,name=keyname,proto3" json:"keyname,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Values map[string]*Value `` // for each feature, return its value /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetRowResult) Descriptor
deprecated
added in
v0.5.347
func (*GetRowResult) Descriptor() ([]byte, []int)
Deprecated: Use GetRowResult.ProtoReflect.Descriptor instead.
func (*GetRowResult) GetKey ¶ added in v0.5.347
func (x *GetRowResult) GetKey() string
func (*GetRowResult) GetKeyname ¶ added in v0.5.347
func (x *GetRowResult) GetKeyname() string
func (*GetRowResult) GetValues ¶ added in v0.5.347
func (x *GetRowResult) GetValues() map[string]*Value
func (*GetRowResult) ProtoMessage ¶ added in v0.5.347
func (*GetRowResult) ProtoMessage()
func (*GetRowResult) ProtoReflect ¶ added in v0.5.347
func (x *GetRowResult) ProtoReflect() protoreflect.Message
func (*GetRowResult) Reset ¶ added in v0.5.347
func (x *GetRowResult) Reset()
func (*GetRowResult) String ¶ added in v0.5.347
func (x *GetRowResult) String() string
type OnlineFeatureStoreServiceClient ¶
type OnlineFeatureStoreServiceClient interface { OnlineGet(ctx context.Context, in *OnlineGetRequest, opts ...grpc.CallOption) (*OnlineGetResponse, error) Push(ctx context.Context, in *PushRequest, opts ...grpc.CallOption) (*PushResponse, error) }
OnlineFeatureStoreServiceClient is the client API for OnlineFeatureStoreService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewOnlineFeatureStoreServiceClient ¶
func NewOnlineFeatureStoreServiceClient(cc grpc.ClientConnInterface) OnlineFeatureStoreServiceClient
type OnlineFeatureStoreServiceServer ¶
type OnlineFeatureStoreServiceServer interface { OnlineGet(context.Context, *OnlineGetRequest) (*OnlineGetResponse, error) Push(context.Context, *PushRequest) (*PushResponse, error) // contains filtered or unexported methods }
OnlineFeatureStoreServiceServer is the server API for OnlineFeatureStoreService service. All implementations must embed UnimplementedOnlineFeatureStoreServiceServer for forward compatibility
type OnlineGetRequest ¶ added in v0.5.292
type OnlineGetRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Rows []*GetRow `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"` // repeated for multi get // contains filtered or unexported fields }
For real time infernece, ask the store for one row features
func (*OnlineGetRequest) Descriptor
deprecated
added in
v0.5.292
func (*OnlineGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use OnlineGetRequest.ProtoReflect.Descriptor instead.
func (*OnlineGetRequest) GetNamespace ¶ added in v0.5.345
func (x *OnlineGetRequest) GetNamespace() string
func (*OnlineGetRequest) GetRows ¶ added in v0.5.343
func (x *OnlineGetRequest) GetRows() []*GetRow
func (*OnlineGetRequest) ProtoMessage ¶ added in v0.5.292
func (*OnlineGetRequest) ProtoMessage()
func (*OnlineGetRequest) ProtoReflect ¶ added in v0.5.292
func (x *OnlineGetRequest) ProtoReflect() protoreflect.Message
func (*OnlineGetRequest) Reset ¶ added in v0.5.292
func (x *OnlineGetRequest) Reset()
func (*OnlineGetRequest) String ¶ added in v0.5.292
func (x *OnlineGetRequest) String() string
type OnlineGetResponse ¶ added in v0.5.292
type OnlineGetResponse struct { Rows []*GetRowResult `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"` // contains filtered or unexported fields }
Answer one row
func (*OnlineGetResponse) Descriptor
deprecated
added in
v0.5.292
func (*OnlineGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use OnlineGetResponse.ProtoReflect.Descriptor instead.
func (*OnlineGetResponse) GetRows ¶ added in v0.5.343
func (x *OnlineGetResponse) GetRows() []*GetRowResult
func (*OnlineGetResponse) ProtoMessage ¶ added in v0.5.292
func (*OnlineGetResponse) ProtoMessage()
func (*OnlineGetResponse) ProtoReflect ¶ added in v0.5.292
func (x *OnlineGetResponse) ProtoReflect() protoreflect.Message
func (*OnlineGetResponse) Reset ¶ added in v0.5.292
func (x *OnlineGetResponse) Reset()
func (*OnlineGetResponse) String ¶ added in v0.5.292
func (x *OnlineGetResponse) String() string
type PushRequest ¶ added in v0.5.316
type PushRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Rows []*Row `protobuf:"bytes,3,rep,name=rows,proto3" json:"rows,omitempty"` // contains filtered or unexported fields }
Import data from a location to the online store.
func (*PushRequest) Descriptor
deprecated
added in
v0.5.316
func (*PushRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushRequest.ProtoReflect.Descriptor instead.
func (*PushRequest) GetNamespace ¶ added in v0.5.343
func (x *PushRequest) GetNamespace() string
func (*PushRequest) GetRows ¶ added in v0.5.316
func (x *PushRequest) GetRows() []*Row
func (*PushRequest) ProtoMessage ¶ added in v0.5.316
func (*PushRequest) ProtoMessage()
func (*PushRequest) ProtoReflect ¶ added in v0.5.316
func (x *PushRequest) ProtoReflect() protoreflect.Message
func (*PushRequest) Reset ¶ added in v0.5.316
func (x *PushRequest) Reset()
func (*PushRequest) String ¶ added in v0.5.316
func (x *PushRequest) String() string
type PushResponse ¶ added in v0.5.316
type PushResponse struct {
// contains filtered or unexported fields
}
func (*PushResponse) Descriptor
deprecated
added in
v0.5.316
func (*PushResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushResponse.ProtoReflect.Descriptor instead.
func (*PushResponse) ProtoMessage ¶ added in v0.5.316
func (*PushResponse) ProtoMessage()
func (*PushResponse) ProtoReflect ¶ added in v0.5.316
func (x *PushResponse) ProtoReflect() protoreflect.Message
func (*PushResponse) Reset ¶ added in v0.5.316
func (x *PushResponse) Reset()
func (*PushResponse) String ¶ added in v0.5.316
func (x *PushResponse) String() string
type Row ¶ added in v0.5.316
type Row struct { Keyname string `protobuf:"bytes,1,opt,name=keyname,proto3" json:"keyname,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Field string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"` Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Row) Descriptor
deprecated
added in
v0.5.316
func (*Row) GetKeyname ¶ added in v0.5.343
func (*Row) ProtoMessage ¶ added in v0.5.316
func (*Row) ProtoMessage()
func (*Row) ProtoReflect ¶ added in v0.5.316
func (x *Row) ProtoReflect() protoreflect.Message
type UnimplementedOnlineFeatureStoreServiceServer ¶
type UnimplementedOnlineFeatureStoreServiceServer struct { }
UnimplementedOnlineFeatureStoreServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOnlineFeatureStoreServiceServer) OnlineGet ¶ added in v0.5.292
func (UnimplementedOnlineFeatureStoreServiceServer) OnlineGet(context.Context, *OnlineGetRequest) (*OnlineGetResponse, error)
func (UnimplementedOnlineFeatureStoreServiceServer) Push ¶ added in v0.5.316
func (UnimplementedOnlineFeatureStoreServiceServer) Push(context.Context, *PushRequest) (*PushResponse, error)
type UnsafeOnlineFeatureStoreServiceServer ¶ added in v0.4.687
type UnsafeOnlineFeatureStoreServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOnlineFeatureStoreServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OnlineFeatureStoreServiceServer will result in compilation errors.
type Value ¶ added in v0.5.292
type Value struct { // Types that are assignable to Value: // *Value_Int64 // *Value_Double // *Value_String_ // *Value_Bool // *Value_UnixMilli // *Value_Bytes Value isValue_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Value) Descriptor
deprecated
added in
v0.5.292
func (*Value) GetString_ ¶ added in v0.5.292
func (*Value) GetUnixMilli ¶ added in v0.5.292
func (*Value) ProtoMessage ¶ added in v0.5.292
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶ added in v0.5.292
func (x *Value) ProtoReflect() protoreflect.Message
type Value_Bool ¶ added in v0.5.292
type Value_Bool struct {
Bool bool `protobuf:"varint,4,opt,name=bool,proto3,oneof"`
}
type Value_Bytes ¶ added in v0.5.292
type Value_Bytes struct {
Bytes []byte `protobuf:"bytes,6,opt,name=bytes,proto3,oneof"`
}
type Value_Double ¶ added in v0.5.292
type Value_Double struct {
Double float64 `protobuf:"fixed64,2,opt,name=double,proto3,oneof"`
}
type Value_Int64 ¶ added in v0.5.292
type Value_Int64 struct {
Int64 int64 `protobuf:"varint,1,opt,name=int64,proto3,oneof"`
}
type Value_String_ ¶ added in v0.5.292
type Value_String_ struct {
String_ string `protobuf:"bytes,3,opt,name=string,proto3,oneof"`
}
type Value_UnixMilli ¶ added in v0.5.292
type Value_UnixMilli struct {
UnixMilli int64 `protobuf:"varint,5,opt,name=unix_milli,json=unixMilli,proto3,oneof"`
}