milvus_grpc

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CompareOperator_name = map[int32]string{
	0: "LT",
	1: "LTE",
	2: "EQ",
	3: "GT",
	4: "GTE",
	5: "NE",
}
View Source
var CompareOperator_value = map[string]int32{
	"LT":  0,
	"LTE": 1,
	"EQ":  2,
	"GT":  3,
	"GTE": 4,
	"NE":  5,
}
View Source
var DataType_name = map[int32]string{
	0:    "NULL",
	1:    "INT8",
	2:    "INT16",
	3:    "INT32",
	4:    "INT64",
	20:   "STRING",
	30:   "BOOL",
	40:   "FLOAT",
	41:   "DOUBLE",
	100:  "VECTOR",
	9999: "UNKNOWN",
}
View Source
var DataType_value = map[string]int32{
	"NULL":    0,
	"INT8":    1,
	"INT16":   2,
	"INT32":   3,
	"INT64":   4,
	"STRING":  20,
	"BOOL":    30,
	"FLOAT":   40,
	"DOUBLE":  41,
	"VECTOR":  100,
	"UNKNOWN": 9999,
}
View Source
var ErrorCode_name = map[int32]string{
	0:  "SUCCESS",
	1:  "UNEXPECTED_ERROR",
	2:  "CONNECT_FAILED",
	3:  "PERMISSION_DENIED",
	4:  "COLLECTION_NOT_EXISTS",
	5:  "ILLEGAL_ARGUMENT",
	7:  "ILLEGAL_DIMENSION",
	8:  "ILLEGAL_INDEX_TYPE",
	9:  "ILLEGAL_COLLECTION_NAME",
	10: "ILLEGAL_TOPK",
	11: "ILLEGAL_ROWRECORD",
	12: "ILLEGAL_VECTOR_ID",
	13: "ILLEGAL_SEARCH_RESULT",
	14: "FILE_NOT_FOUND",
	15: "META_FAILED",
	16: "CACHE_FAILED",
	17: "CANNOT_CREATE_FOLDER",
	18: "CANNOT_CREATE_FILE",
	19: "CANNOT_DELETE_FOLDER",
	20: "CANNOT_DELETE_FILE",
	21: "BUILD_INDEX_ERROR",
	22: "ILLEGAL_NLIST",
	23: "ILLEGAL_METRIC_TYPE",
	24: "OUT_OF_MEMORY",
}
View Source
var ErrorCode_value = map[string]int32{
	"SUCCESS":                 0,
	"UNEXPECTED_ERROR":        1,
	"CONNECT_FAILED":          2,
	"PERMISSION_DENIED":       3,
	"COLLECTION_NOT_EXISTS":   4,
	"ILLEGAL_ARGUMENT":        5,
	"ILLEGAL_DIMENSION":       7,
	"ILLEGAL_INDEX_TYPE":      8,
	"ILLEGAL_COLLECTION_NAME": 9,
	"ILLEGAL_TOPK":            10,
	"ILLEGAL_ROWRECORD":       11,
	"ILLEGAL_VECTOR_ID":       12,
	"ILLEGAL_SEARCH_RESULT":   13,
	"FILE_NOT_FOUND":          14,
	"META_FAILED":             15,
	"CACHE_FAILED":            16,
	"CANNOT_CREATE_FOLDER":    17,
	"CANNOT_CREATE_FILE":      18,
	"CANNOT_DELETE_FOLDER":    19,
	"CANNOT_DELETE_FILE":      20,
	"BUILD_INDEX_ERROR":       21,
	"ILLEGAL_NLIST":           22,
	"ILLEGAL_METRIC_TYPE":     23,
	"OUT_OF_MEMORY":           24,
}
View Source
var Occur_name = map[int32]string{
	0: "INVALID",
	1: "MUST",
	2: "SHOULD",
	3: "MUST_NOT",
}
View Source
var Occur_value = map[string]int32{
	"INVALID":  0,
	"MUST":     1,
	"SHOULD":   2,
	"MUST_NOT": 3,
}

Functions

func RegisterMilvusServiceServer

func RegisterMilvusServiceServer(s *grpc.Server, srv MilvusServiceServer)

Types

type AttrRecord added in v0.4.0

type AttrRecord struct {
	Value                []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AttrRecord) Descriptor added in v0.4.0

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

func (*AttrRecord) GetValue added in v0.4.0

func (m *AttrRecord) GetValue() []string

func (*AttrRecord) ProtoMessage added in v0.4.0

func (*AttrRecord) ProtoMessage()

func (*AttrRecord) Reset added in v0.4.0

func (m *AttrRecord) Reset()

func (*AttrRecord) String added in v0.4.0

func (m *AttrRecord) String() string

func (*AttrRecord) XXX_DiscardUnknown added in v0.4.0

func (m *AttrRecord) XXX_DiscardUnknown()

func (*AttrRecord) XXX_Marshal added in v0.4.0

func (m *AttrRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttrRecord) XXX_Merge added in v0.4.0

func (m *AttrRecord) XXX_Merge(src proto.Message)

func (*AttrRecord) XXX_Size added in v0.4.0

func (m *AttrRecord) XXX_Size() int

func (*AttrRecord) XXX_Unmarshal added in v0.4.0

func (m *AttrRecord) XXX_Unmarshal(b []byte) error

type BoolReply

