segcorepb

package
v2.5.5 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_segcore_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CollectionIndexMeta

type CollectionIndexMeta struct {
	MaxIndexRowCount int64             `protobuf:"varint,1,opt,name=maxIndexRowCount,proto3" json:"maxIndexRowCount,omitempty"`
	IndexMetas       []*FieldIndexMeta `protobuf:"bytes,2,rep,name=index_metas,json=indexMetas,proto3" json:"index_metas,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectionIndexMeta) Descriptor deprecated

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

Deprecated: Use CollectionIndexMeta.ProtoReflect.Descriptor instead.

func (*CollectionIndexMeta) GetIndexMetas

func (x *CollectionIndexMeta) GetIndexMetas() []*FieldIndexMeta

func (*CollectionIndexMeta) GetMaxIndexRowCount

func (x *CollectionIndexMeta) GetMaxIndexRowCount() int64

func (*CollectionIndexMeta) ProtoMessage

func (*CollectionIndexMeta) ProtoMessage()

func (*CollectionIndexMeta) ProtoReflect

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

func (*CollectionIndexMeta) Reset

func (x *CollectionIndexMeta) Reset()

func (*CollectionIndexMeta) String

func (x *CollectionIndexMeta) String() string

type FieldIndexMeta

type FieldIndexMeta struct {
	FieldID         int64                    `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
	CollectionID    int64                    `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
	IndexName       string                   `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"`
	TypeParams      []*commonpb.KeyValuePair `protobuf:"bytes,4,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"`
	IndexParams     []*commonpb.KeyValuePair `protobuf:"bytes,5,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"`
	IsAutoIndex     bool                     `protobuf:"varint,6,opt,name=is_auto_index,json=isAutoIndex,proto3" json:"is_auto_index,omitempty"`
	UserIndexParams []*commonpb.KeyValuePair `protobuf:"bytes,7,rep,name=user_index_params,json=userIndexParams,proto3" json:"user_index_params,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldIndexMeta) Descriptor deprecated

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

Deprecated: Use FieldIndexMeta.ProtoReflect.Descriptor instead.

func (*FieldIndexMeta) GetCollectionID

func (x *FieldIndexMeta) GetCollectionID() int64

func (*FieldIndexMeta) GetFieldID

func (x *FieldIndexMeta) GetFieldID() int64

func (*FieldIndexMeta) GetIndexName

func (x *FieldIndexMeta) GetIndexName() string

func (*FieldIndexMeta) GetIndexParams

func (x *FieldIndexMeta) GetIndexParams() []*commonpb.KeyValuePair

func (*FieldIndexMeta) GetIsAutoIndex

func (x *FieldIndexMeta) GetIsAutoIndex() bool

func (*FieldIndexMeta) GetTypeParams

func (x *FieldIndexMeta) GetTypeParams() []*commonpb.KeyValuePair

func (*FieldIndexMeta) GetUserIndexParams

func (x *FieldIndexMeta) GetUserIndexParams() []*commonpb.KeyValuePair

func (*FieldIndexMeta) ProtoMessage

func (*FieldIndexMeta) ProtoMessage()

func (*FieldIndexMeta) ProtoReflect

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

func (*FieldIndexMeta) Reset

func (x *FieldIndexMeta) Reset()

func (*FieldIndexMeta) String

func (x *FieldIndexMeta) String() string

type InsertRecord

type InsertRecord struct {
	FieldsData []*schemapb.FieldData `protobuf:"bytes,1,rep,name=fields_data,json=fieldsData,proto3" json:"fields_data,omitempty"`
	NumRows    int64                 `protobuf:"varint,2,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
	// contains filtered or unexported fields
}

func (*InsertRecord) Descriptor deprecated

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

Deprecated: Use InsertRecord.ProtoReflect.Descriptor instead.

func (*InsertRecord) GetFieldsData

func (x *InsertRecord) GetFieldsData() []*schemapb.FieldData

func (*InsertRecord) GetNumRows

func (x *InsertRecord) GetNumRows() int64

func (*InsertRecord) ProtoMessage

func (*InsertRecord) ProtoMessage()

func (*InsertRecord) ProtoReflect

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

func (*InsertRecord) Reset

func (x *InsertRecord) Reset()

func (*InsertRecord) String

func (x *InsertRecord) String() string

