types

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Null_name = map[int32]string{
		0: "NULL",
	}
	Null_value = map[string]int32{
		"NULL": 0,
	}
)

Enum value maps for Null.

View Source
var (
	ValueType_Enum_name = map[int32]string{
		0:  "INVALID",
		1:  "BYTES",
		2:  "STRING",
		3:  "INT32",
		4:  "INT64",
		5:  "DOUBLE",
		6:  "FLOAT",
		7:  "BOOL",
		8:  "UNIX_TIMESTAMP",
		11: "BYTES_LIST",
		12: "STRING_LIST",
		13: "INT32_LIST",
		14: "INT64_LIST",
		15: "DOUBLE_LIST",
		16: "FLOAT_LIST",
		17: "BOOL_LIST",
		18: "UNIX_TIMESTAMP_LIST",
		19: "NULL",
	}
	ValueType_Enum_value = map[string]int32{
		"INVALID":             0,
		"BYTES":               1,
		"STRING":              2,
		"INT32":               3,
		"INT64":               4,
		"DOUBLE":              5,
		"FLOAT":               6,
		"BOOL":                7,
		"UNIX_TIMESTAMP":      8,
		"BYTES_LIST":          11,
		"STRING_LIST":         12,
		"INT32_LIST":          13,
		"INT64_LIST":          14,
		"DOUBLE_LIST":         15,
		"FLOAT_LIST":          16,
		"BOOL_LIST":           17,
		"UNIX_TIMESTAMP_LIST": 18,
		"NULL":                19,
	}
)

Enum value maps for ValueType_Enum.

View Source
var File_protos_feast_types_EntityKey_proto protoreflect.FileDescriptor
View Source
var File_protos_feast_types_Field_proto protoreflect.FileDescriptor
View Source
var File_protos_feast_types_Value_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BoolList

type BoolList struct {
	Val []bool `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*BoolList) Descriptor deprecated

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

Deprecated: Use BoolList.ProtoReflect.Descriptor instead.

func (*BoolList) GetVal

func (x *BoolList) GetVal() []bool

func (*BoolList) ProtoMessage

func (*BoolList) ProtoMessage()

func (*BoolList) ProtoReflect

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

func (*BoolList) Reset

func (x *BoolList) Reset()

func (*BoolList) String

func (x *BoolList) String() string

type BytesList

type BytesList struct {
	Val [][]byte `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*BytesList) Descriptor deprecated

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

Deprecated: Use BytesList.ProtoReflect.Descriptor instead.

func (*BytesList) GetVal

func (x *BytesList) GetVal() [][]byte

func (*BytesList) ProtoMessage

func (*BytesList) ProtoMessage()

func (*BytesList) ProtoReflect

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

func (*BytesList) Reset

func (x *BytesList) Reset()

func (*BytesList) String

func (x *BytesList) String() string

type DoubleList

type DoubleList struct {
	Val []float64 `protobuf:"fixed64,1,rep,packed,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*DoubleList) Descriptor deprecated

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

Deprecated: Use DoubleList.ProtoReflect.Descriptor instead.

func (*DoubleList) GetVal

func (x *DoubleList) GetVal() []float64

func (*DoubleList) ProtoMessage

func (*DoubleList) ProtoMessage()

func (*DoubleList) ProtoReflect

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

func (*DoubleList) Reset

func (x *DoubleList) Reset()

func (*DoubleList) String

func (x *DoubleList) String() string

type EntityKey

type EntityKey struct {
	JoinKeys     []string `protobuf:"bytes,1,rep,name=join_keys,json=joinKeys,proto3" json:"join_keys,omitempty"`
	EntityValues []*Value `protobuf:"bytes,2,rep,name=entity_values,json=entityValues,proto3" json:"entity_values,omitempty"`
	// contains filtered or unexported fields
}

func (*EntityKey) Descriptor deprecated

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

Deprecated: Use EntityKey.ProtoReflect.Descriptor instead.

func (*EntityKey) GetEntityValues

func (x *EntityKey) GetEntityValues() []*Value

func (*EntityKey) GetJoinKeys

func (x *EntityKey) GetJoinKeys() []string

func (*EntityKey) ProtoMessage

func (*EntityKey) ProtoMessage()

func (*EntityKey) ProtoReflect

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

func (*EntityKey) Reset

func (x *EntityKey) Reset()

func (*EntityKey) String

func (x *EntityKey) String() string

type Field

type Field struct {
	Name  string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value ValueType_Enum `protobuf:"varint,2,opt,name=value,proto3,enum=feast.types.ValueType_Enum" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Field) Descriptor deprecated

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

