gen

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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",
	}
	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,
	}
)

Enum value maps for DataType.

View Source
var (
	CompareOperator_name = map[int32]string{
		0: "LT",
		1: "LTE",
		2: "EQ",
		3: "GT",
		4: "GTE",
		5: "NE",
	}
	CompareOperator_value = map[string]int32{
		"LT":  0,
		"LTE": 1,
		"EQ":  2,
		"GT":  3,
		"GTE": 4,
		"NE":  5,
	}
)

Enum value maps for CompareOperator.

View Source
var (
	Occur_name = map[int32]string{
		0: "INVALID",
		1: "MUST",
		2: "SHOULD",
		3: "MUST_NOT",
	}
	Occur_value = map[string]int32{
		"INVALID":  0,
		"MUST":     1,
		"SHOULD":   2,
		"MUST_NOT": 3,
	}
)

Enum value maps for Occur.

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",
	}
	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,
	}
)

Enum value maps for ErrorCode.

View Source
var File_milvus_proto protoreflect.FileDescriptor
View Source
var File_status_proto protoreflect.FileDescriptor

Functions

func RegisterMilvusServiceServer

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

Types

type AttrRecord

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

func (*AttrRecord) Descriptor deprecated

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

Deprecated: Use AttrRecord.ProtoReflect.Descriptor instead.

func (*AttrRecord) GetValue

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

func (*AttrRecord) ProtoMessage

func (*AttrRecord) ProtoMessage()

func (*AttrRecord) ProtoReflect

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

func (*AttrRecord) Reset

func (x *AttrRecord) Reset()

func (*AttrRecord) String

func (x *AttrRecord) String() string

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"`
	// contains filtered or unexported fields
}

* @brief Server bool Reply

func (*BoolReply) Descriptor deprecated

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

Deprecated: Use BoolReply.ProtoReflect.Descriptor instead.

func (*BoolReply) GetBoolReply

func (x *BoolReply) GetBoolReply() bool

func (*BoolReply) GetStatus

func (x *BoolReply) GetStatus() *Status

func (*BoolReply) ProtoMessage

func (*BoolReply) ProtoMessage()

func (*BoolReply) ProtoReflect

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

func (*BoolReply) Reset

func (x *BoolReply) Reset()

func (*BoolReply) String

func (x *BoolReply) String() string

type BooleanQuery

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"`
	// contains filtered or unexported fields
}

func (*BooleanQuery) Descriptor deprecated

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

Deprecated: Use BooleanQuery.ProtoReflect.Descriptor instead.

func (*BooleanQuery) GetGeneralQuery

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

func (*BooleanQuery) GetOccur

func (x *BooleanQuery) GetOccur() Occur

func (*BooleanQuery) ProtoMessage

func (*BooleanQuery) ProtoMessage()

func (*BooleanQuery) ProtoReflect

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

func (*BooleanQuery) Reset

func (x *BooleanQuery) Reset()

func (*BooleanQuery) String

func (x *BooleanQuery) String() string

type CollectionInfo

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"`
	// contains filtered or unexported fields
}

* @brief collection information

func (*CollectionInfo) Descriptor deprecated

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

Deprecated: Use CollectionInfo.ProtoReflect.Descriptor instead.

func (*CollectionInfo) GetJsonInfo

func (x *CollectionInfo) GetJsonInfo() string

func (*CollectionInfo) GetStatus

func (x *CollectionInfo) GetStatus() *Status

func (*CollectionInfo) ProtoMessage

func (*CollectionInfo) ProtoMessage()

func (*CollectionInfo) ProtoReflect

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

func (*CollectionInfo) Reset

func (x *CollectionInfo) Reset()

func (*CollectionInfo) String

func (x *CollectionInfo) String() string

type CollectionName

type CollectionName struct {
	CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// contains filtered or unexported fields
}

* @brief Collection name

func (*CollectionName) Descriptor deprecated

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

Deprecated: Use CollectionName.ProtoReflect.Descriptor instead.

func (*CollectionName) GetCollectionName

func (x *CollectionName) GetCollectionName() string

func (*CollectionName) ProtoMessage

func (*CollectionName) ProtoMessage()

func (*CollectionName) ProtoReflect

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

func (*CollectionName) Reset

func (x *CollectionName) Reset()

func (*CollectionName) String

func (x *CollectionName) String() string

type CollectionNameList

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"`
	// contains filtered or unexported fields
}

* @brief Collection name list

func (*CollectionNameList) Descriptor deprecated

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

Deprecated: Use CollectionNameList.ProtoReflect.Descriptor instead.

func (*CollectionNameList) GetCollectionNames

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

func (*CollectionNameList) GetStatus

func (x *CollectionNameList) GetStatus() *Status

func (*CollectionNameList) ProtoMessage

func (*CollectionNameList) ProtoMessage()

func (*CollectionNameList) ProtoReflect

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

func (*CollectionNameList) Reset

func (x *CollectionNameList) Reset()

func (*CollectionNameList) String

func (x *CollectionNameList) String() string

type CollectionRowCount

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"`
	// contains filtered or unexported fields
}

* @brief Return collection row count

func (*CollectionRowCount) Descriptor deprecated

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

Deprecated: Use CollectionRowCount.ProtoReflect.Descriptor instead.

func (*CollectionRowCount) GetCollectionRowCount

func (x *CollectionRowCount) GetCollectionRowCount() int64

func (*CollectionRowCount) GetStatus

func (x *CollectionRowCount) GetStatus() *Status

func (*CollectionRowCount) ProtoMessage

func (*CollectionRowCount) ProtoMessage()

func (*CollectionRowCount) ProtoReflect

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

func (*CollectionRowCount) Reset

func (x *CollectionRowCount) Reset()

func (*CollectionRowCount) String

func (x *CollectionRowCount) String() string

type CollectionSchema

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"`
	// contains filtered or unexported fields
}

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

func (*CollectionSchema) Descriptor deprecated

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

Deprecated: Use CollectionSchema.ProtoReflect.Descriptor instead.