type LoadFieldMeta

type LoadFieldMeta struct {
	MinTimestamp int64 `protobuf:"varint,1,opt,name=min_timestamp,json=minTimestamp,proto3" json:"min_timestamp,omitempty"`
	MaxTimestamp int64 `protobuf:"varint,2,opt,name=max_timestamp,json=maxTimestamp,proto3" json:"max_timestamp,omitempty"`
	RowCount     int64 `protobuf:"varint,3,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadFieldMeta) Descriptor deprecated

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

Deprecated: Use LoadFieldMeta.ProtoReflect.Descriptor instead.

func (*LoadFieldMeta) GetMaxTimestamp

func (x *LoadFieldMeta) GetMaxTimestamp() int64

func (*LoadFieldMeta) GetMinTimestamp

func (x *LoadFieldMeta) GetMinTimestamp() int64

func (*LoadFieldMeta) GetRowCount

func (x *LoadFieldMeta) GetRowCount() int64

func (*LoadFieldMeta) ProtoMessage

func (*LoadFieldMeta) ProtoMessage()

func (*LoadFieldMeta) ProtoReflect

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

func (*LoadFieldMeta) Reset

func (x *LoadFieldMeta) Reset()

func (*LoadFieldMeta) String

func (x *LoadFieldMeta) String() string

type LoadSegmentMeta

type LoadSegmentMeta struct {

	// TODOs
	Metas     []*LoadFieldMeta `protobuf:"bytes,1,rep,name=metas,proto3" json:"metas,omitempty"`
	TotalSize int64            `protobuf:"varint,2,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadSegmentMeta) Descriptor deprecated

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

Deprecated: Use LoadSegmentMeta.ProtoReflect.Descriptor instead.

func (*LoadSegmentMeta) GetMetas

func (x *LoadSegmentMeta) GetMetas() []*LoadFieldMeta

func (*LoadSegmentMeta) GetTotalSize

func (x *LoadSegmentMeta) GetTotalSize() int64

func (*LoadSegmentMeta) ProtoMessage

func (*LoadSegmentMeta) ProtoMessage()

func (*LoadSegmentMeta) ProtoReflect

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

func (*LoadSegmentMeta) Reset

func (x *LoadSegmentMeta) Reset()

func (*LoadSegmentMeta) String

func (x *LoadSegmentMeta) String() string

type RetrieveResults

type RetrieveResults struct {
	Ids              *schemapb.IDs         `protobuf:"bytes,1,opt,name=ids,proto3" json:"ids,omitempty"`
	Offset           []int64               `protobuf:"varint,2,rep,packed,name=offset,proto3" json:"offset,omitempty"`
	FieldsData       []*schemapb.FieldData `protobuf:"bytes,3,rep,name=fields_data,json=fieldsData,proto3" json:"fields_data,omitempty"`
	AllRetrieveCount int64                 `protobuf:"varint,4,opt,name=all_retrieve_count,json=allRetrieveCount,proto3" json:"all_retrieve_count,omitempty"`
	HasMoreResult    bool                  `protobuf:"varint,5,opt,name=has_more_result,json=hasMoreResult,proto3" json:"has_more_result,omitempty"`
	// contains filtered or unexported fields
}

func (*RetrieveResults) Descriptor deprecated

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

Deprecated: Use RetrieveResults.ProtoReflect.Descriptor instead.

func (*RetrieveResults) GetAllRetrieveCount

func (x *RetrieveResults) GetAllRetrieveCount() int64

func (*RetrieveResults) GetFieldsData

func (x *RetrieveResults) GetFieldsData() []*schemapb.FieldData

func (*RetrieveResults) GetHasMoreResult

func (x *RetrieveResults) GetHasMoreResult() bool

func (*RetrieveResults) GetIds

func (x *RetrieveResults) GetIds() *schemapb.IDs

func (*RetrieveResults) GetOffset

func (x *RetrieveResults) GetOffset() []int64

func (*RetrieveResults) ProtoMessage

func (*RetrieveResults) ProtoMessage()

func (*RetrieveResults) ProtoReflect

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

func (*RetrieveResults) Reset

func (x *RetrieveResults) Reset()

func (*RetrieveResults) String

func (x *RetrieveResults) String() string

Jump to

Keyboard shortcuts

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