v1

package
v0.5.337 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_metaprov_modelaapi_services_onlinefeaturestored_v1_onlinefeaturestored_proto protoreflect.FileDescriptor
View Source
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: "OnlineMultiGet",
			Handler:    _OnlineFeatureStoreService_OnlineMultiGet_Handler,
		},
		{
			MethodName: "Import",
			Handler:    _OnlineFeatureStoreService_Import_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 ImportRequest added in v0.5.292

type ImportRequest struct {
	Modelclass *v1alpha1.ModelClass    `protobuf:"bytes,1,opt,name=modelclass,proto3" json:"modelclass,omitempty"`
	Location   *v1alpha11.DataLocation `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

Import data from a location to the online store.

func (*ImportRequest) Descriptor deprecated added in v0.5.292

func (*ImportRequest) Descriptor() ([]byte, []int)

Deprecated: Use ImportRequest.ProtoReflect.Descriptor instead.

func (*ImportRequest) GetLocation added in v0.5.292

func (x *ImportRequest) GetLocation() *v1alpha11.DataLocation

func (*ImportRequest) GetModelclass added in v0.5.325

func (x *ImportRequest) GetModelclass() *v1alpha1.ModelClass

func (*ImportRequest) ProtoMessage added in v0.5.292

func (*ImportRequest) ProtoMessage()

func (*ImportRequest) ProtoReflect added in v0.5.292

func (x *ImportRequest) ProtoReflect() protoreflect.Message

func (*ImportRequest) Reset added in v0.5.292

func (x *ImportRequest) Reset()

func (*ImportRequest) String added in v0.5.292

func (x *ImportRequest) String() string

type ImportResponse added in v0.5.292

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

func (*ImportResponse) Descriptor deprecated added in v0.5.292

func (*ImportResponse) Descriptor() ([]byte, []int)

Deprecated: Use ImportResponse.ProtoReflect.Descriptor instead.

func (*ImportResponse) ProtoMessage added in v0.5.292

func (*ImportResponse) ProtoMessage()

func (*ImportResponse) ProtoReflect added in v0.5.292

func (x *ImportResponse) ProtoReflect() protoreflect.Message

func (*ImportResponse) Reset added in v0.5.292

func (x *ImportResponse) Reset()

func (*ImportResponse) String added in v0.5.292

func (x *ImportResponse) String() string

type OnlineFeatureStoreServiceClient

type OnlineFeatureStoreServiceClient interface {
	OnlineGet(ctx context.Context, in *OnlineGetRequest, opts ...grpc.CallOption) (*OnlineGetResponse, error)
	OnlineMultiGet(ctx context.Context, in *OnlineMultiGetRequest, opts ...grpc.CallOption) (*OnlineMultiGetResponse, error)
	Import(ctx context.Context, in *ImportRequest, opts ...grpc.CallOption) (*ImportResponse, 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.

type OnlineFeatureStoreServiceServer

type OnlineFeatureStoreServiceServer interface {
	OnlineGet(context.Context, *OnlineGetRequest) (*OnlineGetResponse, error)
	OnlineMultiGet(context.Context, *OnlineMultiGetRequest) (*OnlineMultiGetResponse, error)
	Import(context.Context, *ImportRequest) (*ImportResponse, 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 {
	Modelclass *v1alpha1.ModelClass `protobuf:"bytes,1,opt,name=modelclass,proto3" json:"modelclass,omitempty"`
	Key        string               `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Features   []string             `protobuf:"bytes,3,rep,name=features,proto3" json:"features,omitempty"`
	// 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) GetFeatures added in v0.5.292

func (x *OnlineGetRequest) GetFeatures() []string

func (*OnlineGetRequest) GetKey added in v0.5.292

func (x *OnlineGetRequest) GetKey() string

func (*OnlineGetRequest) GetModelclass added in v0.5.325

func (x *OnlineGetRequest) GetModelclass() *v1alpha1.ModelClass

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 {
	Row map[string]*Value `` /* 147-byte string literal not displayed */
	// 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) GetRow added in v0.5.292

func (x *OnlineGetResponse) GetRow() map[string]*Value

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 OnlineMultiGetRequest added in v0.5.292

type OnlineMultiGetRequest struct {
	Modelclass *v1alpha1.ModelClass `protobuf:"bytes,1,opt,name=modelclass,proto3" json:"modelclass,omitempty"`
	Key        []string             `protobuf:"bytes,2,rep,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

For real time inference, ask the store for multple rows.

func (*OnlineMultiGetRequest) Descriptor deprecated added in v0.5.292

func (*OnlineMultiGetRequest) Descriptor() ([]byte, []int)

Deprecated: Use OnlineMultiGetRequest.ProtoReflect.Descriptor instead.

func (*OnlineMultiGetRequest) GetKey added in v0.5.292

func (x *OnlineMultiGetRequest) GetKey() []string

func (*OnlineMultiGetRequest) GetModelclass added in v0.5.325

func (x *OnlineMultiGetRequest) GetModelclass() *v1alpha1.ModelClass

func (*OnlineMultiGetRequest) ProtoMessage added in v0.5.292

func (*OnlineMultiGetRequest) ProtoMessage()

func (*OnlineMultiGetRequest) ProtoReflect added in v0.5.292

func (x *OnlineMultiGetRequest) ProtoReflect() protoreflect.Message

func (*OnlineMultiGetRequest) Reset added in v0.5.292

func (x *OnlineMultiGetRequest) Reset()

func (*OnlineMultiGetRequest) String added in v0.5.292

func (x *OnlineMultiGetRequest) String() string

type OnlineMultiGetResponse added in v0.5.292

type OnlineMultiGetResponse struct {
	Result map[string]*Row `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Answer multiple rows.

func (*OnlineMultiGetResponse) Descriptor deprecated added in v0.5.292

func (*OnlineMultiGetResponse) Descriptor() ([]byte, []int)

Deprecated: Use OnlineMultiGetResponse.ProtoReflect.Descriptor instead.

func (*OnlineMultiGetResponse) GetResult added in v0.5.292

func (x *OnlineMultiGetResponse) GetResult() map[string]*Row

func (*OnlineMultiGetResponse) ProtoMessage added in v0.5.292

func (*OnlineMultiGetResponse) ProtoMessage()

func (*OnlineMultiGetResponse) ProtoReflect added in v0.5.292

func (x *OnlineMultiGetResponse) ProtoReflect() protoreflect.Message

func (*OnlineMultiGetResponse) Reset added in v0.5.292

func (x *OnlineMultiGetResponse) Reset()

func (*OnlineMultiGetResponse) String added in v0.5.292

func (x *OnlineMultiGetResponse) String() string

type PushRequest added in v0.5.316

type PushRequest struct {
	Featuregroup *v1alpha11.FeatureGroup `protobuf:"bytes,1,opt,name=featuregroup,proto3" json:"featuregroup,omitempty"`
	Rows         []*Row                  `protobuf:"bytes,2,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) GetFeaturegroup added in v0.5.332

func (x *PushRequest) GetFeaturegroup() *v1alpha11.FeatureGroup

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 {
	Key  string            `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Data map[string]*Value `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Row) Descriptor deprecated added in v0.5.316

func (*Row) Descriptor() ([]byte, []int)

Deprecated: Use Row.ProtoReflect.Descriptor instead.

func (*Row) GetData added in v0.5.316

func (x *Row) GetData() map[string]*Value

func (*Row) GetKey added in v0.5.316

func (x *Row) GetKey() string

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

func (*Row) Reset added in v0.5.316

func (x *Row) Reset()

func (*Row) String added in v0.5.316

func (x *Row) String() string

type UnimplementedOnlineFeatureStoreServiceServer

type UnimplementedOnlineFeatureStoreServiceServer struct {
}

UnimplementedOnlineFeatureStoreServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedOnlineFeatureStoreServiceServer) Import added in v0.5.292

func (UnimplementedOnlineFeatureStoreServiceServer) OnlineGet added in v0.5.292

func (UnimplementedOnlineFeatureStoreServiceServer) OnlineMultiGet added in v0.5.292

func (UnimplementedOnlineFeatureStoreServiceServer) Push added in v0.5.316

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) Descriptor() ([]byte, []int)

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetBool added in v0.5.292

func (x *Value) GetBool() bool

func (*Value) GetBytes added in v0.5.292

func (x *Value) GetBytes() []byte

func (*Value) GetDouble added in v0.5.292

func (x *Value) GetDouble() float64

func (*Value) GetInt64 added in v0.5.292

func (x *Value) GetInt64() int64

func (*Value) GetString_ added in v0.5.292

func (x *Value) GetString_() string

func (*Value) GetUnixMilli added in v0.5.292

func (x *Value) GetUnixMilli() int64

func (*Value) GetValue added in v0.5.292

func (m *Value) GetValue() isValue_Value

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

func (*Value) Reset added in v0.5.292

func (x *Value) Reset()

func (*Value) String added in v0.5.292

func (x *Value) String() string

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"`
}

Jump to

Keyboard shortcuts

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