func (*CollectionSchema) GetCollectionName

func (x *CollectionSchema) GetCollectionName() string

func (*CollectionSchema) GetDimension

func (x *CollectionSchema) GetDimension() int64

func (*CollectionSchema) GetExtraParams

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

func (*CollectionSchema) GetIndexFileSize

func (x *CollectionSchema) GetIndexFileSize() int64

func (*CollectionSchema) GetMetricType

func (x *CollectionSchema) GetMetricType() int32

func (*CollectionSchema) GetStatus

func (x *CollectionSchema) GetStatus() *Status

func (*CollectionSchema) ProtoMessage

func (*CollectionSchema) ProtoMessage()

func (*CollectionSchema) ProtoReflect

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

func (*CollectionSchema) Reset

func (x *CollectionSchema) Reset()

func (*CollectionSchema) String

func (x *CollectionSchema) String() string

type Command

type Command struct {
	Cmd string `protobuf:"bytes,1,opt,name=cmd,proto3" json:"cmd,omitempty"`
	// contains filtered or unexported fields
}

* @brief Give server Command

func (*Command) Descriptor deprecated

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

Deprecated: Use Command.ProtoReflect.Descriptor instead.

func (*Command) GetCmd

func (x *Command) GetCmd() string

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) ProtoReflect

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

func (*Command) Reset

func (x *Command) Reset()

func (*Command) String

func (x *Command) String() string

type CompareExpr

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"`
	// contains filtered or unexported fields
}

func (*CompareExpr) Descriptor deprecated

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

Deprecated: Use CompareExpr.ProtoReflect.Descriptor instead.

func (*CompareExpr) GetOperand

func (x *CompareExpr) GetOperand() string

func (*CompareExpr) GetOperator

func (x *CompareExpr) GetOperator() CompareOperator

func (*CompareExpr) ProtoMessage

func (*CompareExpr) ProtoMessage()

func (*CompareExpr) ProtoReflect

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

func (*CompareExpr) Reset

func (x *CompareExpr) Reset()

func (*CompareExpr) String

func (x *CompareExpr) String() string

type CompareOperator

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) Descriptor

func (CompareOperator) Enum

func (x CompareOperator) Enum() *CompareOperator

func (CompareOperator) EnumDescriptor deprecated

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

Deprecated: Use CompareOperator.Descriptor instead.

func (CompareOperator) Number

func (CompareOperator) String

func (x CompareOperator) String() string

func (CompareOperator) Type

type DataType

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) Descriptor

func (DataType) Descriptor() protoreflect.EnumDescriptor

func (DataType) Enum

func (x DataType) Enum() *DataType

func (DataType) EnumDescriptor deprecated

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

Deprecated: Use DataType.Descriptor instead.

func (DataType) Number

func (x DataType) Number() protoreflect.EnumNumber

func (DataType) String

func (x DataType) String() string

func (DataType) Type

type DeleteByIDParam

type DeleteByIDParam struct {
	CollectionName string  `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	PartitionTag   string  `protobuf:"bytes,3,opt,name=partition_tag,json=partitionTag,proto3" json:"partition_tag,omitempty"`
	IdArray        []int64 `protobuf:"varint,2,rep,packed,name=id_array,json=idArray,proto3" json:"id_array,omitempty"`
	// contains filtered or unexported fields
}

* @brief Flush params

func (*DeleteByIDParam) Descriptor deprecated

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

Deprecated: Use DeleteByIDParam.ProtoReflect.Descriptor instead.

func (*DeleteByIDParam) GetCollectionName

func (x *DeleteByIDParam) GetCollectionName() string

func (*DeleteByIDParam) GetIdArray

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

func (*DeleteByIDParam) GetPartitionTag

func (x *DeleteByIDParam) GetPartitionTag() string

func (*DeleteByIDParam) ProtoMessage

func (*DeleteByIDParam) ProtoMessage()

func (*DeleteByIDParam) ProtoReflect

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

func (*DeleteByIDParam) Reset

func (x *DeleteByIDParam) Reset()

func (*DeleteByIDParam) String

func (x *DeleteByIDParam) String() string

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) Descriptor

func (ErrorCode) Descriptor() protoreflect.EnumDescriptor

func (ErrorCode) Enum

func (x ErrorCode) Enum() *ErrorCode

func (ErrorCode) EnumDescriptor deprecated

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

Deprecated: Use ErrorCode.Descriptor instead.

func (ErrorCode) Number

func (x ErrorCode) Number() protoreflect.EnumNumber

func (ErrorCode) String

func (x ErrorCode) String() string

func (ErrorCode) Type

type FieldParam

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"`
	// contains filtered or unexported fields
}

func (*FieldParam) Descriptor deprecated

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

Deprecated: Use FieldParam.ProtoReflect.Descriptor instead.

func (*FieldParam) GetExtraParams

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

func (*FieldParam) GetId

func (x *FieldParam) GetId() uint64

func (*FieldParam) GetName

func (x *FieldParam) GetName() string

func (*FieldParam) GetType

func (x *FieldParam) GetType() *FieldType

func (*FieldParam) ProtoMessage

func (*FieldParam) ProtoMessage()

func (*FieldParam) ProtoReflect

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

func (*FieldParam) Reset

func (x *FieldParam) Reset()

func (*FieldParam) String

func (x *FieldParam) String() string

type FieldType

type FieldType struct {

	// Types that are assignable to Value:
	//	*FieldType_DataType
	//	*FieldType_VectorParam
	Value isFieldType_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*FieldType) Descriptor deprecated

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

Deprecated: Use FieldType.ProtoReflect.Descriptor instead.

func (*FieldType) GetDataType

func (x *FieldType) GetDataType() DataType

func (*FieldType) GetValue

func (m *FieldType) GetValue() isFieldType_Value

func (*FieldType) GetVectorParam

func (x *FieldType) GetVectorParam() *VectorFieldParam

func (*FieldType) ProtoMessage

func (*FieldType) ProtoMessage()

func (*FieldType) ProtoReflect

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

