Documentation ¶
Index ¶
- Variables
- type BoolArray
- func (*BoolArray) Descriptor() ([]byte, []int)
- func (m *BoolArray) GetData() []bool
- func (*BoolArray) ProtoMessage()
- func (m *BoolArray) Reset()
- func (m *BoolArray) String() string
- func (m *BoolArray) XXX_DiscardUnknown()
- func (m *BoolArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BoolArray) XXX_Merge(src proto.Message)
- func (m *BoolArray) XXX_Size() int
- func (m *BoolArray) XXX_Unmarshal(b []byte) error
- type BytesArray
- func (*BytesArray) Descriptor() ([]byte, []int)
- func (m *BytesArray) GetData() [][]byte
- func (*BytesArray) ProtoMessage()
- func (m *BytesArray) Reset()
- func (m *BytesArray) String() string
- func (m *BytesArray) XXX_DiscardUnknown()
- func (m *BytesArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BytesArray) XXX_Merge(src proto.Message)
- func (m *BytesArray) XXX_Size() int
- func (m *BytesArray) XXX_Unmarshal(b []byte) error
- type CollectionSchema
- func (*CollectionSchema) Descriptor() ([]byte, []int)
- func (m *CollectionSchema) GetAutoID() bool
- func (m *CollectionSchema) GetDescription() string
- func (m *CollectionSchema) GetFields() []*FieldSchema
- func (m *CollectionSchema) GetName() string
- func (*CollectionSchema) ProtoMessage()
- func (m *CollectionSchema) Reset()
- func (m *CollectionSchema) String() string
- func (m *CollectionSchema) XXX_DiscardUnknown()
- func (m *CollectionSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionSchema) XXX_Merge(src proto.Message)
- func (m *CollectionSchema) XXX_Size() int
- func (m *CollectionSchema) XXX_Unmarshal(b []byte) error
- type DataType
- type DoubleArray
- func (*DoubleArray) Descriptor() ([]byte, []int)
- func (m *DoubleArray) GetData() []float64
- func (*DoubleArray) ProtoMessage()
- func (m *DoubleArray) Reset()
- func (m *DoubleArray) String() string
- func (m *DoubleArray) XXX_DiscardUnknown()
- func (m *DoubleArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DoubleArray) XXX_Merge(src proto.Message)
- func (m *DoubleArray) XXX_Size() int
- func (m *DoubleArray) XXX_Unmarshal(b []byte) error
- type FieldData
- func (*FieldData) Descriptor() ([]byte, []int)
- func (m *FieldData) GetField() isFieldData_Field
- func (m *FieldData) GetFieldId() int64
- func (m *FieldData) GetFieldName() string
- func (m *FieldData) GetScalars() *ScalarField
- func (m *FieldData) GetType() DataType
- func (m *FieldData) GetVectors() *VectorField
- func (*FieldData) ProtoMessage()
- func (m *FieldData) Reset()
- func (m *FieldData) String() string
- func (m *FieldData) XXX_DiscardUnknown()
- func (m *FieldData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FieldData) XXX_Merge(src proto.Message)
- func (*FieldData) XXX_OneofWrappers() []interface{}
- func (m *FieldData) XXX_Size() int
- func (m *FieldData) XXX_Unmarshal(b []byte) error
- type FieldData_Scalars
- type FieldData_Vectors
- type FieldSchema
- func (*FieldSchema) Descriptor() ([]byte, []int)
- func (m *FieldSchema) GetAutoID() bool
- func (m *FieldSchema) GetDataType() DataType
- func (m *FieldSchema) GetDescription() string
- func (m *FieldSchema) GetFieldID() int64
- func (m *FieldSchema) GetIndexParams() []*commonpb.KeyValuePair
- func (m *FieldSchema) GetIsPrimaryKey() bool
- func (m *FieldSchema) GetName() string
- func (m *FieldSchema) GetState() FieldState
- func (m *FieldSchema) GetTypeParams() []*commonpb.KeyValuePair
- func (*FieldSchema) ProtoMessage()
- func (m *FieldSchema) Reset()
- func (m *FieldSchema) String() string
- func (m *FieldSchema) XXX_DiscardUnknown()
- func (m *FieldSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FieldSchema) XXX_Merge(src proto.Message)
- func (m *FieldSchema) XXX_Size() int
- func (m *FieldSchema) XXX_Unmarshal(b []byte) error
- type FieldState
- type FloatArray
- func (*FloatArray) Descriptor() ([]byte, []int)
- func (m *FloatArray) GetData() []float32
- func (*FloatArray) ProtoMessage()
- func (m *FloatArray) Reset()
- func (m *FloatArray) String() string
- func (m *FloatArray) XXX_DiscardUnknown()
- func (m *FloatArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FloatArray) XXX_Merge(src proto.Message)
- func (m *FloatArray) XXX_Size() int
- func (m *FloatArray) XXX_Unmarshal(b []byte) error
- type IDs
- func (*IDs) Descriptor() ([]byte, []int)
- func (m *IDs) GetIdField() isIDs_IdField
- func (m *IDs) GetIntId() *LongArray
- func (m *IDs) GetStrId() *StringArray
- func (*IDs) ProtoMessage()
- func (m *IDs) Reset()
- func (m *IDs) String() string
- func (m *IDs) XXX_DiscardUnknown()
- func (m *IDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IDs) XXX_Merge(src proto.Message)
- func (*IDs) XXX_OneofWrappers() []interface{}
- func (m *IDs) XXX_Size() int
- func (m *IDs) XXX_Unmarshal(b []byte) error
- type IDs_IntId
- type IDs_StrId
- type IntArray
- func (*IntArray) Descriptor() ([]byte, []int)
- func (m *IntArray) GetData() []int32
- func (*IntArray) ProtoMessage()
- func (m *IntArray) Reset()
- func (m *IntArray) String() string
- func (m *IntArray) XXX_DiscardUnknown()
- func (m *IntArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IntArray) XXX_Merge(src proto.Message)
- func (m *IntArray) XXX_Size() int
- func (m *IntArray) XXX_Unmarshal(b []byte) error
- type LongArray
- func (*LongArray) Descriptor() ([]byte, []int)
- func (m *LongArray) GetData() []int64
- func (*LongArray) ProtoMessage()
- func (m *LongArray) Reset()
- func (m *LongArray) String() string
- func (m *LongArray) XXX_DiscardUnknown()
- func (m *LongArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LongArray) XXX_Merge(src proto.Message)
- func (m *LongArray) XXX_Size() int
- func (m *LongArray) XXX_Unmarshal(b []byte) error
- type ScalarField
- func (*ScalarField) Descriptor() ([]byte, []int)
- func (m *ScalarField) GetBoolData() *BoolArray
- func (m *ScalarField) GetBytesData() *BytesArray
- func (m *ScalarField) GetData() isScalarField_Data
- func (m *ScalarField) GetDoubleData() *DoubleArray
- func (m *ScalarField) GetFloatData() *FloatArray
- func (m *ScalarField) GetIntData() *IntArray
- func (m *ScalarField) GetLongData() *LongArray
- func (m *ScalarField) GetStringData() *StringArray
- func (*ScalarField) ProtoMessage()
- func (m *ScalarField) Reset()
- func (m *ScalarField) String() string
- func (m *ScalarField) XXX_DiscardUnknown()
- func (m *ScalarField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScalarField) XXX_Merge(src proto.Message)
- func (*ScalarField) XXX_OneofWrappers() []interface{}
- func (m *ScalarField) XXX_Size() int
- func (m *ScalarField) XXX_Unmarshal(b []byte) error
- type ScalarField_BoolData
- type ScalarField_BytesData
- type ScalarField_DoubleData
- type ScalarField_FloatData
- type ScalarField_IntData
- type ScalarField_LongData
- type ScalarField_StringData
- type SearchResultData
- func (*SearchResultData) Descriptor() ([]byte, []int)
- func (m *SearchResultData) GetFieldsData() []*FieldData
- func (m *SearchResultData) GetIds() *IDs
- func (m *SearchResultData) GetNumQueries() int64
- func (m *SearchResultData) GetScores() []float32
- func (m *SearchResultData) GetTopK() int64
- func (m *SearchResultData) GetTopks() []int64
- func (*SearchResultData) ProtoMessage()
- func (m *SearchResultData) Reset()
- func (m *SearchResultData) String() string
- func (m *SearchResultData) XXX_DiscardUnknown()
- func (m *SearchResultData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchResultData) XXX_Merge(src proto.Message)
- func (m *SearchResultData) XXX_Size() int
- func (m *SearchResultData) XXX_Unmarshal(b []byte) error
- type StringArray
- func (*StringArray) Descriptor() ([]byte, []int)
- func (m *StringArray) GetData() []string
- func (*StringArray) ProtoMessage()
- func (m *StringArray) Reset()
- func (m *StringArray) String() string
- func (m *StringArray) XXX_DiscardUnknown()
- func (m *StringArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StringArray) XXX_Merge(src proto.Message)
- func (m *StringArray) XXX_Size() int
- func (m *StringArray) XXX_Unmarshal(b []byte) error
- type VectorField
- func (*VectorField) Descriptor() ([]byte, []int)
- func (m *VectorField) GetBinaryVector() []byte
- func (m *VectorField) GetData() isVectorField_Data
- func (m *VectorField) GetDim() int64
- func (m *VectorField) GetFloatVector() *FloatArray
- func (*VectorField) ProtoMessage()
- func (m *VectorField) Reset()
- func (m *VectorField) String() string
- func (m *VectorField) XXX_DiscardUnknown()
- func (m *VectorField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VectorField) XXX_Merge(src proto.Message)
- func (*VectorField) XXX_OneofWrappers() []interface{}
- func (m *VectorField) XXX_Size() int
- func (m *VectorField) XXX_Unmarshal(b []byte) error
- type VectorField_BinaryVector
- type VectorField_FloatVector
Constants ¶
This section is empty.
Variables ¶
View Source
var DataType_name = map[int32]string{
0: "None",
1: "Bool",
2: "Int8",
3: "Int16",
4: "Int32",
5: "Int64",
10: "Float",
11: "Double",
20: "String",
21: "VarChar",
100: "BinaryVector",
101: "FloatVector",
}
View Source
var DataType_value = map[string]int32{
"None": 0,
"Bool": 1,
"Int8": 2,
"Int16": 3,
"Int32": 4,
"Int64": 5,
"Float": 10,
"Double": 11,
"String": 20,
"VarChar": 21,
"BinaryVector": 100,
"FloatVector": 101,
}
View Source
var FieldState_name = map[int32]string{
0: "FieldCreated",
1: "FieldCreating",
2: "FieldDropping",
3: "FieldDropped",
}
View Source
var FieldState_value = map[string]int32{
"FieldCreated": 0,
"FieldCreating": 1,
"FieldDropping": 2,
"FieldDropped": 3,
}
Functions ¶
This section is empty.
Types ¶
type BoolArray ¶
type BoolArray struct { Data []bool `protobuf:"varint,1,rep,packed,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BoolArray) Descriptor ¶
func (*BoolArray) ProtoMessage ¶
func (*BoolArray) ProtoMessage()
func (*BoolArray) XXX_DiscardUnknown ¶
func (m *BoolArray) XXX_DiscardUnknown()
func (*BoolArray) XXX_Marshal ¶
func (*BoolArray) XXX_Unmarshal ¶
type BytesArray ¶
type BytesArray struct { Data [][]byte `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
For special fields such as bigdecimal, array...
func (*BytesArray) Descriptor ¶
func (*BytesArray) Descriptor() ([]byte, []int)
func (*BytesArray) GetData ¶
func (m *BytesArray) GetData() [][]byte
func (*BytesArray) ProtoMessage ¶
func (*BytesArray) ProtoMessage()
func (*BytesArray) Reset ¶
func (m *BytesArray) Reset()
func (*BytesArray) String ¶
func (m *BytesArray) String() string
func (*BytesArray) XXX_DiscardUnknown ¶
func (m *BytesArray) XXX_DiscardUnknown()
func (*BytesArray) XXX_Marshal ¶
func (m *BytesArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BytesArray) XXX_Merge ¶
func (m *BytesArray) XXX_Merge(src proto.Message)
func (*BytesArray) XXX_Size ¶
func (m *BytesArray) XXX_Size() int
func (*BytesArray) XXX_Unmarshal ¶
func (m *BytesArray) XXX_Unmarshal(b []byte) error
type CollectionSchema ¶
type CollectionSchema struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` AutoID bool `protobuf:"varint,3,opt,name=autoID,proto3" json:"autoID,omitempty"` Fields []*FieldSchema `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* @brief Collection schema
func (*CollectionSchema) Descriptor ¶
func (*CollectionSchema) Descriptor() ([]byte, []int)
func (*CollectionSchema) GetAutoID ¶
func (m *CollectionSchema) GetAutoID() bool
func (*CollectionSchema) GetDescription ¶
func (m *CollectionSchema) GetDescription() string
func (*CollectionSchema) GetFields ¶
func (m *CollectionSchema) GetFields() []*FieldSchema
func (*CollectionSchema) GetName ¶
func (m *CollectionSchema) GetName() string
func (*CollectionSchema) ProtoMessage ¶
func (*CollectionSchema) ProtoMessage()
func (*CollectionSchema) Reset ¶
func (m *CollectionSchema) Reset()
func (*CollectionSchema) String ¶
func (m *CollectionSchema) String() string
func (*CollectionSchema) XXX_DiscardUnknown ¶
func (m *CollectionSchema) XXX_DiscardUnknown()
func (*CollectionSchema) XXX_Marshal ¶
func (m *CollectionSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionSchema) XXX_Merge ¶
func (m *CollectionSchema) XXX_Merge(src proto.Message)
func (*CollectionSchema) XXX_Size ¶
func (m *CollectionSchema) XXX_Size() int
func (*CollectionSchema) XXX_Unmarshal ¶
func (m *CollectionSchema) XXX_Unmarshal(b []byte) error
type DataType ¶
type DataType int32
* @brief Field data type
const ( DataType_None DataType = 0 DataType_Bool DataType = 1 DataType_Int8 DataType = 2 DataType_Int16 DataType = 3 DataType_Int32 DataType = 4 DataType_Int64 DataType = 5 DataType_Float DataType = 10 DataType_Double DataType = 11 DataType_String DataType = 20 DataType_VarChar DataType = 21 DataType_BinaryVector DataType = 100 DataType_FloatVector DataType = 101 )
func (DataType) EnumDescriptor ¶
type DoubleArray ¶
type DoubleArray struct { Data []float64 `protobuf:"fixed64,1,rep,packed,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DoubleArray) Descriptor ¶
func (*DoubleArray) Descriptor() ([]byte, []int)
func (*DoubleArray) GetData ¶
func (m *DoubleArray) GetData() []float64
func (*DoubleArray) ProtoMessage ¶
func (*DoubleArray) ProtoMessage()
func (*DoubleArray) Reset ¶
func (m *DoubleArray) Reset()
func (*DoubleArray) String ¶
func (m *DoubleArray) String() string
func (*DoubleArray) XXX_DiscardUnknown ¶
func (m *DoubleArray) XXX_DiscardUnknown()
func (*DoubleArray) XXX_Marshal ¶
func (m *DoubleArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DoubleArray) XXX_Merge ¶
func (m *DoubleArray) XXX_Merge(src proto.Message)
func (*DoubleArray) XXX_Size ¶
func (m *DoubleArray) XXX_Size() int
func (*DoubleArray) XXX_Unmarshal ¶
func (m *DoubleArray) XXX_Unmarshal(b []byte) error
type FieldData ¶
type FieldData struct { Type DataType `protobuf:"varint,1,opt,name=type,proto3,enum=milvus.proto.schema.DataType" json:"type,omitempty"` FieldName string `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` // Types that are valid to be assigned to Field: // *FieldData_Scalars // *FieldData_Vectors Field isFieldData_Field `protobuf_oneof:"field"` FieldId int64 `protobuf:"varint,5,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FieldData) Descriptor ¶
func (*FieldData) GetFieldId ¶
func (*FieldData) GetFieldName ¶
func (*FieldData) GetScalars ¶
func (m *FieldData) GetScalars() *ScalarField
func (*FieldData) GetVectors ¶
func (m *FieldData) GetVectors() *VectorField
func (*FieldData) ProtoMessage ¶
func (*FieldData) ProtoMessage()
func (*FieldData) XXX_DiscardUnknown ¶
func (m *FieldData) XXX_DiscardUnknown()
func (*FieldData) XXX_Marshal ¶
func (*FieldData) XXX_OneofWrappers ¶
func (*FieldData) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*FieldData) XXX_Unmarshal ¶
type FieldData_Scalars ¶
type FieldData_Scalars struct {
Scalars *ScalarField `protobuf:"bytes,3,opt,name=scalars,proto3,oneof"`
}
type FieldData_Vectors ¶
type FieldData_Vectors struct {
Vectors *VectorField `protobuf:"bytes,4,opt,name=vectors,proto3,oneof"`
}
type FieldSchema ¶
type FieldSchema struct { FieldID int64 `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` IsPrimaryKey bool `protobuf:"varint,3,opt,name=is_primary_key,json=isPrimaryKey,proto3" json:"is_primary_key,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` DataType DataType `protobuf:"varint,5,opt,name=data_type,json=dataType,proto3,enum=milvus.proto.schema.DataType" json:"data_type,omitempty"` TypeParams []*commonpb.KeyValuePair `protobuf:"bytes,6,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"` IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,7,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"` AutoID bool `protobuf:"varint,8,opt,name=autoID,proto3" json:"autoID,omitempty"` State FieldState `protobuf:"varint,9,opt,name=state,proto3,enum=milvus.proto.schema.FieldState" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
* @brief Field schema
func (*FieldSchema) Descriptor ¶
func (*FieldSchema) Descriptor() ([]byte, []int)
func (*FieldSchema) GetAutoID ¶
func (m *FieldSchema) GetAutoID() bool
func (*FieldSchema) GetDataType ¶
func (m *FieldSchema) GetDataType() DataType
func (*FieldSchema) GetDescription ¶
func (m *FieldSchema) GetDescription() string
func (*FieldSchema) GetFieldID ¶
func (m *FieldSchema) GetFieldID() int64
func (*FieldSchema) GetIndexParams ¶
func (m *FieldSchema) GetIndexParams() []*commonpb.KeyValuePair
func (*FieldSchema) GetIsPrimaryKey ¶
func (m *FieldSchema) GetIsPrimaryKey() bool
func (*FieldSchema) GetName ¶
func (m *FieldSchema) GetName() string
func (*FieldSchema) GetState ¶
func (m *FieldSchema) GetState() FieldState
func (*FieldSchema) GetTypeParams ¶
func (m *FieldSchema) GetTypeParams() []*commonpb.KeyValuePair
func (*FieldSchema) ProtoMessage ¶
func (*FieldSchema) ProtoMessage()
func (*FieldSchema) Reset ¶
func (m *FieldSchema) Reset()
func (*FieldSchema) String ¶
func (m *FieldSchema) String() string
func (*FieldSchema) XXX_DiscardUnknown ¶
func (m *FieldSchema) XXX_DiscardUnknown()
func (*FieldSchema) XXX_Marshal ¶
func (m *FieldSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FieldSchema) XXX_Merge ¶
func (m *FieldSchema) XXX_Merge(src proto.Message)
func (*FieldSchema) XXX_Size ¶
func (m *FieldSchema) XXX_Size() int
func (*FieldSchema) XXX_Unmarshal ¶
func (m *FieldSchema) XXX_Unmarshal(b []byte) error
type FieldState ¶
type FieldState int32
const ( FieldState_FieldCreated FieldState = 0 FieldState_FieldCreating FieldState = 1 FieldState_FieldDropping FieldState = 2 FieldState_FieldDropped FieldState = 3 )
func (FieldState) EnumDescriptor ¶
func (FieldState) EnumDescriptor() ([]byte, []int)
func (FieldState) String ¶
func (x FieldState) String() string
type FloatArray ¶
type FloatArray struct { Data []float32 `protobuf:"fixed32,1,rep,packed,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FloatArray) Descriptor ¶
func (*FloatArray) Descriptor() ([]byte, []int)
func (*FloatArray) GetData ¶
func (m *FloatArray) GetData() []float32
func (*FloatArray) ProtoMessage ¶
func (*FloatArray) ProtoMessage()
func (*FloatArray) Reset ¶
func (m *FloatArray) Reset()
func (*FloatArray) String ¶
func (m *FloatArray) String() string
func (*FloatArray) XXX_DiscardUnknown ¶
func (m *FloatArray) XXX_DiscardUnknown()
func (*FloatArray) XXX_Marshal ¶
func (m *FloatArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FloatArray) XXX_Merge ¶
func (m *FloatArray) XXX_Merge(src proto.Message)
func (*FloatArray) XXX_Size ¶
func (m *FloatArray) XXX_Size() int
func (*FloatArray) XXX_Unmarshal ¶
func (m *FloatArray) XXX_Unmarshal(b []byte) error
type IDs ¶
type IDs struct { // Types that are valid to be assigned to IdField: // *IDs_IntId // *IDs_StrId IdField isIDs_IdField `protobuf_oneof:"id_field"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IDs) Descriptor ¶
func (*IDs) GetIdField ¶
func (m *IDs) GetIdField() isIDs_IdField
func (*IDs) GetStrId ¶
func (m *IDs) GetStrId() *StringArray
func (*IDs) ProtoMessage ¶
func (*IDs) ProtoMessage()
func (*IDs) XXX_DiscardUnknown ¶
func (m *IDs) XXX_DiscardUnknown()
func (*IDs) XXX_OneofWrappers ¶
func (*IDs) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*IDs) XXX_Unmarshal ¶
type IDs_IntId ¶
type IDs_IntId struct {
IntId *LongArray `protobuf:"bytes,1,opt,name=int_id,json=intId,proto3,oneof"`
}
type IDs_StrId ¶
type IDs_StrId struct {
StrId *StringArray `protobuf:"bytes,2,opt,name=str_id,json=strId,proto3,oneof"`
}
type IntArray ¶
type IntArray struct { Data []int32 `protobuf:"varint,1,rep,packed,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IntArray) Descriptor ¶
func (*IntArray) ProtoMessage ¶
func (*IntArray) ProtoMessage()
func (*IntArray) XXX_DiscardUnknown ¶
func (m *IntArray) XXX_DiscardUnknown()
func (*IntArray) XXX_Marshal ¶
func (*IntArray) XXX_Unmarshal ¶
type LongArray ¶
type LongArray struct { Data []int64 `protobuf:"varint,1,rep,packed,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LongArray) Descriptor ¶
func (*LongArray) ProtoMessage ¶
func (*LongArray) ProtoMessage()
func (*LongArray) XXX_DiscardUnknown ¶
func (m *LongArray) XXX_DiscardUnknown()
func (*LongArray) XXX_Marshal ¶
func (*LongArray) XXX_Unmarshal ¶
type ScalarField ¶
type ScalarField struct { // Types that are valid to be assigned to Data: // *ScalarField_BoolData // *ScalarField_IntData // *ScalarField_LongData // *ScalarField_FloatData // *ScalarField_DoubleData // *ScalarField_StringData // *ScalarField_BytesData Data isScalarField_Data `protobuf_oneof:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ScalarField) Descriptor ¶
func (*ScalarField) Descriptor() ([]byte, []int)
func (*ScalarField) GetBoolData ¶
func (m *ScalarField) GetBoolData() *BoolArray
func (*ScalarField) GetBytesData ¶
func (m *ScalarField) GetBytesData() *BytesArray
func (*ScalarField) GetData ¶
func (m *ScalarField) GetData() isScalarField_Data
func (*ScalarField) GetDoubleData ¶
func (m *ScalarField) GetDoubleData() *DoubleArray
func (*ScalarField) GetFloatData ¶
func (m *ScalarField) GetFloatData() *FloatArray
func (*ScalarField) GetIntData ¶
func (m *ScalarField) GetIntData() *IntArray
func (*ScalarField) GetLongData ¶
func (m *ScalarField) GetLongData() *LongArray
func (*ScalarField) GetStringData ¶
func (m *ScalarField) GetStringData() *StringArray
func (*ScalarField) ProtoMessage ¶
func (*ScalarField) ProtoMessage()
func (*ScalarField) Reset ¶
func (m *ScalarField) Reset()
func (*ScalarField) String ¶
func (m *ScalarField) String() string
func (*ScalarField) XXX_DiscardUnknown ¶
func (m *ScalarField) XXX_DiscardUnknown()
func (*ScalarField) XXX_Marshal ¶
func (m *ScalarField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScalarField) XXX_Merge ¶
func (m *ScalarField) XXX_Merge(src proto.Message)
func (*ScalarField) XXX_OneofWrappers ¶
func (*ScalarField) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ScalarField) XXX_Size ¶
func (m *ScalarField) XXX_Size() int
func (*ScalarField) XXX_Unmarshal ¶
func (m *ScalarField) XXX_Unmarshal(b []byte) error
type ScalarField_BoolData ¶
type ScalarField_BoolData struct {
BoolData *BoolArray `protobuf:"bytes,1,opt,name=bool_data,json=boolData,proto3,oneof"`
}
type ScalarField_BytesData ¶
type ScalarField_BytesData struct {
BytesData *BytesArray `protobuf:"bytes,7,opt,name=bytes_data,json=bytesData,proto3,oneof"`
}
type ScalarField_DoubleData ¶
type ScalarField_DoubleData struct {
DoubleData *DoubleArray `protobuf:"bytes,5,opt,name=double_data,json=doubleData,proto3,oneof"`
}
type ScalarField_FloatData ¶
type ScalarField_FloatData struct {
FloatData *FloatArray `protobuf:"bytes,4,opt,name=float_data,json=floatData,proto3,oneof"`
}
type ScalarField_IntData ¶
type ScalarField_IntData struct {
IntData *IntArray `protobuf:"bytes,2,opt,name=int_data,json=intData,proto3,oneof"`
}
type ScalarField_LongData ¶
type ScalarField_LongData struct {
LongData *LongArray `protobuf:"bytes,3,opt,name=long_data,json=longData,proto3,oneof"`
}
type ScalarField_StringData ¶
type ScalarField_StringData struct {
StringData *StringArray `protobuf:"bytes,6,opt,name=string_data,json=stringData,proto3,oneof"`
}
type SearchResultData ¶
type SearchResultData struct { NumQueries int64 `protobuf:"varint,1,opt,name=num_queries,json=numQueries,proto3" json:"num_queries,omitempty"` TopK int64 `protobuf:"varint,2,opt,name=top_k,json=topK,proto3" json:"top_k,omitempty"` FieldsData []*FieldData `protobuf:"bytes,3,rep,name=fields_data,json=fieldsData,proto3" json:"fields_data,omitempty"` Scores []float32 `protobuf:"fixed32,4,rep,packed,name=scores,proto3" json:"scores,omitempty"` Ids *IDs `protobuf:"bytes,5,opt,name=ids,proto3" json:"ids,omitempty"` Topks []int64 `protobuf:"varint,6,rep,packed,name=topks,proto3" json:"topks,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchResultData) Descriptor ¶
func (*SearchResultData) Descriptor() ([]byte, []int)
func (*SearchResultData) GetFieldsData ¶
func (m *SearchResultData) GetFieldsData() []*FieldData
func (*SearchResultData) GetIds ¶
func (m *SearchResultData) GetIds() *IDs
func (*SearchResultData) GetNumQueries ¶
func (m *SearchResultData) GetNumQueries() int64
func (*SearchResultData) GetScores ¶
func (m *SearchResultData) GetScores() []float32
func (*SearchResultData) GetTopK ¶
func (m *SearchResultData) GetTopK() int64
func (*SearchResultData) GetTopks ¶
func (m *SearchResultData) GetTopks() []int64
func (*SearchResultData) ProtoMessage ¶
func (*SearchResultData) ProtoMessage()
func (*SearchResultData) Reset ¶
func (m *SearchResultData) Reset()
func (*SearchResultData) String ¶
func (m *SearchResultData) String() string
func (*SearchResultData) XXX_DiscardUnknown ¶
func (m *SearchResultData) XXX_DiscardUnknown()
func (*SearchResultData) XXX_Marshal ¶
func (m *SearchResultData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchResultData) XXX_Merge ¶
func (m *SearchResultData) XXX_Merge(src proto.Message)
func (*SearchResultData) XXX_Size ¶
func (m *SearchResultData) XXX_Size() int
func (*SearchResultData) XXX_Unmarshal ¶
func (m *SearchResultData) XXX_Unmarshal(b []byte) error
type StringArray ¶
type StringArray struct { Data []string `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StringArray) Descriptor ¶
func (*StringArray) Descriptor() ([]byte, []int)
func (*StringArray) GetData ¶
func (m *StringArray) GetData() []string
func (*StringArray) ProtoMessage ¶
func (*StringArray) ProtoMessage()
func (*StringArray) Reset ¶
func (m *StringArray) Reset()
func (*StringArray) String ¶
func (m *StringArray) String() string
func (*StringArray) XXX_DiscardUnknown ¶
func (m *StringArray) XXX_DiscardUnknown()
func (*StringArray) XXX_Marshal ¶
func (m *StringArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StringArray) XXX_Merge ¶
func (m *StringArray) XXX_Merge(src proto.Message)
func (*StringArray) XXX_Size ¶
func (m *StringArray) XXX_Size() int
func (*StringArray) XXX_Unmarshal ¶
func (m *StringArray) XXX_Unmarshal(b []byte) error
type VectorField ¶
type VectorField struct { Dim int64 `protobuf:"varint,1,opt,name=dim,proto3" json:"dim,omitempty"` // Types that are valid to be assigned to Data: // *VectorField_FloatVector // *VectorField_BinaryVector Data isVectorField_Data `protobuf_oneof:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VectorField) Descriptor ¶
func (*VectorField) Descriptor() ([]byte, []int)
func (*VectorField) GetBinaryVector ¶
func (m *VectorField) GetBinaryVector() []byte
func (*VectorField) GetData ¶
func (m *VectorField) GetData() isVectorField_Data
func (*VectorField) GetDim ¶
func (m *VectorField) GetDim() int64
func (*VectorField) GetFloatVector ¶
func (m *VectorField) GetFloatVector() *FloatArray
func (*VectorField) ProtoMessage ¶
func (*VectorField) ProtoMessage()
func (*VectorField) Reset ¶
func (m *VectorField) Reset()
func (*VectorField) String ¶
func (m *VectorField) String() string
func (*VectorField) XXX_DiscardUnknown ¶
func (m *VectorField) XXX_DiscardUnknown()
func (*VectorField) XXX_Marshal ¶
func (m *VectorField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VectorField) XXX_Merge ¶
func (m *VectorField) XXX_Merge(src proto.Message)
func (*VectorField) XXX_OneofWrappers ¶
func (*VectorField) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*VectorField) XXX_Size ¶
func (m *VectorField) XXX_Size() int
func (*VectorField) XXX_Unmarshal ¶
func (m *VectorField) XXX_Unmarshal(b []byte) error
type VectorField_BinaryVector ¶
type VectorField_BinaryVector struct {
BinaryVector []byte `protobuf:"bytes,3,opt,name=binary_vector,json=binaryVector,proto3,oneof"`
}
type VectorField_FloatVector ¶
type VectorField_FloatVector struct {
FloatVector *FloatArray `protobuf:"bytes,2,opt,name=float_vector,json=floatVector,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.