Deprecated: Use Field.ProtoReflect.Descriptor instead.

func (*Field) GetName

func (x *Field) GetName() string

func (*Field) GetValue

func (x *Field) GetValue() ValueType_Enum

func (*Field) ProtoMessage

func (*Field) ProtoMessage()

func (*Field) ProtoReflect

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

func (*Field) Reset

func (x *Field) Reset()

func (*Field) String

func (x *Field) String() string

type FloatList

type FloatList struct {
	Val []float32 `protobuf:"fixed32,1,rep,packed,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*FloatList) Descriptor deprecated

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

Deprecated: Use FloatList.ProtoReflect.Descriptor instead.

func (*FloatList) GetVal

func (x *FloatList) GetVal() []float32

func (*FloatList) ProtoMessage

func (*FloatList) ProtoMessage()

func (*FloatList) ProtoReflect

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

func (*FloatList) Reset

func (x *FloatList) Reset()

func (*FloatList) String

func (x *FloatList) String() string

type Int32List

type Int32List struct {
	Val []int32 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*Int32List) Descriptor deprecated

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

Deprecated: Use Int32List.ProtoReflect.Descriptor instead.

func (*Int32List) GetVal

func (x *Int32List) GetVal() []int32

func (*Int32List) ProtoMessage

func (*Int32List) ProtoMessage()

func (*Int32List) ProtoReflect

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

func (*Int32List) Reset

func (x *Int32List) Reset()

func (*Int32List) String

func (x *Int32List) String() string

type Int64List

type Int64List struct {
	Val []int64 `protobuf:"varint,1,rep,packed,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*Int64List) Descriptor deprecated

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

Deprecated: Use Int64List.ProtoReflect.Descriptor instead.

func (*Int64List) GetVal

func (x *Int64List) GetVal() []int64

func (*Int64List) ProtoMessage

func (*Int64List) ProtoMessage()

func (*Int64List) ProtoReflect

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

func (*Int64List) Reset

func (x *Int64List) Reset()

func (*Int64List) String

func (x *Int64List) String() string

type Null

type Null int32
const (
	Null_NULL Null = 0
)

func (Null) Descriptor

func (Null) Descriptor() protoreflect.EnumDescriptor

func (Null) Enum

func (x Null) Enum() *Null

func (Null) EnumDescriptor deprecated

func (Null) EnumDescriptor() ([]byte, []int)

Deprecated: Use Null.Descriptor instead.

func (Null) Number

func (x Null) Number() protoreflect.EnumNumber

func (Null) String

func (x Null) String() string

func (Null) Type

func (Null) Type() protoreflect.EnumType

type RepeatedValue

type RepeatedValue struct {
	Val []*Value `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

This is to avoid an issue of being unable to specify `repeated value` in oneofs or maps In JSON "val" field can be omitted

func (*RepeatedValue) Descriptor deprecated

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

Deprecated: Use RepeatedValue.ProtoReflect.Descriptor instead.

func (*RepeatedValue) GetVal

func (x *RepeatedValue) GetVal() []*Value

func (*RepeatedValue) ProtoMessage

func (*RepeatedValue) ProtoMessage()

func (*RepeatedValue) ProtoReflect

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

func (*RepeatedValue) Reset

func (x *RepeatedValue) Reset()

func (*RepeatedValue) String

func (x *RepeatedValue) String() string

type StringList

type StringList struct {
	Val []string `protobuf:"bytes,1,rep,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*StringList) Descriptor deprecated

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

Deprecated: Use StringList.ProtoReflect.Descriptor instead.

func (*StringList) GetVal

func (x *StringList) GetVal() []string

func (*StringList) ProtoMessage

func (*StringList) ProtoMessage()

func (*StringList) ProtoReflect

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

func (*StringList) Reset

func (x *StringList) Reset()

func (*StringList) String

func (x *StringList) String() string

type Value

type Value struct {

	// ValueType is referenced by the metadata types, FeatureInfo and EntityInfo.
	// The enum values do not have to match the oneof val field ids, but they should.
	// In JSON "*_val" field can be omitted
	//
	// Types that are assignable to Val:
	//	*Value_BytesVal
	//	*Value_StringVal
	//	*Value_Int32Val
	//	*Value_Int64Val
	//	*Value_DoubleVal
	//	*Value_FloatVal
	//	*Value_BoolVal
	//	*Value_UnixTimestampVal
	//	*Value_BytesListVal
	//	*Value_StringListVal
	//	*Value_Int32ListVal
	//	*Value_Int64ListVal
	//	*Value_DoubleListVal
	//	*Value_FloatListVal
	//	*Value_BoolListVal
	//	*Value_UnixTimestampListVal
	//	*Value_NullVal
	Val isValue_Val `protobuf_oneof:"val"`
	// contains filtered or unexported fields
}

func (*Value) Descriptor deprecated

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

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetBoolListVal

func (x *Value) GetBoolListVal() *BoolList

func (*Value) GetBoolVal

func (x *Value) GetBoolVal() bool

func (*Value) GetBytesListVal

func (x *Value) GetBytesListVal() *BytesList

func (*Value) GetBytesVal

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

func (*Value) GetDoubleListVal

func (x *Value) GetDoubleListVal() *DoubleList

func (*Value) GetDoubleVal

func (x *Value) GetDoubleVal() float64

func (*Value) GetFloatListVal

func (x *Value) GetFloatListVal() *FloatList

func (*Value) GetFloatVal

func (x *Value) GetFloatVal() float32

func (*Value) GetInt32ListVal

func (x *Value) GetInt32ListVal() *Int32List

func (*Value) GetInt32Val

func (x *Value) GetInt32Val() int32

func (*Value) GetInt64ListVal

func (x *Value) GetInt64ListVal() *Int64List

func (*Value) GetInt64Val

func (x *Value) GetInt64Val() int64

func (*Value) GetNullVal

func (x *Value) GetNullVal() Null

func (*Value) GetStringListVal

func (x *Value) GetStringListVal() *StringList

func (*Value) GetStringVal

func (x *Value) GetStringVal() string

func (*Value) GetUnixTimestampListVal

func (x *Value) GetUnixTimestampListVal() *Int64List

func (*Value) GetUnixTimestampVal

func (x *Value) GetUnixTimestampVal() int64

func (*Value) GetVal

func (m *Value) GetVal() isValue_Val

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) ProtoReflect

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

func (*Value) Reset

func (x *Value) Reset()

func (*Value) String

func (x *Value) String() string

type ValueType

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

func (*ValueType) Descriptor deprecated

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

Deprecated: Use ValueType.ProtoReflect.Descriptor instead.

func (*ValueType) ProtoMessage

func (*ValueType) ProtoMessage()

func (*ValueType) ProtoReflect

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

func (*ValueType) Reset

func (x *ValueType) Reset()

func (*ValueType) String

func (x *ValueType) String() string

type ValueType_Enum

type ValueType_Enum int32
const (
	ValueType_INVALID             ValueType_Enum = 0
	ValueType_BYTES               ValueType_Enum = 1
	ValueType_STRING              ValueType_Enum = 2
	ValueType_INT32               ValueType_Enum = 3
	ValueType_INT64               ValueType_Enum = 4
	ValueType_DOUBLE              ValueType_Enum = 5
	ValueType_FLOAT               ValueType_Enum = 6
	ValueType_BOOL                ValueType_Enum = 7
	ValueType_UNIX_TIMESTAMP      ValueType_Enum = 8
	ValueType_BYTES_LIST          ValueType_Enum = 11
	ValueType_STRING_LIST         ValueType_Enum = 12
	ValueType_INT32_LIST          ValueType_Enum = 13
	ValueType_INT64_LIST          ValueType_Enum = 14
	ValueType_DOUBLE_LIST         ValueType_Enum = 15
	ValueType_FLOAT_LIST          ValueType_Enum = 16
	ValueType_BOOL_LIST           ValueType_Enum = 17
	ValueType_UNIX_TIMESTAMP_LIST ValueType_Enum = 18
	ValueType_NULL                ValueType_Enum = 19
)

func (ValueType_Enum) Descriptor

func (ValueType_Enum) Enum

func (x ValueType_Enum) Enum() *ValueType_Enum

func (ValueType_Enum) EnumDescriptor deprecated

func (ValueType_Enum) EnumDescriptor() ([]byte, []int)

Deprecated: Use ValueType_Enum.Descriptor instead.

func (ValueType_Enum) Number

func (ValueType_Enum) String

func (x ValueType_Enum) String() string

func (ValueType_Enum) Type

type Value_BoolListVal

type Value_BoolListVal struct {
	BoolListVal *BoolList `protobuf:"bytes,17,opt,name=bool_list_val,json=boolListVal,proto3,oneof"`
}

type Value_BoolVal

type Value_BoolVal struct {
	BoolVal bool `protobuf:"varint,7,opt,name=bool_val,json=boolVal,proto3,oneof"`
}

type Value_BytesListVal

type Value_BytesListVal struct {
	BytesListVal *BytesList `protobuf:"bytes,11,opt,name=bytes_list_val,json=bytesListVal,proto3,oneof"`
}

type Value_BytesVal

type Value_BytesVal struct {
	BytesVal []byte `protobuf:"bytes,1,opt,name=bytes_val,json=bytesVal,proto3,oneof"`
}

type Value_DoubleListVal

type Value_DoubleListVal struct {
	DoubleListVal *DoubleList `protobuf:"bytes,15,opt,name=double_list_val,json=doubleListVal,proto3,oneof"`
}

type Value_DoubleVal

type Value_DoubleVal struct {
	DoubleVal float64 `protobuf:"fixed64,5,opt,name=double_val,json=doubleVal,proto3,oneof"`
}

type Value_FloatListVal

type Value_FloatListVal struct {
	FloatListVal *FloatList `protobuf:"bytes,16,opt,name=float_list_val,json=floatListVal,proto3,oneof"`
}

type Value_FloatVal

type Value_FloatVal struct {
	FloatVal float32 `protobuf:"fixed32,6,opt,name=float_val,json=floatVal,proto3,oneof"`
}

type Value_Int32ListVal

type Value_Int32ListVal struct {
	Int32ListVal *Int32List `protobuf:"bytes,13,opt,name=int32_list_val,json=int32ListVal,proto3,oneof"`
}

type Value_Int32Val

type Value_Int32Val struct {
	Int32Val int32 `protobuf:"varint,3,opt,name=int32_val,json=int32Val,proto3,oneof"`
}

type Value_Int64ListVal

type Value_Int64ListVal struct {
	Int64ListVal *Int64List `protobuf:"bytes,14,opt,name=int64_list_val,json=int64ListVal,proto3,oneof"`
}

type Value_Int64Val

type Value_Int64Val struct {
	Int64Val int64 `protobuf:"varint,4,opt,name=int64_val,json=int64Val,proto3,oneof"`
}

type Value_NullVal

type Value_NullVal struct {
	NullVal Null `protobuf:"varint,19,opt,name=null_val,json=nullVal,proto3,enum=feast.types.Null,oneof"`
}

type Value_StringListVal

type Value_StringListVal struct {
	StringListVal *StringList `protobuf:"bytes,12,opt,name=string_list_val,json=stringListVal,proto3,oneof"`
}

type Value_StringVal

type Value_StringVal struct {
	StringVal string `protobuf:"bytes,2,opt,name=string_val,json=stringVal,proto3,oneof"`
}

type Value_UnixTimestampListVal

type Value_UnixTimestampListVal struct {
	UnixTimestampListVal *Int64List `protobuf:"bytes,18,opt,name=unix_timestamp_list_val,json=unixTimestampListVal,proto3,oneof"`
}

type Value_UnixTimestampVal

type Value_UnixTimestampVal struct {
	UnixTimestampVal int64 `protobuf:"varint,8,opt,name=unix_timestamp_val,json=unixTimestampVal,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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