func (*FieldType) Reset

func (x *FieldType) Reset()

func (*FieldType) String

func (x *FieldType) String() string

type FieldType_DataType

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

type FieldType_VectorParam

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

type FieldValue

type FieldValue struct {

	// Types that are assignable to Value:
	//	*FieldValue_Int32Value
	//	*FieldValue_Int64Value
	//	*FieldValue_FloatValue
	//	*FieldValue_DoubleValue
	//	*FieldValue_StringValue
	//	*FieldValue_BoolValue
	//	*FieldValue_VectorValue
	Value isFieldValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*FieldValue) Descriptor deprecated

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

Deprecated: Use FieldValue.ProtoReflect.Descriptor instead.

func (*FieldValue) GetBoolValue

func (x *FieldValue) GetBoolValue() bool

func (*FieldValue) GetDoubleValue

func (x *FieldValue) GetDoubleValue() float64

func (*FieldValue) GetFloatValue

func (x *FieldValue) GetFloatValue() float32

func (*FieldValue) GetInt32Value

func (x *FieldValue) GetInt32Value() int32

func (*FieldValue) GetInt64Value

func (x *FieldValue) GetInt64Value() int64

func (*FieldValue) GetStringValue

func (x *FieldValue) GetStringValue() string

func (*FieldValue) GetValue

func (m *FieldValue) GetValue() isFieldValue_Value

func (*FieldValue) GetVectorValue

func (x *FieldValue) GetVectorValue() *VectorFieldValue

func (*FieldValue) ProtoMessage

func (*FieldValue) ProtoMessage()

func (*FieldValue) ProtoReflect

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

func (*FieldValue) Reset

func (x *FieldValue) Reset()

func (*FieldValue) String

func (x *FieldValue) String() string

type FieldValue_BoolValue

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

type FieldValue_DoubleValue

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

type FieldValue_FloatValue

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

type FieldValue_Int32Value

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

type FieldValue_Int64Value

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

type FieldValue_StringValue

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

type FieldValue_VectorValue

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"`
	// contains filtered or unexported fields
}

* @brief Flush params

func (*FlushParam) Descriptor deprecated

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

Deprecated: Use FlushParam.ProtoReflect.Descriptor instead.

func (*FlushParam) GetCollectionNameArray

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

func (*FlushParam) ProtoMessage

func (*FlushParam) ProtoMessage()

func (*FlushParam) ProtoReflect

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

func (*FlushParam) Reset

func (x *FlushParam) Reset()

func (*FlushParam) String

func (x *FlushParam) String() string

type GeneralQuery

type GeneralQuery struct {

	// Types that are assignable to Query:
	//	*GeneralQuery_BooleanQuery
	//	*GeneralQuery_TermQuery
	//	*GeneralQuery_RangeQuery
	//	*GeneralQuery_VectorQuery
	Query isGeneralQuery_Query `protobuf_oneof:"query"`
	// contains filtered or unexported fields
}

func (*GeneralQuery) Descriptor deprecated

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

Deprecated: Use GeneralQuery.ProtoReflect.Descriptor instead.

func (*GeneralQuery) GetBooleanQuery

func (x *GeneralQuery) GetBooleanQuery() *BooleanQuery

func (*GeneralQuery) GetQuery

func (m *GeneralQuery) GetQuery() isGeneralQuery_Query

func (*GeneralQuery) GetRangeQuery

func (x *GeneralQuery) GetRangeQuery() *RangeQuery

func (*GeneralQuery) GetTermQuery

func (x *GeneralQuery) GetTermQuery() *TermQuery

func (*GeneralQuery) GetVectorQuery

func (x *GeneralQuery) GetVectorQuery() *VectorQuery

func (*GeneralQuery) ProtoMessage

func (*GeneralQuery) ProtoMessage()

func (*GeneralQuery) ProtoReflect

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

func (*GeneralQuery) Reset

func (x *GeneralQuery) Reset()

func (*GeneralQuery) String

func (x *GeneralQuery) String() string

type GeneralQuery_BooleanQuery

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

type GeneralQuery_RangeQuery

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

type GeneralQuery_TermQuery

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

type GeneralQuery_VectorQuery

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"`
	// contains filtered or unexported fields
}

* @brief get vector ids from a segment parameters

func (*GetVectorIDsParam) Descriptor deprecated

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

Deprecated: Use GetVectorIDsParam.ProtoReflect.Descriptor instead.

func (*GetVectorIDsParam) GetCollectionName

func (x *GetVectorIDsParam) GetCollectionName() string

func (*GetVectorIDsParam) GetSegmentName

func (x *GetVectorIDsParam) GetSegmentName() string

func (*GetVectorIDsParam) ProtoMessage

func (*GetVectorIDsParam) ProtoMessage()

func (*GetVectorIDsParam) ProtoReflect

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

func (*GetVectorIDsParam) Reset

func (x *GetVectorIDsParam) Reset()

func (*GetVectorIDsParam) String

func (x *GetVectorIDsParam) String() string

type HDeleteByIDParam

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"`
	// contains filtered or unexported fields
}

func (*HDeleteByIDParam) Descriptor deprecated

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

Deprecated: Use HDeleteByIDParam.ProtoReflect.Descriptor instead.

func (*HDeleteByIDParam) GetCollectionName

func (x *HDeleteByIDParam) GetCollectionName() string

func (*HDeleteByIDParam) GetIdArray

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

func (*HDeleteByIDParam) ProtoMessage

func (*HDeleteByIDParam) ProtoMessage()

func (*HDeleteByIDParam) ProtoReflect

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

func (*HDeleteByIDParam) Reset

func (x *HDeleteByIDParam) Reset()

func (*HDeleteByIDParam) String

func (x *HDeleteByIDParam) String() string

type HEntity

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"`
	// contains filtered or unexported fields
}

func (*HEntity) Descriptor deprecated

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

Deprecated: Use HEntity.ProtoReflect.Descriptor instead.

func (*HEntity) GetAttrRecords

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

func (*HEntity) GetEntityId