type BoolReply struct {
	Status               *Status  `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	BoolReply            bool     `protobuf:"varint,2,opt,name=bool_reply,json=boolReply,proto3" json:"bool_reply,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* @brief Server bool Reply

func (*BoolReply) Descriptor

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

func (*BoolReply) GetBoolReply

func (m *BoolReply) GetBoolReply() bool

func (*BoolReply) GetStatus

func (m *BoolReply) GetStatus() *Status

func (*BoolReply) ProtoMessage

func (*BoolReply) ProtoMessage()

func (*BoolReply) Reset

func (m *BoolReply) Reset()

func (*BoolReply) String

func (m *BoolReply) String() string

func (*BoolReply) XXX_DiscardUnknown

func (m *BoolReply) XXX_DiscardUnknown()

func (*BoolReply) XXX_Marshal

func (m *BoolReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BoolReply) XXX_Merge

func (m *BoolReply) XXX_Merge(src proto.Message)

func (*BoolReply) XXX_Size

func (m *BoolReply) XXX_Size() int

func (*BoolReply) XXX_Unmarshal

func (m *BoolReply) XXX_Unmarshal(b []byte) error

type BooleanQuery added in v0.4.0

type BooleanQuery struct {
	Occur                Occur           `protobuf:"varint,1,opt,name=occur,proto3,enum=milvus.grpc.Occur" json:"occur,omitempty"`
	GeneralQuery         []*GeneralQuery `protobuf:"bytes,2,rep,name=general_query,json=generalQuery,proto3" json:"general_query,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*BooleanQuery) Descriptor added in v0.4.0

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

func (*BooleanQuery) GetGeneralQuery added in v0.4.0

func (m *BooleanQuery) GetGeneralQuery() []*GeneralQuery

func (*BooleanQuery) GetOccur added in v0.4.0

func (m *BooleanQuery) GetOccur() Occur

func (*BooleanQuery) ProtoMessage added in v0.4.0

func (*BooleanQuery) ProtoMessage()

func (*BooleanQuery) Reset added in v0.4.0

func (m *BooleanQuery) Reset()

func (*BooleanQuery) String added in v0.4.0

func (m *BooleanQuery) String() string

func (*BooleanQuery) XXX_DiscardUnknown added in v0.4.0

func (m *BooleanQuery) XXX_DiscardUnknown()

func (*BooleanQuery) XXX_Marshal added in v0.4.0

func (m *BooleanQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BooleanQuery) XXX_Merge added in v0.4.0

func (m *BooleanQuery) XXX_Merge(src proto.Message)

func (*BooleanQuery) XXX_Size added in v0.4.0

func (m *BooleanQuery) XXX_Size() int

func (*BooleanQuery) XXX_Unmarshal added in v0.4.0

func (m *BooleanQuery) XXX_Unmarshal(b []byte) error

type CollectionInfo added in v0.3.0

type CollectionInfo struct {
	Status               *Status  `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	JsonInfo             string   `protobuf:"bytes,2,opt,name=json_info,json=jsonInfo,proto3" json:"json_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* @brief collection information

func (*CollectionInfo) Descriptor added in v0.3.0

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

func (*CollectionInfo) GetJsonInfo added in v0.4.0

func (m *CollectionInfo) GetJsonInfo() string

func (*CollectionInfo) GetStatus added in v0.3.0

func (m *CollectionInfo) GetStatus() *Status

func (*CollectionInfo) ProtoMessage added in v0.3.0

func (*CollectionInfo) ProtoMessage()

func (*CollectionInfo) Reset added in v0.3.0

func (m *CollectionInfo) Reset()

func (*CollectionInfo) String added in v0.3.0

func (m *CollectionInfo) String() string

func (*CollectionInfo) XXX_DiscardUnknown added in v0.3.0

func (m *CollectionInfo) XXX_DiscardUnknown()

func (*CollectionInfo) XXX_Marshal added in v0.3.0

func (m *CollectionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectionInfo) XXX_Merge added in v0.3.0

func (m *CollectionInfo) XXX_Merge(src proto.Message)

func (*CollectionInfo) XXX_Size added in v0.3.0

func (m *CollectionInfo) XXX_Size() int

func (*CollectionInfo) XXX_Unmarshal added in v0.3.0

func (m *CollectionInfo) XXX_Unmarshal(b []byte) error

type CollectionName added in v0.3.0

type CollectionName struct {
	CollectionName       string   `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* @brief Collection name

func (*CollectionName) Descriptor added in v0.3.0

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

func (*CollectionName) GetCollectionName added in v0.3.0

func (m *CollectionName) GetCollectionName() string

func (*CollectionName) ProtoMessage added in v0.3.0

func (*CollectionName) ProtoMessage()

func (*CollectionName) Reset added in v0.3.0

func (m *CollectionName) Reset()

func (*CollectionName) String added in v0.3.0

func (m *CollectionName) String() string

func (*CollectionName) XXX_DiscardUnknown added in v0.3.0

func (m *CollectionName) XXX_DiscardUnknown()

func (*CollectionName) XXX_Marshal added in v0.3.0

func (m *CollectionName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectionName) XXX_Merge added in v0.3.0

func (m *CollectionName) XXX_Merge(src proto.Message)

func (*CollectionName) XXX_Size added in v0.3.0

func (m *CollectionName) XXX_Size() int

func (*CollectionName) XXX_Unmarshal added in v0.3.0

func (m *CollectionName) XXX_Unmarshal(b []byte) error

type CollectionNameList added in v0.3.0

type CollectionNameList struct {
	Status               *Status  `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	CollectionNames      []string `protobuf:"bytes,2,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* @brief Collection name list

func (*CollectionNameList) Descriptor added in v0.3.0

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

func (*CollectionNameList) GetCollectionNames added in v0.3.0

func (m *CollectionNameList) GetCollectionNames() []string

func (*CollectionNameList) GetStatus added in v0.3.0

func (m *CollectionNameList) GetStatus() *Status

func (*CollectionNameList) ProtoMessage added in v0.3.0

func (*CollectionNameList) ProtoMessage()

func (*CollectionNameList) Reset added in v0.3.0

func (m *CollectionNameList) Reset()

func (*CollectionNameList) String added in v0.3.0

func (m *CollectionNameList) String() string

func (*CollectionNameList) XXX_DiscardUnknown added in v0.3.0

func (m *CollectionNameList) XXX_DiscardUnknown()

func (*CollectionNameList) XXX_Marshal added in v0.3.0

func (m *CollectionNameList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectionNameList) XXX_Merge added in v0.3.0

func (m *CollectionNameList) XXX_Merge(src proto.Message)

func (*CollectionNameList) XXX_Size added in v0.3.0

func (m *CollectionNameList) XXX_Size() int

func (*CollectionNameList) XXX_Unmarshal added in v0.3.0

func (m *CollectionNameList) XXX_Unmarshal(b []byte) error

type CollectionRowCount added in v0.3.0

type CollectionRowCount struct {
	Status               *Status  `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	CollectionRowCount   int64    `protobuf:"varint,2,opt,name=collection_row_count,json=collectionRowCount,proto3" json:"collection_row_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* @brief Return collection row count

func (*CollectionRowCount) Descriptor added in v0.3.0

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

func (*CollectionRowCount) GetCollectionRowCount added in v0.3.0

func (m *CollectionRowCount) GetCollectionRowCount() int64

func (*CollectionRowCount) GetStatus added in v0.3.0

func (m *CollectionRowCount) GetStatus() *Status

func (*CollectionRowCount) ProtoMessage added in v0.3.0

func (*CollectionRowCount) ProtoMessage()

func (*CollectionRowCount) Reset added in v0.3.0

func (m *CollectionRowCount) Reset()

func (*CollectionRowCount) String added in v0.3.0

func (m *CollectionRowCount) String() string

func (*CollectionRowCount) XXX_DiscardUnknown added in v0.3.0

func (m *CollectionRowCount) XXX_DiscardUnknown()

func (*CollectionRowCount) XXX_Marshal added in v0.3.0

func (m *CollectionRowCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectionRowCount) XXX_Merge added in v0.3.0

func (m *CollectionRowCount) XXX_Merge(src proto.Message)

func (*CollectionRowCount) XXX_Size added in v0.3.0

func (m *CollectionRowCount) XXX_Size() int

func (*CollectionRowCount) XXX_Unmarshal added in v0.3.0

func (m *CollectionRowCount) XXX_Unmarshal(b []byte) error

type CollectionSchema added in v0.3.0

type CollectionSchema struct {
	Status               *Status         `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	CollectionName       string          `protobuf:"bytes,2,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	Dimension            int64           `protobuf:"varint,3,opt,name=dimension,proto3" json:"dimension,omitempty"`
	IndexFileSize        int64           `protobuf:"varint,4,opt,name=index_file_size,json=indexFileSize,proto3" json:"index_file_size,omitempty"`
	MetricType           int32           `protobuf:"varint,5,opt,name=metric_type,json=metricType,proto3" json:"metric_type,omitempty"`
	ExtraParams          []*KeyValuePair `protobuf:"bytes,6,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

* @brief Collection schema metric_type: 1-L2, 2-IP

func (*CollectionSchema) Descriptor added in v0.3.0

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

func (*CollectionSchema) GetCollectionName added in v0.3.0

func (m *CollectionSchema) GetCollectionName() string

func (*CollectionSchema) GetDimension added in v0.3.0

func (m *CollectionSchema) GetDimension() int64

func (*CollectionSchema) GetExtraParams added in v0.3.0

func (m *CollectionSchema) GetExtraParams() []*KeyValuePair

func (*CollectionSchema) GetIndexFileSize added in v0.3.0

func (m *CollectionSchema) GetIndexFileSize() int64

func (*CollectionSchema) GetMetricType added in v0.3.0

func (m *CollectionSchema) GetMetricType() int32

func (*CollectionSchema) GetStatus added in v0.3.0

func (m *CollectionSchema) GetStatus() *Status

func (*CollectionSchema) ProtoMessage added in v0.3.0

func (*CollectionSchema) ProtoMessage()

func (*CollectionSchema) Reset added in v0.3.0

func (m *CollectionSchema) Reset()

func (*CollectionSchema) String added in v0.3.0

func (m *CollectionSchema) String() string

func (*CollectionSchema) XXX_DiscardUnknown added in v0.3.0

func (m *CollectionSchema) XXX_DiscardUnknown()

func (*CollectionSchema) XXX_Marshal added in v0.3.0

func (m *CollectionSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CollectionSchema) XXX_Merge added in v0.3.0

func (m *CollectionSchema) XXX_Merge(src proto.Message)

func (*CollectionSchema) XXX_Size added in v0.3.0

func (m *CollectionSchema) XXX_Size() int

func (*CollectionSchema) XXX_Unmarshal added in v0.3.0

func (m *CollectionSchema) XXX_Unmarshal(b []byte) error

type Command

type Command struct {
	Cmd                  string   `protobuf:"bytes,1,opt,name=cmd,proto3" json:"cmd,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* @brief Give server Command

func (*Command) Descriptor

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

func (*Command) GetCmd

func (m *Command) GetCmd() string

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) Reset

func (m *Command) Reset()

func (*Command) String

func (m *Command) String() string

func (*Command) XXX_DiscardUnknown

func (m *Command) XXX_DiscardUnknown()

func (*Command) XXX_Marshal

func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Command) XXX_Merge

func (m *Command) XXX_Merge(src proto.Message)

func (*Command) XXX_Size

func (m *Command) XXX_Size() int

func (*Command) XXX_Unmarshal

func (m *Command) XXX_Unmarshal(b []byte) error

type CompareExpr added in v0.4.0

type CompareExpr struct {
	Operator             CompareOperator `protobuf:"varint,1,opt,name=operator,proto3,enum=milvus.grpc.CompareOperator" json:"operator,omitempty"`
	Operand              string          `protobuf:"bytes,2,opt,name=operand,proto3" json:"operand,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*CompareExpr) Descriptor added in v0.4.0

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

func (*CompareExpr) GetOperand added in v0.4.0

func (m *CompareExpr) GetOperand() string

func (*CompareExpr) GetOperator added in v0.4.0

func (m *CompareExpr) GetOperator() CompareOperator

func (*CompareExpr) ProtoMessage added in v0.4.0

func (*CompareExpr) ProtoMessage()

func (*CompareExpr) Reset added in v0.4.0

func (m *CompareExpr) Reset()

func (*CompareExpr) String added in v0.4.0

func (m *CompareExpr) String() string

func (*CompareExpr) XXX_DiscardUnknown added in v0.4.0

func (m *CompareExpr) XXX_DiscardUnknown()

func (*CompareExpr) XXX_Marshal added in v0.4.0

func (m *CompareExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CompareExpr) XXX_Merge added in v0.4.0

func (m *CompareExpr) XXX_Merge(src proto.Message)

func (*CompareExpr) XXX_Size added in v0.4.0

func (m *CompareExpr) XXX_Size() int

func (*CompareExpr) XXX_Unmarshal added in v0.4.0

func (m *CompareExpr) XXX_Unmarshal(b []byte) error

type CompareOperator added in v0.4.0

type CompareOperator int32
const (
	CompareOperator_LT  CompareOperator = 0
	CompareOperator_LTE CompareOperator = 1
	CompareOperator_EQ  CompareOperator = 2
	CompareOperator_GT  CompareOperator = 3
	CompareOperator_GTE CompareOperator = 4
	CompareOperator_NE  CompareOperator = 5
)

func (CompareOperator) EnumDescriptor added in v0.4.0

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

func (CompareOperator) String added in v0.4.0

func (x CompareOperator) String() string

type DataType added in v0.4.0

type DataType int32
const (
	DataType_NULL    DataType = 0
	DataType_INT8    DataType = 1
	DataType_INT16   DataType = 2
	DataType_INT32   DataType = 3
	DataType_INT64   DataType = 4
	DataType_STRING  DataType = 20
	DataType_BOOL    DataType = 30
	DataType_FLOAT   DataType = 40
	DataType_DOUBLE  DataType = 41
	DataType_VECTOR  DataType = 100
	DataType_UNKNOWN DataType = 9999
)

func (DataType) EnumDescriptor added in v0.4.0

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

func (DataType) String added in v0.4.0

func (x DataType) String() string

type DeleteByIDParam

type DeleteByIDParam struct {
	CollectionName       string   `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	IdArray              []int64  `protobuf:"varint,2,rep,packed,name=id_array,json=idArray,proto3" json:"id_array,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* @brief Flush params

func (*DeleteByIDParam) Descriptor

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

func (*DeleteByIDParam) GetCollectionName added in v0.3.0

func (m *DeleteByIDParam) GetCollectionName() string

func (*DeleteByIDParam) GetIdArray

func (m *DeleteByIDParam) GetIdArray() []int64

func (*DeleteByIDParam) ProtoMessage

func (*DeleteByIDParam) ProtoMessage()

func (*DeleteByIDParam) Reset

func (m *DeleteByIDParam) Reset()

func (*DeleteByIDParam) String

func (m *DeleteByIDParam) String() string

func (*DeleteByIDParam) XXX_DiscardUnknown

func (m *DeleteByIDParam) XXX_DiscardUnknown()

func (*DeleteByIDParam) XXX_Marshal

func (m *DeleteByIDParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteByIDParam) XXX_Merge

func (m *DeleteByIDParam) XXX_Merge(src proto.Message)

func (*DeleteByIDParam) XXX_Size

func (m *DeleteByIDParam) XXX_Size() int

func (*DeleteByIDParam) XXX_Unmarshal

func (m *DeleteByIDParam) XXX_Unmarshal(b []byte) error

type ErrorCode

type ErrorCode int32
const (
	ErrorCode_SUCCESS                 ErrorCode = 0
	ErrorCode_UNEXPECTED_ERROR        ErrorCode = 1
	ErrorCode_CONNECT_FAILED          ErrorCode = 2
	ErrorCode_PERMISSION_DENIED       ErrorCode = 3
	ErrorCode_COLLECTION_NOT_EXISTS   ErrorCode = 4
	ErrorCode_ILLEGAL_ARGUMENT        ErrorCode = 5
	ErrorCode_ILLEGAL_DIMENSION       ErrorCode = 7
	ErrorCode_ILLEGAL_INDEX_TYPE      ErrorCode = 8
	ErrorCode_ILLEGAL_COLLECTION_NAME ErrorCode = 9
	ErrorCode_ILLEGAL_TOPK            ErrorCode = 10
	ErrorCode_ILLEGAL_ROWRECORD       ErrorCode = 11
	ErrorCode_ILLEGAL_VECTOR_ID       ErrorCode = 12
	ErrorCode_ILLEGAL_SEARCH_RESULT   ErrorCode = 13
	ErrorCode_FILE_NOT_FOUND          ErrorCode = 14
	ErrorCode_META_FAILED             ErrorCode = 15
	ErrorCode_CACHE_FAILED            ErrorCode = 16
	ErrorCode_CANNOT_CREATE_FOLDER    ErrorCode = 17
	ErrorCode_CANNOT_CREATE_FILE      ErrorCode = 18
	ErrorCode_CANNOT_DELETE_FOLDER    ErrorCode = 19
	ErrorCode_CANNOT_DELETE_FILE      ErrorCode = 20
	ErrorCode_BUILD_INDEX_ERROR       ErrorCode = 21
	ErrorCode_ILLEGAL_NLIST           ErrorCode = 22
	ErrorCode_ILLEGAL_METRIC_TYPE     ErrorCode = 23
	ErrorCode_OUT_OF_MEMORY           ErrorCode = 24
)

func (ErrorCode) EnumDescriptor

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

func (ErrorCode) String

func (x ErrorCode) String() string

type FieldParam added in v0.4.0

type FieldParam struct {
	Id                   uint64          `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type                 *FieldType      `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	ExtraParams          []*KeyValuePair `protobuf:"bytes,4,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*FieldParam) Descriptor added in v0.4.0

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

func (*FieldParam) GetExtraParams added in v0.4.0

func (m *FieldParam) GetExtraParams() []*KeyValuePair

func (*FieldParam) GetId added in v0.4.0

func (m *FieldParam) GetId() uint64

func (*FieldParam) GetName added in v0.4.0

func (m *FieldParam) GetName() string

func (*FieldParam) GetType added in v0.4.0

func (m *FieldParam) GetType() *FieldType

func (*FieldParam) ProtoMessage added in v0.4.0

func (*FieldParam) ProtoMessage()

func (*FieldParam) Reset added in v0.4.0

func (m *FieldParam) Reset()

func (*FieldParam) String added in v0.4.0

func (m *FieldParam) String() string

func (*FieldParam) XXX_DiscardUnknown added in v0.4.0

func (m *FieldParam) XXX_DiscardUnknown()

func (*FieldParam) XXX_Marshal added in v0.4.0

func (m *FieldParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FieldParam) XXX_Merge added in v0.4.0

func (m *FieldParam) XXX_Merge(src proto.Message)

func (*FieldParam) XXX_Size added in v0.4.0

func (m *FieldParam) XXX_Size() int

func (*FieldParam) XXX_Unmarshal added in v0.4.0

func (m *FieldParam) XXX_Unmarshal(b []byte) error

type FieldType added in v0.4.0

type FieldType struct {
	// Types that are valid to be assigned to Value:
	//	*FieldType_DataType
	//	*FieldType_VectorParam
	Value                isFieldType_Value `protobuf_oneof:"value"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*FieldType) Descriptor added in v0.4.0

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

func (*FieldType) GetDataType added in v0.4.0

func (m *FieldType) GetDataType() DataType

func (*FieldType) GetValue added in v0.4.0

func (m *FieldType) GetValue() isFieldType_Value

func (*FieldType) GetVectorParam added in v0.4.0

func (m *FieldType) GetVectorParam() *VectorFieldParam

func (*FieldType) ProtoMessage added in v0.4.0

func (*FieldType) ProtoMessage()

func (*FieldType) Reset added in v0.4.0

func (m *FieldType) Reset()

func (*FieldType) String added in v0.4.0

func (m *FieldType) String() string

func (*FieldType) XXX_DiscardUnknown added in v0.4.0

func (m *FieldType) XXX_DiscardUnknown()

func (*FieldType) XXX_Marshal added in v0.4.0

func (m *FieldType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FieldType) XXX_Merge added in v0.4.0

func (m *FieldType) XXX_Merge(src proto.Message)

func (*FieldType) XXX_OneofWrappers added in v0.4.0

func (*FieldType) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*FieldType) XXX_Size added in v0.4.0

func (m *FieldType) XXX_Size() int

func (*FieldType) XXX_Unmarshal added in v0.4.0

func (m *FieldType) XXX_Unmarshal(b []byte) error

type FieldType_DataType added in v0.4.0

type FieldType_DataType struct {
	DataType DataType `protobuf:"varint,1,opt,name=data_type,json=dataType,proto3,enum=milvus.grpc.DataType,oneof"`
}

type FieldType_VectorParam added in v0.4.0

type FieldType_VectorParam struct {
	VectorParam *VectorFieldParam `protobuf:"bytes,2,opt,name=vector_param,json=vectorParam,proto3,oneof"`
}

type FieldValue added in v0.4.0

type FieldValue struct {
	// Types that are valid to be assigned to Value:
	//	*FieldValue_Int32Value
	//	*FieldValue_Int64Value
	//	*FieldValue_FloatValue
	//	*FieldValue_DoubleValue
	//	*FieldValue_StringValue
	//	*FieldValue_BoolValue
	//	*FieldValue_VectorValue
	Value                isFieldValue_Value `protobuf_oneof:"value"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*FieldValue) Descriptor added in v0.4.0

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

func (*FieldValue) GetBoolValue added in v0.4.0

func (m *FieldValue) GetBoolValue() bool

func (*FieldValue) GetDoubleValue added in v0.4.0

func (m *FieldValue) GetDoubleValue() float64

func (*FieldValue) GetFloatValue added in v0.4.0

func (m *FieldValue) GetFloatValue() float32

func (*FieldValue) GetInt32Value added in v0.4.0

func (m *FieldValue) GetInt32Value() int32

func (*FieldValue) GetInt64Value added in v0.4.0

func (m *FieldValue) GetInt64Value() int64

func (*FieldValue) GetStringValue added in v0.4.0

func (m *FieldValue) GetStringValue() string

func (*FieldValue) GetValue added in v0.4.0

func (m *FieldValue) GetValue() isFieldValue_Value

func (*FieldValue) GetVectorValue added in v0.4.0

func (m *FieldValue) GetVectorValue() *VectorFieldValue

func (*FieldValue) ProtoMessage added in v0.4.0

func (*FieldValue) ProtoMessage()

func (*FieldValue) Reset added in v0.4.0

func (m *FieldValue) Reset()

func (*FieldValue) String added in v0.4.0

func (m *FieldValue) String() string

func (*FieldValue) XXX_DiscardUnknown added in v0.4.0

func (m *FieldValue) XXX_DiscardUnknown()

func (*FieldValue) XXX_Marshal added in v0.4.0

func (m *FieldValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FieldValue) XXX_Merge added in v0.4.0

func (m *FieldValue) XXX_Merge(src proto.Message)

func (*FieldValue) XXX_OneofWrappers added in v0.4.0

func (*FieldValue) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*FieldValue) XXX_Size added in v0.4.0

func (m *FieldValue) XXX_Size() int

func (*FieldValue) XXX_Unmarshal added in v0.4.0

func (m *FieldValue) XXX_Unmarshal(b []byte) error

type FieldValue_BoolValue added in v0.4.0

type FieldValue_BoolValue struct {
	BoolValue bool `protobuf:"varint,6,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type FieldValue_DoubleValue added in v0.4.0

type FieldValue_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

type FieldValue_FloatValue added in v0.4.0

type FieldValue_FloatValue struct {
	FloatValue float32 `protobuf:"fixed32,3,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type FieldValue_Int32Value added in v0.4.0

type FieldValue_Int32Value struct {
	Int32Value int32 `protobuf:"varint,1,opt,name=int32_value,json=int32Value,proto3,oneof"`
}

type FieldValue_Int64Value added in v0.4.0

type FieldValue_Int64Value struct {
	Int64Value int64 `protobuf:"varint,2,opt,name=int64_value,json=int64Value,proto3,oneof"`
}

type FieldValue_StringValue added in v0.4.0

type FieldValue_StringValue struct {
	StringValue string `protobuf:"bytes,5,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type FieldValue_VectorValue added in v0.4.0

type FieldValue_VectorValue struct {
	VectorValue *VectorFieldValue `protobuf:"bytes,7,opt,name=vector_value,json=vectorValue,proto3,oneof"`
}

type FlushParam

type FlushParam struct {
	CollectionNameArray  []string `protobuf:"bytes,1,rep,name=collection_name_array,json=collectionNameArray,proto3" json:"collection_name_array,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* @brief Flush params

func (*FlushParam) Descriptor

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

func (*FlushParam) GetCollectionNameArray added in v0.3.0

func (m *FlushParam) GetCollectionNameArray() []string

func (*FlushParam) ProtoMessage

func (*FlushParam) ProtoMessage()

func (*FlushParam) Reset

func (m *FlushParam) Reset()

func (*FlushParam) String

func (m *FlushParam) String() string

func (*FlushParam) XXX_DiscardUnknown

func (m *FlushParam) XXX_DiscardUnknown()

func (*FlushParam) XXX_Marshal

func (m *FlushParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FlushParam) XXX_Merge

func (m *FlushParam) XXX_Merge(src proto.Message)

func (*FlushParam) XXX_Size

func (m *FlushParam) XXX_Size() int

func (*FlushParam) XXX_Unmarshal

func (m *FlushParam) XXX_Unmarshal(b []byte) error

type GeneralQuery added in v0.4.0

type GeneralQuery struct {
	// Types that are valid to be assigned to Query:
	//	*GeneralQuery_BooleanQuery
	//	*GeneralQuery_TermQuery
	//	*GeneralQuery_RangeQuery
	//	*GeneralQuery_VectorQuery
	Query                isGeneralQuery_Query `protobuf_oneof:"query"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*GeneralQuery) Descriptor added in v0.4.0

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

func (*GeneralQuery) GetBooleanQuery added in v0.4.0

func (m *GeneralQuery) GetBooleanQuery() *BooleanQuery

func (*GeneralQuery) GetQuery added in v0.4.0

func (m *GeneralQuery) GetQuery() isGeneralQuery_Query

func (*GeneralQuery) GetRangeQuery added in v0.4.0

func (m *GeneralQuery) GetRangeQuery() *RangeQuery

func (*GeneralQuery) GetTermQuery added in v0.4.0

func (m *GeneralQuery) GetTermQuery() *TermQuery

func (*GeneralQuery) GetVectorQuery added in v0.4.0

func (m *GeneralQuery) GetVectorQuery() *VectorQuery

func (*GeneralQuery) ProtoMessage added in v0.4.0

func (*GeneralQuery) ProtoMessage()

func (*GeneralQuery) Reset added in v0.4.0

func (m *GeneralQuery) Reset()

func (*GeneralQuery) String added in v0.4.0

func (m *GeneralQuery) String() string

func (*GeneralQuery) XXX_DiscardUnknown added in v0.4.0

func (m *GeneralQuery) XXX_DiscardUnknown()

func (*GeneralQuery) XXX_Marshal added in v0.4.0

func (m *GeneralQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GeneralQuery) XXX_Merge added in v0.4.0

func (m *GeneralQuery) XXX_Merge(src proto.Message)

func (*GeneralQuery) XXX_OneofWrappers added in v0.4.0

func (*GeneralQuery) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*GeneralQuery) XXX_Size added in v0.4.0

func (m *GeneralQuery) XXX_Size() int

func (*GeneralQuery) XXX_Unmarshal added in v0.4.0

func (m *GeneralQuery) XXX_Unmarshal(b []byte) error

type GeneralQuery_BooleanQuery added in v0.4.0

type GeneralQuery_BooleanQuery struct {
	BooleanQuery *BooleanQuery `protobuf:"bytes,1,opt,name=boolean_query,json=booleanQuery,proto3,oneof"`
}

type GeneralQuery_RangeQuery added in v0.4.0

type GeneralQuery_RangeQuery struct {
	RangeQuery *RangeQuery `protobuf:"bytes,3,opt,name=range_query,json=rangeQuery,proto3,oneof"`
}

type GeneralQuery_TermQuery added in v0.4.0

type GeneralQuery_TermQuery struct {
	TermQuery *TermQuery `protobuf:"bytes,2,opt,name=term_query,json=termQuery,proto3,oneof"`
}

type GeneralQuery_VectorQuery added in v0.4.0

type GeneralQuery_VectorQuery struct {
	VectorQuery *VectorQuery `protobuf:"bytes,4,opt,name=vector_query,json=vectorQuery,proto3,oneof"`
}

type GetVectorIDsParam

type GetVectorIDsParam struct {
	CollectionName       string   `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	SegmentName          string   `protobuf:"bytes,2,opt,name=segment_name,json=segmentName,proto3" json:"segment_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* @brief get vector ids from a segment parameters

func (*GetVectorIDsParam) Descriptor

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

func (*GetVectorIDsParam) GetCollectionName added in v0.3.0

func (m *GetVectorIDsParam) GetCollectionName() string

func (*GetVectorIDsParam) GetSegmentName

func (m *GetVectorIDsParam) GetSegmentName() string

func (*GetVectorIDsParam) ProtoMessage

func (*GetVectorIDsParam) ProtoMessage()

func (*GetVectorIDsParam) Reset

func (m *GetVectorIDsParam) Reset()

func (*GetVectorIDsParam) String

func (m *GetVectorIDsParam) String() string

func (*GetVectorIDsParam) XXX_DiscardUnknown

func (m *GetVectorIDsParam) XXX_DiscardUnknown()

func (*GetVectorIDsParam) XXX_Marshal

func (m *GetVectorIDsParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVectorIDsParam) XXX_Merge

func (m *GetVectorIDsParam) XXX_Merge(src proto.Message)

func (*GetVectorIDsParam) XXX_Size

func (m *GetVectorIDsParam) XXX_Size() int

func (*GetVectorIDsParam) XXX_Unmarshal

func (m *GetVectorIDsParam) XXX_Unmarshal(b []byte) error

type HDeleteByIDParam added in v0.4.0

type HDeleteByIDParam struct {
	CollectionName       string   `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	IdArray              []int64  `protobuf:"varint,2,rep,packed,name=id_array,json=idArray,proto3" json:"id_array,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HDeleteByIDParam) Descriptor added in v0.4.0

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

func (*HDeleteByIDParam) GetCollectionName added in v0.4.0

func (m *HDeleteByIDParam) GetCollectionName() string

func (*HDeleteByIDParam) GetIdArray added in v0.4.0

func (m *HDeleteByIDParam) GetIdArray() []int64

func (*HDeleteByIDParam) ProtoMessage added in v0.4.0

func (*HDeleteByIDParam) ProtoMessage()

func (*HDeleteByIDParam) Reset added in v0.4.0

func (m *HDeleteByIDParam) Reset()

func (*HDeleteByIDParam) String added in v0.4.0

func (m *HDeleteByIDParam) String() string

func (*HDeleteByIDParam) XXX_DiscardUnknown added in v0.4.0

func (m *HDeleteByIDParam) XXX_DiscardUnknown()

func (*HDeleteByIDParam) XXX_Marshal added in v0.4.0

func (m *HDeleteByIDParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HDeleteByIDParam) XXX_Merge added in v0.4.0

func (m *HDeleteByIDParam) XXX_Merge(src proto.Message)

func (*HDeleteByIDParam) XXX_Size added in v0.4.0

func (m *HDeleteByIDParam) XXX_Size() int

func (*HDeleteByIDParam) XXX_Unmarshal added in v0.4.0

func (m *HDeleteByIDParam) XXX_Unmarshal(b []byte) error

type HEntity added in v0.4.0

type HEntity struct {
	Status               *Status       `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	EntityId             int64         `protobuf:"varint,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	FieldNames           []string      `protobuf:"bytes,3,rep,name=field_names,json=fieldNames,proto3" json:"field_names,omitempty"`
	AttrRecords          []byte        `protobuf:"bytes,4,opt,name=attr_records,json=attrRecords,proto3" json:"attr_records,omitempty"`
	RowNum               int64         `protobuf:"varint,5,opt,name=row_num,json=rowNum,proto3" json:"row_num,omitempty"`
	ResultValues         []*FieldValue `protobuf:"bytes,6,rep,name=result_values,json=resultValues,proto3" json:"result_values,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*HEntity) Descriptor added in v0.4.0

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

func (*HEntity) GetAttrRecords added in v0.4.0

func (m *HEntity) GetAttrRecords() []byte

func (*HEntity) GetEntityId added in v0.4.0

func (m *HEntity) GetEntityId() int64

func (*HEntity) GetFieldNames added in v0.4.0

func (m *HEntity) GetFieldNames() []string

func (*HEntity) GetResultValues added in v0.4.0

func (m *HEntity) GetResultValues() []*FieldValue

func (*HEntity) GetRowNum added in v0.4.0

func (m *HEntity) GetRowNum() int64

func (*HEntity) GetStatus added in v0.4.0

func (m *HEntity) GetStatus() *Status

func (*HEntity) ProtoMessage added in v0.4.0

func (*HEntity) ProtoMessage()

func (*HEntity) Reset added in v0.4.0

func (m *HEntity) Reset()

func (*HEntity) String added in v0.4.0

func (m *HEntity) String() string

func (*HEntity) XXX_DiscardUnknown added in v0.4.0

func (m *HEntity) XXX_DiscardUnknown()

func (*HEntity) XXX_Marshal added in v0.4.0

func (m *HEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HEntity) XXX_Merge added in v0.4.0

func (m *HEntity) XXX_Merge(src proto.Message)

func (*HEntity) XXX_Size added in v0.4.0

func (m *HEntity) XXX_Size() int

func (*HEntity) XXX_Unmarshal added in v0.4.0

func (m *HEntity) XXX_Unmarshal(b []byte) error

type HEntityIDs added in v0.4.0

type HEntityIDs struct {
	Status               *Status  `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	EntityIdArray        []int64  `protobuf:"varint,2,rep,packed,name=entity_id_array,json=entityIdArray,proto3" json:"entity_id_array,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HEntityIDs) Descriptor added in v0.4.0

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

func (*HEntityIDs) GetEntityIdArray added in v0.4.0

func (m *HEntityIDs) GetEntityIdArray() []int64

func (*HEntityIDs) GetStatus added in v0.4.0

func (m *HEntityIDs) GetStatus() *Status

func (*HEntityIDs) ProtoMessage added in v0.4.0

func (*HEntityIDs) ProtoMessage()

func (*HEntityIDs) Reset added in v0.4.0

func (m *HEntityIDs) Reset()

func (*HEntityIDs) String added in v0.4.0

func (m *HEntityIDs) String() string

func (*HEntityIDs) XXX_DiscardUnknown added in v0.4.0

func (m *HEntityIDs) XXX_DiscardUnknown()

func (*HEntityIDs) XXX_Marshal added in v0.4.0

func (m *HEntityIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HEntityIDs) XXX_Merge added in v0.4.0

func (m *HEntityIDs) XXX_Merge(src proto.Message)

func (*HEntityIDs) XXX_Size added in v0.4.0

func (m *HEntityIDs) XXX_Size() int

func (*HEntityIDs) XXX_Unmarshal added in v0.4.0

func (m *HEntityIDs) XXX_Unmarshal(b []byte) error

type HEntityIdentity added in v0.4.0

type HEntityIdentity struct {
	CollectionName       string   `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	Id                   int64    `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HEntityIdentity) Descriptor added in v0.4.0

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

func (*HEntityIdentity) GetCollectionName added in v0.4.0

func (m *HEntityIdentity) GetCollectionName() string

func (*HEntityIdentity) GetId added in v0.4.0

func (m *HEntityIdentity) GetId() int64

func (*HEntityIdentity) ProtoMessage added in v0.4.0

func (*HEntityIdentity) ProtoMessage()

func (*HEntityIdentity) Reset added in v0.4.0

func (m *HEntityIdentity) Reset()

func (*HEntityIdentity) String added in v0.4.0

func (m *HEntityIdentity) String() string

func (*HEntityIdentity) XXX_DiscardUnknown added in v0.4.0

func (m *HEntityIdentity) XXX_DiscardUnknown()

func (*HEntityIdentity) XXX_Marshal added in v0.4.0

func (m *HEntityIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HEntityIdentity) XXX_Merge added in v0.4.0

func (m *HEntityIdentity) XXX_Merge(src proto.Message)

func (*HEntityIdentity) XXX_Size added in v0.4.0

func (m *HEntityIdentity) XXX_Size() int

func (*HEntityIdentity) XXX_Unmarshal added in v0.4.0

func (m *HEntityIdentity) XXX_Unmarshal(b []byte) error

type HGetEntityIDsParam added in v0.4.0

type HGetEntityIDsParam struct {
	CollectionName       string   `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	SegmentName          string   `protobuf:"bytes,2,opt,name=segment_name,json=segmentName,proto3" json:"segment_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HGetEntityIDsParam) Descriptor added in v0.4.0

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

func (*HGetEntityIDsParam) GetCollectionName added in v0.4.0

func (m *HGetEntityIDsParam) GetCollectionName() string

func (*HGetEntityIDsParam) GetSegmentName added in v0.4.0

func (m *HGetEntityIDsParam) GetSegmentName() string

func (*HGetEntityIDsParam) ProtoMessage added in v0.4.0

func (*HGetEntityIDsParam) ProtoMessage()

func (*HGetEntityIDsParam) Reset added in v0.4.0

func (m *HGetEntityIDsParam) Reset()

func (*HGetEntityIDsParam) String added in v0.4.0

func (m *HGetEntityIDsParam) String() string

func (*HGetEntityIDsParam) XXX_DiscardUnknown added in v0.4.0

func (m *HGetEntityIDsParam) XXX_DiscardUnknown()

func (*HGetEntityIDsParam) XXX_Marshal added in v0.4.0

func (m *HGetEntityIDsParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HGetEntityIDsParam) XXX_Merge added in v0.4.0

func (m *HGetEntityIDsParam) XXX_Merge(src proto.Message)

func (*HGetEntityIDsParam) XXX_Size added in v0.4.0

func (m *HGetEntityIDsParam) XXX_Size() int

func (*HGetEntityIDsParam) XXX_Unmarshal added in v0.4.0

func (m *HGetEntityIDsParam) XXX_Unmarshal(b []byte) error

type HIndexParam added in v0.4.0

type HIndexParam struct {
	Status               *Status         `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	CollectionName       string          `protobuf:"bytes,2,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	IndexType            int32           `protobuf:"varint,3,opt,name=index_type,json=indexType,proto3" json:"index_type,omitempty"`
	ExtraParams          []*KeyValuePair `protobuf:"bytes,4,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*HIndexParam) Descriptor added in v0.4.0

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

func (*HIndexParam) GetCollectionName added in v0.4.0

func (m *HIndexParam) GetCollectionName() string

func (*HIndexParam) GetExtraParams added in v0.4.0

func (m *HIndexParam) GetExtraParams() []*KeyValuePair

func (*HIndexParam) GetIndexType added in v0.4.0

func (m *HIndexParam) GetIndexType() int32

func (*HIndexParam) GetStatus added in v0.4.0

func (m *HIndexParam) GetStatus() *Status

func (*HIndexParam) ProtoMessage added in v0.4.0

func (*HIndexParam) ProtoMessage()

func (*HIndexParam) Reset added in v0.4.0

func (m *HIndexParam) Reset()

func (*HIndexParam) String added in v0.4.0

func (m *HIndexParam) String() string

func (*HIndexParam) XXX_DiscardUnknown added in v0.4.0

func (m *HIndexParam) XXX_DiscardUnknown()

func (*HIndexParam) XXX_Marshal added in v0.4.0

func (m *HIndexParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HIndexParam) XXX_Merge added in v0.4.0

func (m *HIndexParam) XXX_Merge(src proto.Message)

func (*HIndexParam) XXX_Size added in v0.4.0

func (m *HIndexParam) XXX_Size() int

func (*HIndexParam) XXX_Unmarshal added in v0.4.0

func (m *HIndexParam) XXX_Unmarshal(b []byte) error

type HInsertParam added in v0.4.0

type HInsertParam struct {
	CollectionName       string          `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	PartitionTag         string          `protobuf:"bytes,2,opt,name=partition_tag,json=partitionTag,proto3" json:"partition_tag,omitempty"`
	Entities             *HEntity        `protobuf:"bytes,3,opt,name=entities,proto3" json:"entities,omitempty"`
	EntityIdArray        []int64         `protobuf:"varint,4,rep,packed,name=entity_id_array,json=entityIdArray,proto3" json:"entity_id_array,omitempty"`
	ExtraParams          []*KeyValuePair `protobuf:"bytes,5,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*HInsertParam) Descriptor added in v0.4.0

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

func (*HInsertParam) GetCollectionName added in v0.4.0

func (m *HInsertParam) GetCollectionName() string

func (*HInsertParam) GetEntities added in v0.4.0

func (m *HInsertParam) GetEntities() *HEntity

func (*HInsertParam) GetEntityIdArray added in v0.4.0

func (m *HInsertParam) GetEntityIdArray() []int64

func (*HInsertParam) GetExtraParams added in v0.4.0

func (m *HInsertParam) GetExtraParams() []*KeyValuePair

func (*HInsertParam) GetPartitionTag added in v0.4.0

func (m *HInsertParam) GetPartitionTag() string

func (*HInsertParam) ProtoMessage added in v0.4.0

func (*HInsertParam) ProtoMessage()

func (*HInsertParam) Reset added in v0.4.0

func (m *HInsertParam) Reset()

func (*HInsertParam) String added in v0.4.0

func (m *HInsertParam) String() string

func (*HInsertParam) XXX_DiscardUnknown added in v0.4.0

func (m *HInsertParam) XXX_DiscardUnknown()

func (*HInsertParam) XXX_Marshal added in v0.4.0

func (m *HInsertParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HInsertParam) XXX_Merge added in v0.4.0

func (m *HInsertParam) XXX_Merge(src proto.Message)

func (*HInsertParam) XXX_Size added in v0.4.0

func (m *HInsertParam) XXX_Size() int

func (*HInsertParam) XXX_Unmarshal added in v0.4.0

func (m *HInsertParam) XXX_Unmarshal(b []byte) error

type HQueryResult added in v0.4.0

type HQueryResult struct {
	Status               *Status    `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Entities             []*HEntity `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
	RowNum               int64      `protobuf:"varint,3,opt,name=row_num,json=rowNum,proto3" json:"row_num,omitempty"`
	Score                []float32  `protobuf:"fixed32,4,rep,packed,name=score,proto3" json:"score,omitempty"`
	Distance             []float32  `protobuf:"fixed32,5,rep,packed,name=distance,proto3" json:"distance,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*HQueryResult) Descriptor added in v0.4.0

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

func (*HQueryResult) GetDistance added in v0.4.0

func (m *HQueryResult) GetDistance() []float32

func (*HQueryResult) GetEntities added in v0.4.0

func (m *HQueryResult) GetEntities() []*HEntity

func (*HQueryResult) GetRowNum added in v0.4.0

func (m *HQueryResult) GetRowNum() int64

func (*HQueryResult) GetScore added in v0.4.0

func (m *HQueryResult) GetScore() []float32

func (*HQueryResult) GetStatus added in v0.4.0

func (m *HQueryResult) GetStatus() *Status

func (*HQueryResult) ProtoMessage added in v0.4.0

func (*HQueryResult) ProtoMessage()

func (*HQueryResult) Reset added in v0.4.0

func (m *HQueryResult) Reset()

func (*HQueryResult) String added in v0.4.0

func (m *HQueryResult) String() string

func (*HQueryResult) XXX_DiscardUnknown added in v0.4.0

func (m *HQueryResult) XXX_DiscardUnknown()

func (*HQueryResult) XXX_Marshal added in v0.4.0

func (m *HQueryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HQueryResult) XXX_Merge added in v0.4.0

func (m *HQueryResult) XXX_Merge(src proto.Message)

func (*HQueryResult) XXX_Size added in v0.4.0

func (m *HQueryResult) XXX_Size() int

func (*HQueryResult) XXX_Unmarshal added in v0.4.0

func (m *HQueryResult) XXX_Unmarshal(b []byte) error

type HSearchInSegmentsParam added in v0.4.0

type HSearchInSegmentsParam struct {
	SegmentIdArray       []string      `protobuf:"bytes,1,rep,name=segment_id_array,json=segmentIdArray,proto3" json:"segment_id_array,omitempty"`
	SearchParam          *HSearchParam `protobuf:"bytes,2,opt,name=search_param,json=searchParam,proto3" json:"search_param,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*HSearchInSegmentsParam) Descriptor added in v0.4.0

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

func (*HSearchInSegmentsParam) GetSearchParam added in v0.4.0

func (m *HSearchInSegmentsParam) GetSearchParam() *HSearchParam

func (*HSearchInSegmentsParam) GetSegmentIdArray added in v0.4.0

func (m *HSearchInSegmentsParam) GetSegmentIdArray() []string

func (*HSearchInSegmentsParam) ProtoMessage added in v0.4.0

func (*HSearchInSegmentsParam) ProtoMessage()

func (*HSearchInSegmentsParam) Reset added in v0.4.0

func (m *HSearchInSegmentsParam) Reset()

func (*HSearchInSegmentsParam) String added in v0.4.0

func (m *HSearchInSegmentsParam) String() string

func (*HSearchInSegmentsParam) XXX_DiscardUnknown added in v0.4.0

func (m *HSearchInSegmentsParam) XXX_DiscardUnknown()

func (*HSearchInSegmentsParam) XXX_Marshal added in v0.4.0

func (m *HSearchInSegmentsParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HSearchInSegmentsParam) XXX_Merge added in v0.4.0

func (m *HSearchInSegmentsParam) XXX_Merge(src proto.Message)

func (*HSearchInSegmentsParam) XXX_Size added in v0.4.0

func (m *HSearchInSegmentsParam) XXX_Size() int

func (*HSearchInSegmentsParam) XXX_Unmarshal added in v0.4.0

func (m *HSearchInSegmentsParam) XXX_Unmarshal(b []byte) error

type HSearchParam added in v0.4.0

type HSearchParam struct {
	CollectionName       string          `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	PartitionTagArray    []string        `protobuf:"bytes,2,rep,name=partition_tag_array,json=partitionTagArray,proto3" json:"partition_tag_array,omitempty"`
	GeneralQuery         *GeneralQuery   `protobuf:"bytes,3,opt,name=general_query,json=generalQuery,proto3" json:"general_query,omitempty"`
	ExtraParams          []*KeyValuePair `protobuf:"bytes,4,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*HSearchParam) Descriptor added in v0.4.0

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

func (*HSearchParam) GetCollectionName added in v0.4.0

func (m *HSearchParam) GetCollectionName() string

func (*HSearchParam) GetExtraParams added in v0.4.0

func (m *HSearchParam) GetExtraParams() []*KeyValuePair

func (*HSearchParam) GetGeneralQuery added in v0.4.0

func (m *HSearchParam) GetGeneralQuery() *GeneralQuery

func (*HSearchParam) GetPartitionTagArray added in v0.4.0

func (m *HSearchParam) GetPartitionTagArray() []string

func (*HSearchParam) ProtoMessage added in v0.4.0

func (*HSearchParam) ProtoMessage()

func (*HSearchParam) Reset added in v0.4.0

func (m *HSearchParam) Reset()

func (*HSearchParam) String added in v0.4.0

func (m *HSearchParam) String() string

func (*HSearchParam) XXX_DiscardUnknown added in v0.4.0

func (m *HSearchParam) XXX_DiscardUnknown()

func (*HSearchParam) XXX_Marshal added in v0.4.0

func (m *HSearchParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HSearchParam) XXX_Merge added in v0.4.0

func (m *HSearchParam) XXX_Merge(src proto.Message)

func (*HSearchParam) XXX_Size added in v0.4.0

func (m *HSearchParam) XXX_Size() int

func (*HSearchParam) XXX_Unmarshal added in v0.4.0

func (m *HSearchParam) XXX_Unmarshal(b []byte) error

type IndexParam

type IndexParam struct {
	Status               *Status         `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	CollectionName       string          `protobuf:"bytes,2,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	IndexType            int32           `protobuf:"varint,3,opt,name=index_type,json=indexType,proto3" json:"index_type,omitempty"`
	ExtraParams          []*KeyValuePair `protobuf:"bytes,4,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

* @brief Index params @index_type: 0-invalid, 1-idmap, 2-ivflat, 3-ivfsq8, 4-nsgmix

func (*IndexParam) Descriptor

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

func (*IndexParam) GetCollectionName added in v0.3.0

func (m *IndexParam) GetCollectionName() string

func (*IndexParam) GetExtraParams

func (m *IndexParam) GetExtraParams() []*KeyValuePair

func (*IndexParam) GetIndexType

func (m *IndexParam) GetIndexType() int32

func (*IndexParam) GetStatus

func (m *IndexParam) GetStatus() *Status

func (*IndexParam) ProtoMessage

func (*IndexParam) ProtoMessage()

func (*IndexParam) Reset

func (m *IndexParam) Reset()

func (*IndexParam) String

func (m *IndexParam) String() string

func (*IndexParam) XXX_DiscardUnknown

func (m *IndexParam) XXX_DiscardUnknown()

func (*IndexParam) XXX_Marshal

func (m *IndexParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IndexParam) XXX_Merge

func (m *IndexParam) XXX_Merge(src proto.Message)

func (*IndexParam) XXX_Size

func (m *IndexParam) XXX_Size() int

func (*IndexParam) XXX_Unmarshal

func (m *IndexParam) XXX_Unmarshal(b []byte) error

type InsertParam

type InsertParam struct {
	CollectionName       string          `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	RowRecordArray       []*RowRecord    `protobuf:"bytes,2,rep,name=row_record_array,json=rowRecordArray,proto3" json:"row_record_array,omitempty"`
	RowIdArray           []int64         `protobuf:"varint,3,rep,packed,name=row_id_array,json=rowIdArray,proto3" json:"row_id_array,omitempty"`
	PartitionTag         string          `protobuf:"bytes,4,opt,name=partition_tag,json=partitionTag,proto3" json:"partition_tag,omitempty"`
	ExtraParams          []*KeyValuePair `protobuf:"bytes,5,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

* @brief Params to be inserted

func (*InsertParam) Descriptor

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

func (*InsertParam) GetCollectionName added in v0.3.0

func (m *InsertParam) GetCollectionName() string

func (*InsertParam) GetExtraParams

func (m *InsertParam) GetExtraParams() []*KeyValuePair

func (*InsertParam) GetPartitionTag

func (m *InsertParam) GetPartitionTag() string

func (*InsertParam) GetRowIdArray

func (m *InsertParam) GetRowIdArray() []int64

func (*InsertParam) GetRowRecordArray

func (m *InsertParam) GetRowRecordArray() []*RowRecord

func (*InsertParam) ProtoMessage

func (*InsertParam) ProtoMessage()

func (*InsertParam) Reset

func (m *InsertParam) Reset()

func (*InsertParam) String

func (m *InsertParam) String() string

func (*InsertParam) XXX_DiscardUnknown

func (m *InsertParam) XXX_DiscardUnknown()

func (*InsertParam) XXX_Marshal

func (m *InsertParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InsertParam) XXX_Merge

func (m *InsertParam) XXX_Merge(src proto.Message)

func (*InsertParam) XXX_Size

func (m *InsertParam) XXX_Size() int

func (*InsertParam) XXX_Unmarshal

func (m *InsertParam) XXX_Unmarshal(b []byte) error

type KeyValuePair

type KeyValuePair struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* @brief general usage

func (*KeyValuePair) Descriptor

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

func (*KeyValuePair) GetKey

func (m *KeyValuePair) GetKey() string

func (*KeyValuePair) GetValue

func (m *KeyValuePair) GetValue() string

func (*KeyValuePair) ProtoMessage

func (*KeyValuePair) ProtoMessage()

func (*KeyValuePair) Reset

func (m *KeyValuePair) Reset()

func (*KeyValuePair) String

func (m *KeyValuePair) String() string

func (*KeyValuePair) XXX_DiscardUnknown

func (m *KeyValuePair) XXX_DiscardUnknown()

func (*KeyValuePair) XXX_Marshal

func (m *KeyValuePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyValuePair) XXX_Merge

func (m *KeyValuePair) XXX_Merge(src proto.Message)

func (*KeyValuePair) XXX_Size

func (m *KeyValuePair) XXX_Size() int

func (*KeyValuePair) XXX_Unmarshal

func (m *KeyValuePair) XXX_Unmarshal(b []byte) error

type Mapping added in v0.4.0

type Mapping struct {
	Status               *Status       `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	CollectionId         uint64        `protobuf:"varint,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
	CollectionName       string        `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	Fields               []*FieldParam `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Mapping) Descriptor added in v0.4.0

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

func (*Mapping) GetCollectionId added in v0.4.0

func (m *Mapping) GetCollectionId() uint64

func (*Mapping) GetCollectionName added in v0.4.0

func (m *Mapping) GetCollectionName() string

func (*Mapping) GetFields added in v0.4.0

func (m *Mapping) GetFields() []*FieldParam

func (*Mapping) GetStatus added in v0.4.0

func (m *Mapping) GetStatus() *Status

func (*Mapping) ProtoMessage added in v0.4.0

func (*Mapping) ProtoMessage()

func (*Mapping) Reset added in v0.4.0

func (m *Mapping) Reset()

func (*Mapping) String added in v0.4.0

func (m *Mapping) String() string

func (*Mapping) XXX_DiscardUnknown added in v0.4.0

func (m *Mapping) XXX_DiscardUnknown()

func (*Mapping) XXX_Marshal added in v0.4.0

func (m *Mapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Mapping) XXX_Merge added in v0.4.0

func (m *Mapping) XXX_Merge(src proto.Message)

func (*Mapping) XXX_Size added in v0.4.0

func (m *Mapping) XXX_Size() int

func (*Mapping) XXX_Unmarshal added in v0.4.0

func (m *Mapping) XXX_Unmarshal(b []byte) error

type MappingList added in v0.4.0

type MappingList struct {
	Status               *Status    `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	MappingList          []*Mapping `protobuf:"bytes,2,rep,name=mapping_list,json=mappingList,proto3" json:"mapping_list,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*MappingList) Descriptor added in v0.4.0

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

func (*MappingList) GetMappingList added in v0.4.0

func (m *MappingList) GetMappingList() []*Mapping

func (*MappingList) GetStatus added in v0.4.0

func (m *MappingList) GetStatus() *Status

func (*MappingList) ProtoMessage added in v0.4.0

func (*MappingList) ProtoMessage()

func (*MappingList) Reset added in v0.4.0

func (m *MappingList) Reset()

func (*MappingList) String added in v0.4.0

func (m *MappingList) String() string

func (*MappingList) XXX_DiscardUnknown added in v0.4.0

func (m *MappingList) XXX_DiscardUnknown()

func (*MappingList) XXX_Marshal added in v0.4.0

func (m *MappingList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MappingList) XXX_Merge added in v0.4.0

func (m *MappingList) XXX_Merge(src proto.Message)

func (*MappingList) XXX_Size added in v0.4.0

func (m *MappingList) XXX_Size() int

func (*MappingList) XXX_Unmarshal added in v0.4.0

func (m *MappingList) XXX_Unmarshal(b []byte) error

type MilvusServiceClient

type MilvusServiceClient interface {
	//*
	// @brief This method is used to create collection
	//
	// @param CollectionSchema, use to provide collection information to be created.
	//
	// @return Status
	CreateCollection(ctx context.Context, in *CollectionSchema, opts ...grpc.CallOption) (*Status, error)
	//*
	// @brief This method is used to test collection existence.
	//
	// @param CollectionName, collection name is going to be tested.
	//
	// @return BoolReply
	HasCollection(ctx context.Context, in *CollectionName, opts ...grpc.CallOption) (*BoolReply, error)
	//*
	// @brief This method is used to get collection schema.
	//
	// @param CollectionName, target collection name.
	//
	// @return CollectionSchema
	DescribeCollection(ctx context.Context, in *CollectionName, opts ...grpc.CallOption) (*CollectionSchema, error)
	//*
	// @brief This method is used to get collection schema.
	//
	// @param CollectionName, target collection name.
	//
	// @return CollectionRowCount
	CountCollection(ctx context.Context, in *CollectionName, opts ...grpc.CallOption) (*CollectionRowCount, error)
	//*
	// @brief This method is used to list all collections.
	//
	// @param Command, dummy parameter.
	//
	// @return CollectionNameList
	ShowCollections(ctx context.Context, in *Command, opts ...grpc.CallOption) (*CollectionNameList, error)
	//*
	// @brief This method is used to get collection detail information.
	//
	// @param CollectionName, target collection name.
	//
	// @return CollectionInfo
	ShowCollectionInfo(ctx context.Context, in *CollectionName, opts ...grpc.CallOption) (*CollectionInfo, error)
	//*
	// @brief This method is used to delete collection.
	//
	// @param CollectionName, collection name is going to be deleted.
	//
	// @return CollectionNameList
	DropCollection(ctx context.Context, in *CollectionName, opts ...grpc.CallOption) (*Status, error)
	//*
	// @brief This method is used to build index by collection in sync mode.
	//
	// @param IndexParam, index paramters.
	//
	// @return Status
	CreateIndex(ctx context.Context, in *IndexParam, opts ...grpc.CallOption) (*Status, error)
	//*
	// @brief This method is used to describe index
	//
	// @param CollectionName, target collection name.
	//
	// @return IndexParam
	DescribeIndex(ctx context.Context, in *CollectionName, opts ...grpc.CallOption) (*IndexParam, error)
	//*
	// @brief This method is used to drop index
	//
	// @param CollectionName, target collection name.
	//
	// @return Status
	DropIndex(ctx context.Context, in *CollectionName, opts ...grpc.CallOption) (*Status, error)
	//*
	// @brief This method is used to create partition
	//
	// @param PartitionParam, partition parameters.
	//
	// @return Status
	CreatePartition(ctx context.Context, in *PartitionParam, opts ...grpc.CallOption) (*Status, error)
	//*
	// @brief This method is used to test partition existence.
	//
	// @param PartitionParam, target partition.
	//
	// @return BoolReply
	HasPartition(ctx context.Context, in *PartitionParam, opts ...grpc.CallOption) (*BoolReply, error)
	//*
	// @brief This method is used to show partition information
	//
	// @param CollectionName, target collection name.
	//
	// @return PartitionList
	ShowPartitions(ctx context.Context, in *CollectionName, opts ...grpc.CallOption) (*PartitionList, error)
	//*
	// @brief This method is used to drop partition
	//
	// @param PartitionParam, target partition.
	//
	// @return Status
	DropPartition(ctx context.Context, in *PartitionParam, opts ...grpc.CallOption) (*Status, error)
	//*
	// @brief This method is used to add vector array to collection.
	//
	// @param InsertParam, insert parameters.
	//
	// @return VectorIds
	Insert(ctx context.Context, in *InsertParam, opts ...grpc.CallOption) (*VectorIds, error)
	//*
	// @brief This method is used to get vectors data by id array.
	//
	// @param VectorsIdentity, target vector id array.
	//
	// @return VectorsData
	GetVectorsByID(ctx context.Context, in *VectorsIdentity, opts ...grpc.CallOption) (*VectorsData, error)
	//*
	// @brief This method is used to get vector ids from a segment
	//
	// @param GetVectorIDsParam, target collection and segment
	//
	// @return VectorIds
	GetVectorIDs(ctx context.Context, in *GetVectorIDsParam, opts ...grpc.CallOption) (*VectorIds, error)
	//*
	// @brief This method is used to query vector in collection.
	//
	// @param SearchParam, search parameters.
	//
	// @return TopKQueryResult
	Search(ctx context.Context, in *SearchParam, opts ...grpc.CallOption) (*TopKQueryResult, error)
	//*
	// @brief This method is used to query vector by id.
	//
	// @param SearchByIDParam, search parameters.
	//
	// @return TopKQueryResult
	SearchByID(ctx context.Context, in *SearchByIDParam, opts ...grpc.CallOption) (*TopKQueryResult, error)
	//*
	// @brief This method is used to query vector in specified files.
	//
	// @param SearchInFilesParam, search in files paremeters.
	//
	// @return TopKQueryResult
	SearchInFiles(ctx context.Context, in *SearchInFilesParam, opts ...grpc.CallOption) (*TopKQueryResult, error)
	//*
	// @brief This method is used to give the server status.
	//
	// @param Command, command string
	//
	// @return StringReply
	Cmd(ctx context.Context, in *Command, opts ...grpc.CallOption) (*StringReply, error)
	//*
	// @brief This method is used to delete vector by id
	//
	// @param DeleteByIDParam, delete parameters.
	//
	// @return status
	DeleteByID(ctx context.Context, in *DeleteByIDParam, opts ...grpc.CallOption) (*Status, error)
	//*
	// @brief This method is used to preload collection
	//
	// @param CollectionName, target collection name.
	//
	// @return Status
	PreloadCollection(ctx context.Context, in *CollectionName, opts ...grpc.CallOption) (*Status, error)
	//*
	// @brief This method is used to flush buffer into storage.
	//
	// @param FlushParam, flush parameters
	//
	// @return Status
	Flush(ctx context.Context, in *FlushParam, opts ...grpc.CallOption) (*Status, error)
	//*
	// @brief This method is used to compact collection
	//
	// @param CollectionName, target collection name.
	//
	// @return Status
	Compact(ctx context.Context, in *CollectionName, opts ...grpc.CallOption) (*Status, error)
	CreateHybridCollection(ctx context.Context, in *Mapping, opts ...grpc.CallOption) (*Status, error)
	HasHybridCollection(ctx context.Context, in *CollectionName, opts ...grpc.CallOption) (*BoolReply, error)
	DropHybridCollection(ctx context.Context, in *CollectionName, opts ...grpc.CallOption) (*Status, error)
	DescribeHybridCollection(ctx context.Context, in *CollectionName, opts ...grpc.CallOption) (*Mapping, error)
	CountHybridCollection(ctx context.Context, in *CollectionName, opts ...grpc.CallOption) (*CollectionRowCount, error)
	ShowHybridCollections(ctx context.Context, in *Command, opts ...grpc.CallOption) (*MappingList, error)
	ShowHybridCollectionInfo(ctx context.Context, in *CollectionName, opts ...grpc.CallOption) (*CollectionInfo, error)
	PreloadHybridCollection(ctx context.Context, in *CollectionName, opts ...grpc.CallOption) (*Status, error)
	InsertEntity(ctx context.Context, in *HInsertParam, opts ...grpc.CallOption) (*HEntityIDs, error)
	// TODO(yukun): will change to HQueryResult
	HybridSearch(ctx context.Context, in *HSearchParam, opts ...grpc.CallOption) (*TopKQueryResult, error)
	HybridSearchInSegments(ctx context.Context, in *HSearchInSegmentsParam, opts ...grpc.CallOption) (*TopKQueryResult, error)
	GetEntityByID(ctx context.Context, in *HEntityIdentity, opts ...grpc.CallOption) (*HEntity, error)
	GetEntityIDs(ctx context.Context, in *HGetEntityIDsParam, opts ...grpc.CallOption) (*HEntityIDs, error)
	DeleteEntitiesByID(ctx context.Context, in *HDeleteByIDParam, opts ...grpc.CallOption) (*Status, error)
}

MilvusServiceClient is the client API for MilvusService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMilvusServiceClient

func NewMilvusServiceClient(cc *grpc.ClientConn) MilvusServiceClient

type MilvusServiceServer

type MilvusServiceServer interface {
	//*
	// @brief This method is used to create collection
	//
	// @param CollectionSchema, use to provide collection information to be created.
	//
	// @return Status
	CreateCollection(context.Context, *CollectionSchema) (*Status, error)
	//*
	// @brief This method is used to test collection existence.
	//
	// @param CollectionName, collection name is going to be tested.
	//
	// @return BoolReply
	HasCollection(context.Context, *CollectionName) (*BoolReply, error)
	//*
	// @brief This method is used to get collection schema.
	//
	// @param CollectionName, target collection name.
	//
	// @return CollectionSchema
	DescribeCollection(context.Context, *CollectionName) (*CollectionSchema, error)
	//*
	// @brief This method is used to get collection schema.
	//
	// @param CollectionName, target collection name.
	//
	// @return CollectionRowCount
	CountCollection(context.Context, *CollectionName) (*CollectionRowCount, error)
	//*
	// @brief This method is used to list all collections.
	//
	// @param Command, dummy parameter.
	//
	// @return CollectionNameList
	ShowCollections(context.Context, *Command) (*CollectionNameList, error)
	//*
	// @brief This method is used to get collection detail information.
	//
	// @param CollectionName, target collection name.
	//
	// @return CollectionInfo
	ShowCollectionInfo(context.Context, *CollectionName) (*CollectionInfo, error)
	//*
	// @brief This method is used to delete collection.
	//
	// @param CollectionName, collection name is going to be deleted.
	//
	// @return CollectionNameList
	DropCollection(context.Context, *CollectionName) (*Status, error)
	//*
	// @brief This method is used to build index by collection in sync mode.
	//
	// @param IndexParam, index paramters.
	//
	// @return Status
	CreateIndex(context.Context, *IndexParam) (*Status, error)
	//*
	// @brief This method is used to describe index
	//
	// @param CollectionName, target collection name.
	//
	// @return IndexParam
	DescribeIndex(context.Context, *CollectionName) (*IndexParam, error)
	//*
	// @brief This method is used to drop index
	//
	// @param CollectionName, target collection name.
	//
	// @return Status
	DropIndex(context.Context, *CollectionName) (*Status, error)
	//*
	// @brief This method is used to create partition
	//
	// @param PartitionParam, partition parameters.
	//
	// @return Status
	CreatePartition(context.Context, *PartitionParam) (*Status, error)
	//*
	// @brief This method is used to test partition existence.
	//
	// @param PartitionParam, target partition.
	//
	// @return BoolReply
	HasPartition(context.Context, *PartitionParam) (*BoolReply, error)
	//*
	// @brief This method is used to show partition information
	//
	// @param CollectionName, target collection name.
	//
	// @return PartitionList
	ShowPartitions(context.Context, *CollectionName) (*PartitionList, error)
	//*
	// @brief This method is used to drop partition
	//
	// @param PartitionParam, target partition.
	//
	// @return Status
	DropPartition(context.Context, *PartitionParam) (*Status, error)
	//*
	// @brief This method is used to add vector array to collection.
	//
	// @param InsertParam, insert parameters.
	//
	// @return VectorIds
	Insert(context.Context, *InsertParam) (*VectorIds, error)
	//*
	// @brief This method is used to get vectors data by id array.
	//
	// @param VectorsIdentity, target vector id array.
	//
	// @return VectorsData
	GetVectorsByID(context.Context, *VectorsIdentity) (*VectorsData, error)
	//*
	// @brief This method is used to get vector ids from a segment
	//
	// @param GetVectorIDsParam, target collection and segment
	//
	// @return VectorIds
	GetVectorIDs(context.Context, *GetVectorIDsParam) (*VectorIds, error)
	//*
	// @brief This method is used to query vector in collection.
	//
	// @param SearchParam, search parameters.
	//
	// @return TopKQueryResult
	Search(context.Context, *SearchParam) (*TopKQueryResult, error)
	//*
	// @brief This method is used to query vector by id.
	//
	// @param SearchByIDParam, search parameters.
	//
	// @return TopKQueryResult
	SearchByID(context.Context, *SearchByIDParam) (*TopKQueryResult, error)
	//*
	// @brief This method is used to query vector in specified files.
	//
	// @param SearchInFilesParam, search in files paremeters.
	//
	// @return TopKQueryResult
	SearchInFiles(context.Context, *SearchInFilesParam) (*TopKQueryResult, error)
	//*
	// @brief This method is used to give the server status.
	//
	// @param Command, command string
	//
	// @return StringReply
	Cmd(context.Context, *Command) (*StringReply, error)
	//*
	// @brief This method is used to delete vector by id
	//
	// @param DeleteByIDParam, delete parameters.
	//
	// @return status
	DeleteByID(context.Context, *DeleteByIDParam) (*Status, error)
	//*
	// @brief This method is used to preload collection
	//
	// @param CollectionName, target collection name.
	//
	// @return Status
	PreloadCollection(context.Context, *CollectionName) (*Status, error)
	//*
	// @brief This method is used to flush buffer into storage.
	//
	// @param FlushParam, flush parameters
	//
	// @return Status
	Flush(context.Context, *FlushParam) (*Status, error)
	//*
	// @brief This method is used to compact collection
	//
	// @param CollectionName, target collection name.
	//
	// @return Status
	Compact(context.Context, *CollectionName) (*Status, error)
	CreateHybridCollection(context.Context, *Mapping) (*Status, error)
	HasHybridCollection(context.Context, *CollectionName) (*BoolReply, error)
	DropHybridCollection(context.Context, *CollectionName) (*Status, error)
	DescribeHybridCollection(context.Context, *CollectionName) (*Mapping, error)
	CountHybridCollection(context.Context, *CollectionName) (*CollectionRowCount, error)
	ShowHybridCollections(context.Context, *Command) (*MappingList, error)
	ShowHybridCollectionInfo(context.Context, *CollectionName) (*CollectionInfo, error)
	PreloadHybridCollection(context.Context, *CollectionName) (*Status, error)
	InsertEntity(context.Context, *HInsertParam) (*HEntityIDs, error)
	// TODO(yukun): will change to HQueryResult
	HybridSearch(context.Context, *HSearchParam) (*TopKQueryResult, error)
	HybridSearchInSegments(context.Context, *HSearchInSegmentsParam) (*TopKQueryResult, error)
	GetEntityByID(context.Context, *HEntityIdentity) (*HEntity, error)
	GetEntityIDs(context.Context, *HGetEntityIDsParam) (*HEntityIDs, error)
	DeleteEntitiesByID(context.Context, *HDeleteByIDParam) (*Status, error)
}

MilvusServiceServer is the server API for MilvusService service.

type Occur added in v0.4.0

type Occur int32
const (
	Occur_INVALID  Occur = 0
	Occur_MUST     Occur = 1
	Occur_SHOULD   Occur = 2
	Occur_MUST_NOT Occur = 3
)

func (Occur) EnumDescriptor added in v0.4.0

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

func (Occur) String added in v0.4.0

func (x Occur) String() string

type PartitionList

type PartitionList struct {
	Status               *Status  `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	PartitionTagArray    []string `protobuf:"bytes,2,rep,name=partition_tag_array,json=partitionTagArray,proto3" json:"partition_tag_array,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* @brief Partition list

func (*PartitionList) Descriptor

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

func (*PartitionList) GetPartitionTagArray

func (m *PartitionList) GetPartitionTagArray() []string

func (*PartitionList) GetStatus

func (m *PartitionList) GetStatus() *Status

func (*PartitionList) ProtoMessage

func (*PartitionList) ProtoMessage()

func (*PartitionList) Reset

func (m *PartitionList) Reset()

func (*PartitionList) String

func (m *PartitionList) String() string

func (*PartitionList) XXX_DiscardUnknown

func (m *PartitionList) XXX_DiscardUnknown()

func (*PartitionList) XXX_Marshal

func (m *PartitionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PartitionList) XXX_Merge

func (m *PartitionList) XXX_Merge(src proto.Message)

func (*PartitionList) XXX_Size

func (m *PartitionList) XXX_Size() int

func (*PartitionList) XXX_Unmarshal

func (m *PartitionList) XXX_Unmarshal(b []byte) error

type PartitionParam

type PartitionParam struct {
	CollectionName       string   `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	Tag                  string   `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* @brief Params of partition

func (*PartitionParam) Descriptor

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

func (*PartitionParam) GetCollectionName added in v0.3.0

func (m *PartitionParam) GetCollectionName() string

func (*PartitionParam) GetTag

func (m *PartitionParam) GetTag() string

func (*PartitionParam) ProtoMessage

func (*PartitionParam) ProtoMessage()

func (*PartitionParam) Reset

func (m *PartitionParam) Reset()

func (*PartitionParam) String

func (m *PartitionParam) String() string

func (*PartitionParam) XXX_DiscardUnknown

func (m *PartitionParam) XXX_DiscardUnknown()

func (*PartitionParam) XXX_Marshal

func (m *PartitionParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PartitionParam) XXX_Merge

func (m *PartitionParam) XXX_Merge(src proto.Message)

func (*PartitionParam) XXX_Size

func (m *PartitionParam) XXX_Size() int

func (*PartitionParam) XXX_Unmarshal

func (m *PartitionParam) XXX_Unmarshal(b []byte) error

type RangeQuery added in v0.4.0

type RangeQuery struct {
	FieldName            string          `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	Operand              []*CompareExpr  `protobuf:"bytes,2,rep,name=operand,proto3" json:"operand,omitempty"`
	Boost                float32         `protobuf:"fixed32,3,opt,name=boost,proto3" json:"boost,omitempty"`
	ExtraParams          []*KeyValuePair `protobuf:"bytes,4,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*RangeQuery) Descriptor added in v0.4.0

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

func (*RangeQuery) GetBoost added in v0.4.0

func (m *RangeQuery) GetBoost() float32

func (*RangeQuery) GetExtraParams added in v0.4.0

func (m *RangeQuery) GetExtraParams() []*KeyValuePair

func (*RangeQuery) GetFieldName added in v0.4.0

func (m *RangeQuery) GetFieldName() string

func (*RangeQuery) GetOperand added in v0.4.0

func (m *RangeQuery) GetOperand() []*CompareExpr

func (*RangeQuery) ProtoMessage added in v0.4.0

func (*RangeQuery) ProtoMessage()

func (*RangeQuery) Reset added in v0.4.0

func (m *RangeQuery) Reset()

func (*RangeQuery) String added in v0.4.0

func (m *RangeQuery) String() string

func (*RangeQuery) XXX_DiscardUnknown added in v0.4.0

func (m *RangeQuery) XXX_DiscardUnknown()

func (*RangeQuery) XXX_Marshal added in v0.4.0

func (m *RangeQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RangeQuery) XXX_Merge added in v0.4.0

func (m *RangeQuery) XXX_Merge(src proto.Message)

func (*RangeQuery) XXX_Size added in v0.4.0

func (m *RangeQuery) XXX_Size() int

func (*RangeQuery) XXX_Unmarshal added in v0.4.0

func (m *RangeQuery) XXX_Unmarshal(b []byte) error

type RowRecord

type RowRecord struct {
	FloatData            []float32 `protobuf:"fixed32,1,rep,packed,name=float_data,json=floatData,proto3" json:"float_data,omitempty"`
	BinaryData           []byte    `protobuf:"bytes,2,opt,name=binary_data,json=binaryData,proto3" json:"binary_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

* @brief Record inserted

func (*RowRecord) Descriptor

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

func (*RowRecord) GetBinaryData

func (m *RowRecord) GetBinaryData() []byte

func (*RowRecord) GetFloatData

func (m *RowRecord) GetFloatData() []float32

func (*RowRecord) ProtoMessage

func (*RowRecord) ProtoMessage()

func (*RowRecord) Reset

func (m *RowRecord) Reset()

func (*RowRecord) String

func (m *RowRecord) String() string

func (*RowRecord) XXX_DiscardUnknown

func (m *RowRecord) XXX_DiscardUnknown()

func (*RowRecord) XXX_Marshal

func (m *RowRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RowRecord) XXX_Merge

func (m *RowRecord) XXX_Merge(src proto.Message)

func (*RowRecord) XXX_Size

func (m *RowRecord) XXX_Size() int

func (*RowRecord) XXX_Unmarshal

func (m *RowRecord) XXX_Unmarshal(b []byte) error

type SearchByIDParam

type SearchByIDParam struct {
	CollectionName       string          `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	PartitionTagArray    []string        `protobuf:"bytes,2,rep,name=partition_tag_array,json=partitionTagArray,proto3" json:"partition_tag_array,omitempty"`
	IdArray              []int64         `protobuf:"varint,3,rep,packed,name=id_array,json=idArray,proto3" json:"id_array,omitempty"`
	Topk                 int64           `protobuf:"varint,4,opt,name=topk,proto3" json:"topk,omitempty"`
	ExtraParams          []*KeyValuePair `protobuf:"bytes,5,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

* @brief Params for searching vector by ID

func (*SearchByIDParam) Descriptor

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

func (*SearchByIDParam) GetCollectionName added in v0.3.0

func (m *SearchByIDParam) GetCollectionName() string

func (*SearchByIDParam) GetExtraParams

func (m *SearchByIDParam) GetExtraParams() []*KeyValuePair

func (*SearchByIDParam) GetIdArray added in v0.4.0

func (m *SearchByIDParam) GetIdArray() []int64

func (*SearchByIDParam) GetPartitionTagArray

func (m *SearchByIDParam) GetPartitionTagArray() []string

func (*SearchByIDParam) GetTopk

func (m *SearchByIDParam) GetTopk() int64

func (*SearchByIDParam) ProtoMessage

func (*SearchByIDParam) ProtoMessage()

func (*SearchByIDParam) Reset

func (m *SearchByIDParam) Reset()

func (*SearchByIDParam) String

func (m *SearchByIDParam) String() string

func (*SearchByIDParam) XXX_DiscardUnknown

func (m *SearchByIDParam) XXX_DiscardUnknown()

func (*SearchByIDParam) XXX_Marshal

func (m *SearchByIDParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchByIDParam) XXX_Merge

func (m *SearchByIDParam) XXX_Merge(src proto.Message)

func (*SearchByIDParam) XXX_Size

func (m *SearchByIDParam) XXX_Size() int

func (*SearchByIDParam) XXX_Unmarshal

func (m *SearchByIDParam) XXX_Unmarshal(b []byte) error

type SearchInFilesParam

type SearchInFilesParam struct {
	FileIdArray          []string     `protobuf:"bytes,1,rep,name=file_id_array,json=fileIdArray,proto3" json:"file_id_array,omitempty"`
	SearchParam          *SearchParam `protobuf:"bytes,2,opt,name=search_param,json=searchParam,proto3" json:"search_param,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

* @brief Params for searching vector in files

func (*SearchInFilesParam) Descriptor

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

func (*SearchInFilesParam) GetFileIdArray

func (m *SearchInFilesParam) GetFileIdArray() []string

func (*SearchInFilesParam) GetSearchParam

func (m *SearchInFilesParam) GetSearchParam() *SearchParam

func (*SearchInFilesParam) ProtoMessage

func (*SearchInFilesParam) ProtoMessage()

func (*SearchInFilesParam) Reset

func (m *SearchInFilesParam) Reset()

func (*SearchInFilesParam) String

func (m *SearchInFilesParam) String() string

func (*SearchInFilesParam) XXX_DiscardUnknown

func (m *SearchInFilesParam) XXX_DiscardUnknown()

func (*SearchInFilesParam) XXX_Marshal

func (m *SearchInFilesParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchInFilesParam) XXX_Merge

func (m *SearchInFilesParam) XXX_Merge(src proto.Message)

func (*SearchInFilesParam) XXX_Size

func (m *SearchInFilesParam) XXX_Size() int

func (*SearchInFilesParam) XXX_Unmarshal

func (m *SearchInFilesParam) XXX_Unmarshal(b []byte) error

type SearchParam

type SearchParam struct {
	CollectionName       string          `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	PartitionTagArray    []string        `protobuf:"bytes,2,rep,name=partition_tag_array,json=partitionTagArray,proto3" json:"partition_tag_array,omitempty"`
	QueryRecordArray     []*RowRecord    `protobuf:"bytes,3,rep,name=query_record_array,json=queryRecordArray,proto3" json:"query_record_array,omitempty"`
	Topk                 int64           `protobuf:"varint,4,opt,name=topk,proto3" json:"topk,omitempty"`
	ExtraParams          []*KeyValuePair `protobuf:"bytes,5,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

* @brief Params for searching vector

func (*SearchParam) Descriptor

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

func (*SearchParam) GetCollectionName added in v0.3.0

func (m *SearchParam) GetCollectionName() string

func (*SearchParam) GetExtraParams

func (m *SearchParam) GetExtraParams() []*KeyValuePair

func (*SearchParam) GetPartitionTagArray

func (m *SearchParam) GetPartitionTagArray() []string

func (*SearchParam) GetQueryRecordArray

func (m *SearchParam) GetQueryRecordArray() []*RowRecord

func (*SearchParam) GetTopk

func (m *SearchParam) GetTopk() int64

func (*SearchParam) ProtoMessage

func (*SearchParam) ProtoMessage()

func (*SearchParam) Reset

func (m *SearchParam) Reset()

func (*SearchParam) String

func (m *SearchParam) String() string

func (*SearchParam) XXX_DiscardUnknown

func (m *SearchParam) XXX_DiscardUnknown()

func (*SearchParam) XXX_Marshal

func (m *SearchParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchParam) XXX_Merge

func (m *SearchParam) XXX_Merge(src proto.Message)

func (*SearchParam) XXX_Size

func (m *SearchParam) XXX_Size() int

func (*SearchParam) XXX_Unmarshal

func (m *SearchParam) XXX_Unmarshal(b []byte) error

type Status

type Status struct {
	ErrorCode            ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=milvus.grpc.ErrorCode" json:"error_code,omitempty"`
	Reason               string    `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*Status) Descriptor

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

func (*Status) GetErrorCode

func (m *Status) GetErrorCode() ErrorCode

func (*Status) GetReason

func (m *Status) GetReason() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) String

func (m *Status) String() string

func (*Status) XXX_DiscardUnknown

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal

func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Status) XXX_Merge

func (m *Status) XXX_Merge(src proto.Message)

func (*Status) XXX_Size

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal

func (m *Status) XXX_Unmarshal(b []byte) error

type StringReply

type StringReply struct {
	Status               *Status  `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	StringReply          string   `protobuf:"bytes,2,opt,name=string_reply,json=stringReply,proto3" json:"string_reply,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* @brief Server string Reply

func (*StringReply) Descriptor

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

func (*StringReply) GetStatus

func (m *StringReply) GetStatus() *Status

func (*StringReply) GetStringReply

func (m *StringReply) GetStringReply() string

func (*StringReply) ProtoMessage

func (*StringReply) ProtoMessage()

func (*StringReply) Reset

func (m *StringReply) Reset()

func (*StringReply) String

func (m *StringReply) String() string

func (*StringReply) XXX_DiscardUnknown

func (m *StringReply) XXX_DiscardUnknown()

func (*StringReply) XXX_Marshal

func (m *StringReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringReply) XXX_Merge

func (m *StringReply) XXX_Merge(src proto.Message)

func (*StringReply) XXX_Size

func (m *StringReply) XXX_Size() int

func (*StringReply) XXX_Unmarshal

func (m *StringReply) XXX_Unmarshal(b []byte) error

type TermQuery added in v0.4.0

type TermQuery struct {
	FieldName            string          `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	Values               []byte          `protobuf:"bytes,2,opt,name=values,proto3" json:"values,omitempty"`
	ValueNum             int64           `protobuf:"varint,3,opt,name=value_num,json=valueNum,proto3" json:"value_num,omitempty"`
	Boost                float32         `protobuf:"fixed32,4,opt,name=boost,proto3" json:"boost,omitempty"`
	ExtraParams          []*KeyValuePair `protobuf:"bytes,5,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*TermQuery) Descriptor added in v0.4.0

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

func (*TermQuery) GetBoost added in v0.4.0

func (m *TermQuery) GetBoost() float32

func (*TermQuery) GetExtraParams added in v0.4.0

func (m *TermQuery) GetExtraParams() []*KeyValuePair

func (*TermQuery) GetFieldName added in v0.4.0

func (m *TermQuery) GetFieldName() string

func (*TermQuery) GetValueNum added in v0.4.0

func (m *TermQuery) GetValueNum() int64

func (*TermQuery) GetValues added in v0.4.0

func (m *TermQuery) GetValues() []byte

func (*TermQuery) ProtoMessage added in v0.4.0

func (*TermQuery) ProtoMessage()

func (*TermQuery) Reset added in v0.4.0

func (m *TermQuery) Reset()

func (*TermQuery) String added in v0.4.0

func (m *TermQuery) String() string

func (*TermQuery) XXX_DiscardUnknown added in v0.4.0

func (m *TermQuery) XXX_DiscardUnknown()

func (*TermQuery) XXX_Marshal added in v0.4.0

func (m *TermQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TermQuery) XXX_Merge added in v0.4.0

func (m *TermQuery) XXX_Merge(src proto.Message)

func (*TermQuery) XXX_Size added in v0.4.0

func (m *TermQuery) XXX_Size() int

func (*TermQuery) XXX_Unmarshal added in v0.4.0

func (m *TermQuery) XXX_Unmarshal(b []byte) error

type TopKQueryResult

type TopKQueryResult struct {
	Status               *Status   `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	RowNum               int64     `protobuf:"varint,2,opt,name=row_num,json=rowNum,proto3" json:"row_num,omitempty"`
	Ids                  []int64   `protobuf:"varint,3,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	Distances            []float32 `protobuf:"fixed32,4,rep,packed,name=distances,proto3" json:"distances,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

* @brief Query result params

func (*TopKQueryResult) Descriptor

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

func (*TopKQueryResult) GetDistances

func (m *TopKQueryResult) GetDistances() []float32

func (*TopKQueryResult) GetIds

func (m *TopKQueryResult) GetIds() []int64

func (*TopKQueryResult) GetRowNum

func (m *TopKQueryResult) GetRowNum() int64

func (*TopKQueryResult) GetStatus

func (m *TopKQueryResult) GetStatus() *Status

func (*TopKQueryResult) ProtoMessage

func (*TopKQueryResult) ProtoMessage()

func (*TopKQueryResult) Reset

func (m *TopKQueryResult) Reset()

func (*TopKQueryResult) String

func (m *TopKQueryResult) String() string

func (*TopKQueryResult) XXX_DiscardUnknown

func (m *TopKQueryResult) XXX_DiscardUnknown()

func (*TopKQueryResult) XXX_Marshal

func (m *TopKQueryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TopKQueryResult) XXX_Merge

func (m *TopKQueryResult) XXX_Merge(src proto.Message)

func (*TopKQueryResult) XXX_Size

func (m *TopKQueryResult) XXX_Size() int

func (*TopKQueryResult) XXX_Unmarshal

func (m *TopKQueryResult) XXX_Unmarshal(b []byte) error

type UnimplementedMilvusServiceServer

type UnimplementedMilvusServiceServer struct {
}

UnimplementedMilvusServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMilvusServiceServer) Cmd

func (*UnimplementedMilvusServiceServer) Compact

func (*UnimplementedMilvusServiceServer) CountCollection added in v0.3.0

func (*UnimplementedMilvusServiceServer) CountHybridCollection added in v0.4.0

func (*UnimplementedMilvusServiceServer) CreateCollection added in v0.3.0

func (*UnimplementedMilvusServiceServer) CreateHybridCollection added in v0.4.0

func (*UnimplementedMilvusServiceServer) CreateHybridCollection(ctx context.Context, req *Mapping) (*Status, error)

func (*UnimplementedMilvusServiceServer) CreateIndex

func (*UnimplementedMilvusServiceServer) CreatePartition

func (*UnimplementedMilvusServiceServer) DeleteByID

func (*UnimplementedMilvusServiceServer) DeleteEntitiesByID added in v0.4.0

func (*UnimplementedMilvusServiceServer) DeleteEntitiesByID(ctx context.Context, req *HDeleteByIDParam) (*Status, error)

func (*UnimplementedMilvusServiceServer) DescribeCollection added in v0.3.0

func (*UnimplementedMilvusServiceServer) DescribeHybridCollection added in v0.4.0

func (*UnimplementedMilvusServiceServer) DescribeHybridCollection(ctx context.Context, req *CollectionName) (*Mapping, error)

func (*UnimplementedMilvusServiceServer) DescribeIndex

func (*UnimplementedMilvusServiceServer) DropCollection added in v0.3.0

func (*UnimplementedMilvusServiceServer) DropHybridCollection added in v0.4.0

func (*UnimplementedMilvusServiceServer) DropHybridCollection(ctx context.Context, req *CollectionName) (*Status, error)

func (*UnimplementedMilvusServiceServer) DropIndex

func (*UnimplementedMilvusServiceServer) DropPartition

func (*UnimplementedMilvusServiceServer) Flush

func (*UnimplementedMilvusServiceServer) GetEntityByID added in v0.4.0

func (*UnimplementedMilvusServiceServer) GetEntityIDs added in v0.4.0

func (*UnimplementedMilvusServiceServer) GetVectorIDs

func (*UnimplementedMilvusServiceServer) GetVectorsByID added in v0.4.0

func (*UnimplementedMilvusServiceServer) HasCollection added in v0.3.0

func (*UnimplementedMilvusServiceServer) HasHybridCollection added in v0.4.0

func (*UnimplementedMilvusServiceServer) HasHybridCollection(ctx context.Context, req *CollectionName) (*BoolReply, error)

func (*UnimplementedMilvusServiceServer) HasPartition added in v0.4.0

func (*UnimplementedMilvusServiceServer) HybridSearch added in v0.4.0

func (*UnimplementedMilvusServiceServer) HybridSearchInSegments added in v0.4.0

func (*UnimplementedMilvusServiceServer) Insert

func (*UnimplementedMilvusServiceServer) InsertEntity added in v0.4.0

func (*UnimplementedMilvusServiceServer) PreloadCollection added in v0.3.0

func (*UnimplementedMilvusServiceServer) PreloadCollection(ctx context.Context, req *CollectionName) (*Status, error)

func (*UnimplementedMilvusServiceServer) PreloadHybridCollection added in v0.4.0

func (*UnimplementedMilvusServiceServer) PreloadHybridCollection(ctx context.Context, req *CollectionName) (*Status, error)

func (*UnimplementedMilvusServiceServer) Search

func (*UnimplementedMilvusServiceServer) SearchByID

func (*UnimplementedMilvusServiceServer) SearchInFiles

func (*UnimplementedMilvusServiceServer) ShowCollectionInfo added in v0.3.0

func (*UnimplementedMilvusServiceServer) ShowCollections added in v0.3.0

func (*UnimplementedMilvusServiceServer) ShowHybridCollectionInfo added in v0.4.0

func (*UnimplementedMilvusServiceServer) ShowHybridCollectionInfo(ctx context.Context, req *CollectionName) (*CollectionInfo, error)

func (*UnimplementedMilvusServiceServer) ShowHybridCollections added in v0.4.0

func (*UnimplementedMilvusServiceServer) ShowHybridCollections(ctx context.Context, req *Command) (*MappingList, error)

func (*UnimplementedMilvusServiceServer) ShowPartitions

type VectorFieldParam added in v0.4.0

type VectorFieldParam struct {
	Dimension            int64    `protobuf:"varint,1,opt,name=dimension,proto3" json:"dimension,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VectorFieldParam) Descriptor added in v0.4.0

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

func (*VectorFieldParam) GetDimension added in v0.4.0

func (m *VectorFieldParam) GetDimension() int64

func (*VectorFieldParam) ProtoMessage added in v0.4.0

func (*VectorFieldParam) ProtoMessage()

func (*VectorFieldParam) Reset added in v0.4.0

func (m *VectorFieldParam) Reset()

func (*VectorFieldParam) String added in v0.4.0

func (m *VectorFieldParam) String() string

func (*VectorFieldParam) XXX_DiscardUnknown added in v0.4.0

func (m *VectorFieldParam) XXX_DiscardUnknown()

func (*VectorFieldParam) XXX_Marshal added in v0.4.0

func (m *VectorFieldParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VectorFieldParam) XXX_Merge added in v0.4.0

func (m *VectorFieldParam) XXX_Merge(src proto.Message)

func (*VectorFieldParam) XXX_Size added in v0.4.0

func (m *VectorFieldParam) XXX_Size() int

func (*VectorFieldParam) XXX_Unmarshal added in v0.4.0

func (m *VectorFieldParam) XXX_Unmarshal(b []byte) error

type VectorFieldValue added in v0.4.0

type VectorFieldValue struct {
	Value                []*RowRecord `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*VectorFieldValue) Descriptor added in v0.4.0

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

func (*VectorFieldValue) GetValue added in v0.4.0

func (m *VectorFieldValue) GetValue() []*RowRecord

func (*VectorFieldValue) ProtoMessage added in v0.4.0

func (*VectorFieldValue) ProtoMessage()

func (*VectorFieldValue) Reset added in v0.4.0

func (m *VectorFieldValue) Reset()

func (*VectorFieldValue) String added in v0.4.0

func (m *VectorFieldValue) String() string

func (*VectorFieldValue) XXX_DiscardUnknown added in v0.4.0

func (m *VectorFieldValue) XXX_DiscardUnknown()

func (*VectorFieldValue) XXX_Marshal added in v0.4.0

func (m *VectorFieldValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VectorFieldValue) XXX_Merge added in v0.4.0

func (m *VectorFieldValue) XXX_Merge(src proto.Message)

func (*VectorFieldValue) XXX_Size added in v0.4.0

func (m *VectorFieldValue) XXX_Size() int

func (*VectorFieldValue) XXX_Unmarshal added in v0.4.0

func (m *VectorFieldValue) XXX_Unmarshal(b []byte) error

type VectorIds

type VectorIds struct {
	Status               *Status  `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	VectorIdArray        []int64  `protobuf:"varint,2,rep,packed,name=vector_id_array,json=vectorIdArray,proto3" json:"vector_id_array,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* @brief Vector ids

func (*VectorIds) Descriptor

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

func (*VectorIds) GetStatus

func (m *VectorIds) GetStatus() *Status

func (*VectorIds) GetVectorIdArray

func (m *VectorIds) GetVectorIdArray() []int64

func (*VectorIds) ProtoMessage

func (*VectorIds) ProtoMessage()

func (*VectorIds) Reset

func (m *VectorIds) Reset()

func (*VectorIds) String

func (m *VectorIds) String() string

func (*VectorIds) XXX_DiscardUnknown

func (m *VectorIds) XXX_DiscardUnknown()

func (*VectorIds) XXX_Marshal

func (m *VectorIds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VectorIds) XXX_Merge

func (m *VectorIds) XXX_Merge(src proto.Message)

func (*VectorIds) XXX_Size

func (m *VectorIds) XXX_Size() int

func (*VectorIds) XXX_Unmarshal

func (m *VectorIds) XXX_Unmarshal(b []byte) error

type VectorQuery added in v0.4.0

type VectorQuery struct {
	FieldName            string          `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
	QueryBoost           float32         `protobuf:"fixed32,2,opt,name=query_boost,json=queryBoost,proto3" json:"query_boost,omitempty"`
	Records              []*RowRecord    `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"`
	Topk                 int64           `protobuf:"varint,4,opt,name=topk,proto3" json:"topk,omitempty"`
	ExtraParams          []*KeyValuePair `protobuf:"bytes,5,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*VectorQuery) Descriptor added in v0.4.0

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

func (*VectorQuery) GetExtraParams added in v0.4.0

func (m *VectorQuery) GetExtraParams() []*KeyValuePair

func (*VectorQuery) GetFieldName added in v0.4.0

func (m *VectorQuery) GetFieldName() string

func (*VectorQuery) GetQueryBoost added in v0.4.0

func (m *VectorQuery) GetQueryBoost() float32

func (*VectorQuery) GetRecords added in v0.4.0

func (m *VectorQuery) GetRecords() []*RowRecord

func (*VectorQuery) GetTopk added in v0.4.0

func (m *VectorQuery) GetTopk() int64

func (*VectorQuery) ProtoMessage added in v0.4.0

func (*VectorQuery) ProtoMessage()

func (*VectorQuery) Reset added in v0.4.0

func (m *VectorQuery) Reset()

func (*VectorQuery) String added in v0.4.0

func (m *VectorQuery) String() string

func (*VectorQuery) XXX_DiscardUnknown added in v0.4.0

func (m *VectorQuery) XXX_DiscardUnknown()

func (*VectorQuery) XXX_Marshal added in v0.4.0

func (m *VectorQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VectorQuery) XXX_Merge added in v0.4.0

func (m *VectorQuery) XXX_Merge(src proto.Message)

func (*VectorQuery) XXX_Size added in v0.4.0

func (m *VectorQuery) XXX_Size() int

func (*VectorQuery) XXX_Unmarshal added in v0.4.0

func (m *VectorQuery) XXX_Unmarshal(b []byte) error

type VectorsData added in v0.4.0

type VectorsData struct {
	Status               *Status      `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	VectorsData          []*RowRecord `protobuf:"bytes,2,rep,name=vectors_data,json=vectorsData,proto3" json:"vectors_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

* @brief vector data

func (*VectorsData) Descriptor added in v0.4.0

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

func (*VectorsData) GetStatus added in v0.4.0

func (m *VectorsData) GetStatus() *Status

func (*VectorsData) GetVectorsData added in v0.4.0

func (m *VectorsData) GetVectorsData() []*RowRecord

func (*VectorsData) ProtoMessage added in v0.4.0

func (*VectorsData) ProtoMessage()

func (*VectorsData) Reset added in v0.4.0

func (m *VectorsData) Reset()

func (*VectorsData) String added in v0.4.0

func (m *VectorsData) String() string

func (*VectorsData) XXX_DiscardUnknown added in v0.4.0

func (m *VectorsData) XXX_DiscardUnknown()

func (*VectorsData) XXX_Marshal added in v0.4.0

func (m *VectorsData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VectorsData) XXX_Merge added in v0.4.0

func (m *VectorsData) XXX_Merge(src proto.Message)

func (*VectorsData) XXX_Size added in v0.4.0

func (m *VectorsData) XXX_Size() int

func (*VectorsData) XXX_Unmarshal added in v0.4.0

func (m *VectorsData) XXX_Unmarshal(b []byte) error

type VectorsIdentity added in v0.4.0

type VectorsIdentity struct {
	CollectionName       string   `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	IdArray              []int64  `protobuf:"varint,2,rep,packed,name=id_array,json=idArray,proto3" json:"id_array,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

* @brief vectors identity

func (*VectorsIdentity) Descriptor added in v0.4.0

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

func (*VectorsIdentity) GetCollectionName added in v0.4.0

func (m *VectorsIdentity) GetCollectionName() string

func (*VectorsIdentity) GetIdArray added in v0.4.0

func (m *VectorsIdentity) GetIdArray() []int64

func (*VectorsIdentity) ProtoMessage added in v0.4.0

func (*VectorsIdentity) ProtoMessage()

func (*VectorsIdentity) Reset added in v0.4.0

func (m *VectorsIdentity) Reset()

func (*VectorsIdentity) String added in v0.4.0

func (m *VectorsIdentity) String() string

func (*VectorsIdentity) XXX_DiscardUnknown added in v0.4.0

func (m *VectorsIdentity) XXX_DiscardUnknown()

func (*VectorsIdentity) XXX_Marshal added in v0.4.0

func (m *VectorsIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VectorsIdentity) XXX_Merge added in v0.4.0

func (m *VectorsIdentity) XXX_Merge(src proto.Message)

func (*VectorsIdentity) XXX_Size added in v0.4.0

func (m *VectorsIdentity) XXX_Size() int

func (*VectorsIdentity) XXX_Unmarshal added in v0.4.0

func (m *VectorsIdentity) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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