func (x *HEntity) GetEntityId() int64

func (*HEntity) GetFieldNames

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

func (*HEntity) GetResultValues

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

func (*HEntity) GetRowNum

func (x *HEntity) GetRowNum() int64

func (*HEntity) GetStatus

func (x *HEntity) GetStatus() *Status

func (*HEntity) ProtoMessage

func (*HEntity) ProtoMessage()

func (*HEntity) ProtoReflect

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

func (*HEntity) Reset

func (x *HEntity) Reset()

func (*HEntity) String

func (x *HEntity) String() string

type HEntityIDs

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"`
	// contains filtered or unexported fields
}

func (*HEntityIDs) Descriptor deprecated

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

Deprecated: Use HEntityIDs.ProtoReflect.Descriptor instead.

func (*HEntityIDs) GetEntityIdArray

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

func (*HEntityIDs) GetStatus

func (x *HEntityIDs) GetStatus() *Status

func (*HEntityIDs) ProtoMessage

func (*HEntityIDs) ProtoMessage()

func (*HEntityIDs) ProtoReflect

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

func (*HEntityIDs) Reset

func (x *HEntityIDs) Reset()

func (*HEntityIDs) String

func (x *HEntityIDs) String() string

type HEntityIdentity

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"`
	// contains filtered or unexported fields
}

func (*HEntityIdentity) Descriptor deprecated

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

Deprecated: Use HEntityIdentity.ProtoReflect.Descriptor instead.

func (*HEntityIdentity) GetCollectionName

func (x *HEntityIdentity) GetCollectionName() string

func (*HEntityIdentity) GetId

func (x *HEntityIdentity) GetId() int64

func (*HEntityIdentity) ProtoMessage

func (*HEntityIdentity) ProtoMessage()

func (*HEntityIdentity) ProtoReflect

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

func (*HEntityIdentity) Reset

func (x *HEntityIdentity) Reset()

func (*HEntityIdentity) String

func (x *HEntityIdentity) String() string

type HGetEntityIDsParam

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"`
	// contains filtered or unexported fields
}

func (*HGetEntityIDsParam) Descriptor deprecated

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

Deprecated: Use HGetEntityIDsParam.ProtoReflect.Descriptor instead.

func (*HGetEntityIDsParam) GetCollectionName

func (x *HGetEntityIDsParam) GetCollectionName() string

func (*HGetEntityIDsParam) GetSegmentName

func (x *HGetEntityIDsParam) GetSegmentName() string

func (*HGetEntityIDsParam) ProtoMessage

func (*HGetEntityIDsParam) ProtoMessage()

func (*HGetEntityIDsParam) ProtoReflect

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

func (*HGetEntityIDsParam) Reset

func (x *HGetEntityIDsParam) Reset()

func (*HGetEntityIDsParam) String

func (x *HGetEntityIDsParam) String() string

type HIndexParam

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"`
	// contains filtered or unexported fields
}

func (*HIndexParam) Descriptor deprecated

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

Deprecated: Use HIndexParam.ProtoReflect.Descriptor instead.

func (*HIndexParam) GetCollectionName

func (x *HIndexParam) GetCollectionName() string

func (*HIndexParam) GetExtraParams

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

func (*HIndexParam) GetIndexType

func (x *HIndexParam) GetIndexType() int32

func (*HIndexParam) GetStatus

func (x *HIndexParam) GetStatus() *Status

func (*HIndexParam) ProtoMessage

func (*HIndexParam) ProtoMessage()

func (*HIndexParam) ProtoReflect

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

func (*HIndexParam) Reset

func (x *HIndexParam) Reset()

func (*HIndexParam) String

func (x *HIndexParam) String() string

type HInsertParam

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"`
	// contains filtered or unexported fields
}

func (*HInsertParam) Descriptor deprecated

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

Deprecated: Use HInsertParam.ProtoReflect.Descriptor instead.

func (*HInsertParam) GetCollectionName

func (x *HInsertParam) GetCollectionName() string

func (*HInsertParam) GetEntities

func (x *HInsertParam) GetEntities() *HEntity

func (*HInsertParam) GetEntityIdArray

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

func (*HInsertParam) GetExtraParams

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

func (*HInsertParam) GetPartitionTag

func (x *HInsertParam) GetPartitionTag() string

func (*HInsertParam) ProtoMessage

func (*HInsertParam) ProtoMessage()

func (*HInsertParam) ProtoReflect

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

func (*HInsertParam) Reset

func (x *HInsertParam) Reset()

func (*HInsertParam) String

func (x *HInsertParam) String() string

type HQueryResult

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"`
	// contains filtered or unexported fields
}

func (*HQueryResult) Descriptor deprecated

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

Deprecated: Use HQueryResult.ProtoReflect.Descriptor instead.

func (*HQueryResult) GetDistance

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

func (*HQueryResult) GetEntities

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

func (*HQueryResult) GetRowNum

func (x *HQueryResult) GetRowNum() int64

func (*HQueryResult) GetScore

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

func (*HQueryResult) GetStatus

func (x *HQueryResult) GetStatus() *Status

func (*HQueryResult) ProtoMessage

func (*HQueryResult) ProtoMessage()

func (*HQueryResult) ProtoReflect

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

func (*HQueryResult) Reset

func (x *HQueryResult) Reset()

func (*HQueryResult) String

func (x *HQueryResult) String() string

type HSearchInSegmentsParam

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"`
	// contains filtered or unexported fields
}

func (*HSearchInSegmentsParam) Descriptor deprecated

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

Deprecated: Use HSearchInSegmentsParam.ProtoReflect.Descriptor instead.

func (*HSearchInSegmentsParam) GetSearchParam

func (x *HSearchInSegmentsParam) GetSearchParam() *HSearchParam

func (*HSearchInSegmentsParam) GetSegmentIdArray

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

func (*HSearchInSegmentsParam) ProtoMessage

func (*HSearchInSegmentsParam) ProtoMessage()

func (*HSearchInSegmentsParam) ProtoReflect

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

func (*HSearchInSegmentsParam) Reset

func (x *HSearchInSegmentsParam) Reset()

func (*HSearchInSegmentsParam) String

func (x *HSearchInSegmentsParam) String() string

type HSearchParam

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"`
	// contains filtered or unexported fields
}

func (*HSearchParam) Descriptor deprecated

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

Deprecated: Use HSearchParam.ProtoReflect.Descriptor instead.

func (*HSearchParam) GetCollectionName

func (x *HSearchParam) GetCollectionName() string

func (*HSearchParam) GetExtraParams

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

func (*HSearchParam) GetGeneralQuery

func (x *HSearchParam) GetGeneralQuery() *GeneralQuery

func (*HSearchParam) GetPartitionTagArray

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

func (*HSearchParam) ProtoMessage

func (*HSearchParam) ProtoMessage()

func (*HSearchParam) ProtoReflect

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

func (*HSearchParam) Reset

func (x *HSearchParam) Reset()

func (*HSearchParam) String

func (x *HSearchParam) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*IndexParam) Descriptor deprecated

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

Deprecated: Use IndexParam.ProtoReflect.Descriptor instead.

func (*IndexParam) GetCollectionName

func (x *IndexParam) GetCollectionName() string

func (*IndexParam) GetExtraParams

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

func (*IndexParam) GetIndexType

func (x *IndexParam) GetIndexType() int32

func (*IndexParam) GetStatus

func (x *IndexParam) GetStatus() *Status

func (*IndexParam) ProtoMessage

func (*IndexParam) ProtoMessage()

func (*IndexParam) ProtoReflect

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

func (*IndexParam) Reset

func (x *IndexParam) Reset()

func (*IndexParam) String

func (x *IndexParam) String() string

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"` //optional
	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"`
	// contains filtered or unexported fields
}

* @brief Params to be inserted

func (*InsertParam) Descriptor deprecated

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

Deprecated: Use InsertParam.ProtoReflect.Descriptor instead.

func (*InsertParam) GetCollectionName

func (x *InsertParam) GetCollectionName() string

func (*InsertParam) GetExtraParams

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

func (*InsertParam) GetPartitionTag

func (x *InsertParam) GetPartitionTag() string

func (*InsertParam) GetRowIdArray

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

func (*InsertParam) GetRowRecordArray

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

func (*InsertParam) ProtoMessage

func (*InsertParam) ProtoMessage()

func (*InsertParam) ProtoReflect

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

func (*InsertParam) Reset

func (x *InsertParam) Reset()

func (*InsertParam) String

func (x *InsertParam) String() string

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"`
	// contains filtered or unexported fields
}

* @brief general usage

func (*KeyValuePair) Descriptor deprecated

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

Deprecated: Use KeyValuePair.ProtoReflect.Descriptor instead.

func (*KeyValuePair) GetKey

func (x *KeyValuePair) GetKey() string

func (*KeyValuePair) GetValue

func (x *KeyValuePair) GetValue() string

func (*KeyValuePair) ProtoMessage

func (*KeyValuePair) ProtoMessage()

func (*KeyValuePair) ProtoReflect

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

func (*KeyValuePair) Reset

func (x *KeyValuePair) Reset()

func (*KeyValuePair) String

func (x *KeyValuePair) String() string

type Mapping

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"`
	// contains filtered or unexported fields
}

func (*Mapping) Descriptor deprecated

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

Deprecated: Use Mapping.ProtoReflect.Descriptor instead.

func (*Mapping) GetCollectionId

func (x *Mapping) GetCollectionId() uint64

func (*Mapping) GetCollectionName

func (x *Mapping) GetCollectionName() string

func (*Mapping) GetFields

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

func (*Mapping) GetStatus

func (x *Mapping) GetStatus() *Status

func (*Mapping) ProtoMessage

func (*Mapping) ProtoMessage()

func (*Mapping) ProtoReflect

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

func (*Mapping) Reset

func (x *Mapping) Reset()

func (*Mapping) String

func (x *Mapping) String() string

type MappingList

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"`
	// contains filtered or unexported fields
}

func (*MappingList) Descriptor deprecated

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

Deprecated: Use MappingList.ProtoReflect.Descriptor instead.

func (*MappingList) GetMappingList

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

func (*MappingList) GetStatus

func (x *MappingList) GetStatus() *Status

func (*MappingList) ProtoMessage

func (*MappingList) ProtoMessage()

func (*MappingList) ProtoReflect

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

func (*MappingList) Reset

func (x *MappingList) Reset()

func (*MappingList) String

func (x *MappingList) String() string

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/partitions
	//
	// @param PreloadCollectionParam, target collection/partitions.
	//
	// @return Status
	PreloadCollection(ctx context.Context, in *PreloadCollectionParam, opts ...grpc.CallOption) (*Status, error)
	//*
	// @brief This method is used to release collection/partitions
	//
	// @param PreloadCollectionParam, target collection/partitions.
	//
	// @return Status
	ReleaseCollection(ctx context.Context, in *PreloadCollectionParam, opts ...grpc.CallOption) (*Status, error)
	//*
	// @brief This method is used to reload collection segments
	//
	// @param ReLoadSegmentsParam, target segments information.
	//
	// @return Status
	ReloadSegments(ctx context.Context, in *ReLoadSegmentsParam, 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.

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/partitions
	//
	// @param PreloadCollectionParam, target collection/partitions.
	//
	// @return Status
	PreloadCollection(context.Context, *PreloadCollectionParam) (*Status, error)
	//*
	// @brief This method is used to release collection/partitions
	//
	// @param PreloadCollectionParam, target collection/partitions.
	//
	// @return Status
	ReleaseCollection(context.Context, *PreloadCollectionParam) (*Status, error)
	//*
	// @brief This method is used to reload collection segments
	//
	// @param ReLoadSegmentsParam, target segments information.
	//
	// @return Status
	ReloadSegments(context.Context, *ReLoadSegmentsParam) (*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

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

func (Occur) Descriptor

func (Occur) Descriptor() protoreflect.EnumDescriptor

func (Occur) Enum

func (x Occur) Enum() *Occur

func (Occur) EnumDescriptor deprecated

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

Deprecated: Use Occur.Descriptor instead.

func (Occur) Number

func (x Occur) Number() protoreflect.EnumNumber

func (Occur) String

func (x Occur) String() string

func (Occur) Type

func (Occur) Type() protoreflect.EnumType

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"`
	// contains filtered or unexported fields
}

* @brief Partition list

func (*PartitionList) Descriptor deprecated

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

Deprecated: Use PartitionList.ProtoReflect.Descriptor instead.

func (*PartitionList) GetPartitionTagArray

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

func (*PartitionList) GetStatus

func (x *PartitionList) GetStatus() *Status

func (*PartitionList) ProtoMessage

func (*PartitionList) ProtoMessage()

func (*PartitionList) ProtoReflect

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

func (*PartitionList) Reset

func (x *PartitionList) Reset()

func (*PartitionList) String

func (x *PartitionList) String() string

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"`
	// contains filtered or unexported fields
}

* @brief Params of partition

func (*PartitionParam) Descriptor deprecated

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

Deprecated: Use PartitionParam.ProtoReflect.Descriptor instead.

func (*PartitionParam) GetCollectionName

func (x *PartitionParam) GetCollectionName() string

func (*PartitionParam) GetTag

func (x *PartitionParam) GetTag() string

func (*PartitionParam) ProtoMessage

func (*PartitionParam) ProtoMessage()

func (*PartitionParam) ProtoReflect

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

func (*PartitionParam) Reset

func (x *PartitionParam) Reset()

func (*PartitionParam) String

func (x *PartitionParam) String() string

type PreloadCollectionParam

type PreloadCollectionParam 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"`
	// contains filtered or unexported fields
}

* @brief Params for preload collection/partitions

func (*PreloadCollectionParam) Descriptor deprecated

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

Deprecated: Use PreloadCollectionParam.ProtoReflect.Descriptor instead.

func (*PreloadCollectionParam) GetCollectionName

func (x *PreloadCollectionParam) GetCollectionName() string

func (*PreloadCollectionParam) GetPartitionTagArray

func (x *PreloadCollectionParam) GetPartitionTagArray() []string

func (*PreloadCollectionParam) ProtoMessage

func (*PreloadCollectionParam) ProtoMessage()

func (*PreloadCollectionParam) ProtoReflect

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

func (*PreloadCollectionParam) Reset

func (x *PreloadCollectionParam) Reset()

func (*PreloadCollectionParam) String

func (x *PreloadCollectionParam) String() string

type RangeQuery

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"`
	// contains filtered or unexported fields
}

func (*RangeQuery) Descriptor deprecated

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

Deprecated: Use RangeQuery.ProtoReflect.Descriptor instead.

func (*RangeQuery) GetBoost

func (x *RangeQuery) GetBoost() float32

func (*RangeQuery) GetExtraParams

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

func (*RangeQuery) GetFieldName

func (x *RangeQuery) GetFieldName() string

func (*RangeQuery) GetOperand

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

func (*RangeQuery) ProtoMessage

func (*RangeQuery) ProtoMessage()

func (*RangeQuery) ProtoReflect

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

func (*RangeQuery) Reset

func (x *RangeQuery) Reset()

func (*RangeQuery) String

func (x *RangeQuery) String() string

type ReLoadSegmentsParam

type ReLoadSegmentsParam struct {
	CollectionName string   `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	SegmentIdArray []string `protobuf:"bytes,2,rep,name=segment_id_array,json=segmentIdArray,proto3" json:"segment_id_array,omitempty"`
	// contains filtered or unexported fields
}

* @brief Params for reloading segments

func (*ReLoadSegmentsParam) Descriptor deprecated

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

Deprecated: Use ReLoadSegmentsParam.ProtoReflect.Descriptor instead.

func (*ReLoadSegmentsParam) GetCollectionName

func (x *ReLoadSegmentsParam) GetCollectionName() string

func (*ReLoadSegmentsParam) GetSegmentIdArray

func (x *ReLoadSegmentsParam) GetSegmentIdArray() []string

func (*ReLoadSegmentsParam) ProtoMessage

func (*ReLoadSegmentsParam) ProtoMessage()

func (*ReLoadSegmentsParam) ProtoReflect

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

func (*ReLoadSegmentsParam) Reset

func (x *ReLoadSegmentsParam) Reset()

func (*ReLoadSegmentsParam) String

func (x *ReLoadSegmentsParam) String() string

type RowRecord

type RowRecord struct {
	FloatData  []float32 `protobuf:"fixed32,1,rep,packed,name=float_data,json=floatData,proto3" json:"float_data,omitempty"` //float vector data
	BinaryData []byte    `protobuf:"bytes,2,opt,name=binary_data,json=binaryData,proto3" json:"binary_data,omitempty"`       //binary vector data
	// contains filtered or unexported fields
}

* @brief Record inserted

func (*RowRecord) Descriptor deprecated

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

Deprecated: Use RowRecord.ProtoReflect.Descriptor instead.

func (*RowRecord) GetBinaryData

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

func (*RowRecord) GetFloatData

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

func (*RowRecord) ProtoMessage

func (*RowRecord) ProtoMessage()

func (*RowRecord) ProtoReflect

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

func (*RowRecord) Reset

func (x *RowRecord) Reset()

func (*RowRecord) String

func (x *RowRecord) String() string

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"`
	// contains filtered or unexported fields
}

* @brief Params for searching vector by ID

func (*SearchByIDParam) Descriptor deprecated

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

Deprecated: Use SearchByIDParam.ProtoReflect.Descriptor instead.

func (*SearchByIDParam) GetCollectionName

func (x *SearchByIDParam) GetCollectionName() string

func (*SearchByIDParam) GetExtraParams

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

func (*SearchByIDParam) GetIdArray

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

func (*SearchByIDParam) GetPartitionTagArray

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

func (*SearchByIDParam) GetTopk

func (x *SearchByIDParam) GetTopk() int64

func (*SearchByIDParam) ProtoMessage

func (*SearchByIDParam) ProtoMessage()

func (*SearchByIDParam) ProtoReflect

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

func (*SearchByIDParam) Reset

func (x *SearchByIDParam) Reset()

func (*SearchByIDParam) String

func (x *SearchByIDParam) String() string

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"`
	// contains filtered or unexported fields
}

* @brief Params for searching vector in files

func (*SearchInFilesParam) Descriptor deprecated

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

Deprecated: Use SearchInFilesParam.ProtoReflect.Descriptor instead.

func (*SearchInFilesParam) GetFileIdArray

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

func (*SearchInFilesParam) GetSearchParam

func (x *SearchInFilesParam) GetSearchParam() *SearchParam

func (*SearchInFilesParam) ProtoMessage

func (*SearchInFilesParam) ProtoMessage()

func (*SearchInFilesParam) ProtoReflect

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

func (*SearchInFilesParam) Reset

func (x *SearchInFilesParam) Reset()

func (*SearchInFilesParam) String

func (x *SearchInFilesParam) String() string

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"`
	// contains filtered or unexported fields
}

* @brief Params for searching vector

func (*SearchParam) Descriptor deprecated

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

Deprecated: Use SearchParam.ProtoReflect.Descriptor instead.

func (*SearchParam) GetCollectionName

func (x *SearchParam) GetCollectionName() string

func (*SearchParam) GetExtraParams

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

func (*SearchParam) GetPartitionTagArray

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

func (*SearchParam) GetQueryRecordArray

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

func (*SearchParam) GetTopk

func (x *SearchParam) GetTopk() int64

func (*SearchParam) ProtoMessage

func (*SearchParam) ProtoMessage()

func (*SearchParam) ProtoReflect

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

func (*SearchParam) Reset

func (x *SearchParam) Reset()

func (*SearchParam) String

func (x *SearchParam) String() string

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"`
	// contains filtered or unexported fields
}

func (*Status) Descriptor deprecated

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetErrorCode

func (x *Status) GetErrorCode() ErrorCode

func (*Status) GetReason

func (x *Status) GetReason() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

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"`
	// contains filtered or unexported fields
}

* @brief Server string Reply

func (*StringReply) Descriptor deprecated

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

Deprecated: Use StringReply.ProtoReflect.Descriptor instead.

func (*StringReply) GetStatus

func (x *StringReply) GetStatus() *Status

func (*StringReply) GetStringReply

func (x *StringReply) GetStringReply() string

func (*StringReply) ProtoMessage

func (*StringReply) ProtoMessage()

func (*StringReply) ProtoReflect

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

func (*StringReply) Reset

func (x *StringReply) Reset()

func (*StringReply) String

func (x *StringReply) String() string

type TermQuery

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"`
	// contains filtered or unexported fields
}

func (*TermQuery) Descriptor deprecated

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

Deprecated: Use TermQuery.ProtoReflect.Descriptor instead.

func (*TermQuery) GetBoost

func (x *TermQuery) GetBoost() float32

func (*TermQuery) GetExtraParams

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

func (*TermQuery) GetFieldName

func (x *TermQuery) GetFieldName() string

func (*TermQuery) GetValueNum

func (x *TermQuery) GetValueNum() int64

func (*TermQuery) GetValues

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

func (*TermQuery) ProtoMessage

func (*TermQuery) ProtoMessage()

func (*TermQuery) ProtoReflect

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

func (*TermQuery) Reset

func (x *TermQuery) Reset()

func (*TermQuery) String

func (x *TermQuery) String() string

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"`
	// contains filtered or unexported fields
}

* @brief Query result params

func (*TopKQueryResult) Descriptor deprecated

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

Deprecated: Use TopKQueryResult.ProtoReflect.Descriptor instead.

func (*TopKQueryResult) GetDistances

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

func (*TopKQueryResult) GetIds

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

func (*TopKQueryResult) GetRowNum

func (x *TopKQueryResult) GetRowNum() int64

func (*TopKQueryResult) GetStatus

func (x *TopKQueryResult) GetStatus() *Status

func (*TopKQueryResult) ProtoMessage

func (*TopKQueryResult) ProtoMessage()

func (*TopKQueryResult) ProtoReflect

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

func (*TopKQueryResult) Reset

func (x *TopKQueryResult) Reset()

func (*TopKQueryResult) String

func (x *TopKQueryResult) String() string

type UnimplementedMilvusServiceServer

type UnimplementedMilvusServiceServer struct {
}

UnimplementedMilvusServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMilvusServiceServer) Cmd

func (*UnimplementedMilvusServiceServer) Compact

func (*UnimplementedMilvusServiceServer) CountCollection

func (*UnimplementedMilvusServiceServer) CountHybridCollection

func (*UnimplementedMilvusServiceServer) CreateCollection

func (*UnimplementedMilvusServiceServer) CreateHybridCollection

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

func (*UnimplementedMilvusServiceServer) CreateIndex

func (*UnimplementedMilvusServiceServer) CreatePartition

func (*UnimplementedMilvusServiceServer) DeleteByID

func (*UnimplementedMilvusServiceServer) DeleteEntitiesByID

func (*UnimplementedMilvusServiceServer) DescribeCollection

func (*UnimplementedMilvusServiceServer) DescribeHybridCollection

func (*UnimplementedMilvusServiceServer) DescribeIndex

func (*UnimplementedMilvusServiceServer) DropCollection

func (*UnimplementedMilvusServiceServer) DropHybridCollection

func (*UnimplementedMilvusServiceServer) DropIndex

func (*UnimplementedMilvusServiceServer) DropPartition

func (*UnimplementedMilvusServiceServer) Flush

func (*UnimplementedMilvusServiceServer) GetEntityByID

func (*UnimplementedMilvusServiceServer) GetEntityIDs

func (*UnimplementedMilvusServiceServer) GetVectorIDs

func (*UnimplementedMilvusServiceServer) GetVectorsByID

func (*UnimplementedMilvusServiceServer) HasCollection

func (*UnimplementedMilvusServiceServer) HasHybridCollection

func (*UnimplementedMilvusServiceServer) HasPartition

func (*UnimplementedMilvusServiceServer) HybridSearch

func (*UnimplementedMilvusServiceServer) HybridSearchInSegments

func (*UnimplementedMilvusServiceServer) Insert

func (*UnimplementedMilvusServiceServer) InsertEntity

func (*UnimplementedMilvusServiceServer) PreloadCollection

func (*UnimplementedMilvusServiceServer) PreloadHybridCollection

func (*UnimplementedMilvusServiceServer) ReleaseCollection

func (*UnimplementedMilvusServiceServer) ReloadSegments

func (*UnimplementedMilvusServiceServer) Search

func (*UnimplementedMilvusServiceServer) SearchByID

func (*UnimplementedMilvusServiceServer) SearchInFiles

func (*UnimplementedMilvusServiceServer) ShowCollectionInfo

func (*UnimplementedMilvusServiceServer) ShowCollections

func (*UnimplementedMilvusServiceServer) ShowHybridCollectionInfo

func (*UnimplementedMilvusServiceServer) ShowHybridCollections

func (*UnimplementedMilvusServiceServer) ShowPartitions

type VectorFieldParam

type VectorFieldParam struct {
	Dimension int64 `protobuf:"varint,1,opt,name=dimension,proto3" json:"dimension,omitempty"`
	// contains filtered or unexported fields
}

func (*VectorFieldParam) Descriptor deprecated

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

Deprecated: Use VectorFieldParam.ProtoReflect.Descriptor instead.

func (*VectorFieldParam) GetDimension

func (x *VectorFieldParam) GetDimension() int64

func (*VectorFieldParam) ProtoMessage

func (*VectorFieldParam) ProtoMessage()

func (*VectorFieldParam) ProtoReflect

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

func (*VectorFieldParam) Reset

func (x *VectorFieldParam) Reset()

func (*VectorFieldParam) String

func (x *VectorFieldParam) String() string

type VectorFieldValue

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

func (*VectorFieldValue) Descriptor deprecated

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

Deprecated: Use VectorFieldValue.ProtoReflect.Descriptor instead.

func (*VectorFieldValue) GetValue

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

func (*VectorFieldValue) ProtoMessage

func (*VectorFieldValue) ProtoMessage()

func (*VectorFieldValue) ProtoReflect

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

func (*VectorFieldValue) Reset

func (x *VectorFieldValue) Reset()

func (*VectorFieldValue) String

func (x *VectorFieldValue) String() string

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"`
	// contains filtered or unexported fields
}

* @brief Vector ids

func (*VectorIds) Descriptor deprecated

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

Deprecated: Use VectorIds.ProtoReflect.Descriptor instead.

func (*VectorIds) GetStatus

func (x *VectorIds) GetStatus() *Status

func (*VectorIds) GetVectorIdArray

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

func (*VectorIds) ProtoMessage

func (*VectorIds) ProtoMessage()

func (*VectorIds) ProtoReflect

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

func (*VectorIds) Reset

func (x *VectorIds) Reset()

func (*VectorIds) String

func (x *VectorIds) String() string

type VectorQuery

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"`
	// contains filtered or unexported fields
}

func (*VectorQuery) Descriptor deprecated

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

Deprecated: Use VectorQuery.ProtoReflect.Descriptor instead.

func (*VectorQuery) GetExtraParams

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

func (*VectorQuery) GetFieldName

func (x *VectorQuery) GetFieldName() string

func (*VectorQuery) GetQueryBoost

func (x *VectorQuery) GetQueryBoost() float32

func (*VectorQuery) GetRecords

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

func (*VectorQuery) GetTopk

func (x *VectorQuery) GetTopk() int64

func (*VectorQuery) ProtoMessage

func (*VectorQuery) ProtoMessage()

func (*VectorQuery) ProtoReflect

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

func (*VectorQuery) Reset

func (x *VectorQuery) Reset()

func (*VectorQuery) String

func (x *VectorQuery) String() string

type VectorsData

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"`
	// contains filtered or unexported fields
}

* @brief vector data

func (*VectorsData) Descriptor deprecated

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

Deprecated: Use VectorsData.ProtoReflect.Descriptor instead.

func (*VectorsData) GetStatus

func (x *VectorsData) GetStatus() *Status

func (*VectorsData) GetVectorsData

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

func (*VectorsData) ProtoMessage

func (*VectorsData) ProtoMessage()

func (*VectorsData) ProtoReflect

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

func (*VectorsData) Reset

func (x *VectorsData) Reset()

func (*VectorsData) String

func (x *VectorsData) String() string

type VectorsIdentity

type VectorsIdentity struct {
	CollectionName string  `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	PartitionTag   string  `protobuf:"bytes,3,opt,name=partition_tag,json=partitionTag,proto3" json:"partition_tag,omitempty"`
	IdArray        []int64 `protobuf:"varint,2,rep,packed,name=id_array,json=idArray,proto3" json:"id_array,omitempty"`
	// contains filtered or unexported fields
}

* @brief vectors identity

func (*VectorsIdentity) Descriptor deprecated

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

Deprecated: Use VectorsIdentity.ProtoReflect.Descriptor instead.

func (*VectorsIdentity) GetCollectionName

func (x *VectorsIdentity) GetCollectionName() string

func (*VectorsIdentity) GetIdArray

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

func (*VectorsIdentity) GetPartitionTag

func (x *VectorsIdentity) GetPartitionTag() string

func (*VectorsIdentity) ProtoMessage

func (*VectorsIdentity) ProtoMessage()

func (*VectorsIdentity) ProtoReflect

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

func (*VectorsIdentity) Reset

func (x *VectorsIdentity) Reset()

func (*VectorsIdentity) String

func (x *VectorsIdentity) String() string

Jump to

Keyboard shortcuts

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