Documentation
¶
Index ¶
- Variables
- type Binary
- type BinarySet
- type BuildIndexInfo
- func (*BuildIndexInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BuildIndexInfo) GetBuildID() int64
- func (x *BuildIndexInfo) GetClusterID() string
- func (x *BuildIndexInfo) GetCollectionID() int64
- func (x *BuildIndexInfo) GetCurrentIndexVersion() int32
- func (x *BuildIndexInfo) GetCurrentScalarIndexVersion() int32
- func (x *BuildIndexInfo) GetDim() int64
- func (x *BuildIndexInfo) GetFieldSchema() *schemapb.FieldSchema
- func (x *BuildIndexInfo) GetIndexFilePrefix() string
- func (x *BuildIndexInfo) GetIndexParams() []*commonpb.KeyValuePair
- func (x *BuildIndexInfo) GetIndexStorePath() string
- func (x *BuildIndexInfo) GetIndexVersion() int64
- func (x *BuildIndexInfo) GetInsertFiles() []string
- func (x *BuildIndexInfo) GetJsonKeyStatsTantivyMemory() int64
- func (x *BuildIndexInfo) GetJsonStatsMaxShreddingColumns() int64
- func (x *BuildIndexInfo) GetJsonStatsShreddingRatioThreshold() float64
- func (x *BuildIndexInfo) GetJsonStatsWriteBatchSize() int64
- func (x *BuildIndexInfo) GetLackBinlogRows() int64
- func (x *BuildIndexInfo) GetNumRows() int64
- func (x *BuildIndexInfo) GetOptFields() []*OptionalFieldInfo
- func (x *BuildIndexInfo) GetPartitionID() int64
- func (x *BuildIndexInfo) GetPartitionKeyIsolation() bool
- func (x *BuildIndexInfo) GetSegmentID() int64
- func (x *BuildIndexInfo) GetSegmentInsertFiles() *SegmentInsertFiles
- func (x *BuildIndexInfo) GetStorageConfig() *StorageConfig
- func (x *BuildIndexInfo) GetStoragePluginContext() *StoragePluginContext
- func (x *BuildIndexInfo) GetStorageVersion() int64
- func (x *BuildIndexInfo) GetStorePath() string
- func (x *BuildIndexInfo) GetStoreVersion() int64
- func (x *BuildIndexInfo) GetTypeParams() []*commonpb.KeyValuePair
- func (*BuildIndexInfo) ProtoMessage()
- func (x *BuildIndexInfo) ProtoReflect() protoreflect.Message
- func (x *BuildIndexInfo) Reset()
- func (x *BuildIndexInfo) String() string
- type FieldInsertFiles
- type IndexParams
- type LoadJsonKeyIndexInfo
- func (*LoadJsonKeyIndexInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LoadJsonKeyIndexInfo) GetBuildID() int64
- func (x *LoadJsonKeyIndexInfo) GetCollectionID() int64
- func (x *LoadJsonKeyIndexInfo) GetEnableMmap() bool
- func (x *LoadJsonKeyIndexInfo) GetFieldID() int64
- func (x *LoadJsonKeyIndexInfo) GetFiles() []string
- func (x *LoadJsonKeyIndexInfo) GetLoadPriority() commonpb.LoadPriority
- func (x *LoadJsonKeyIndexInfo) GetMmapDirPath() string
- func (x *LoadJsonKeyIndexInfo) GetPartitionID() int64
- func (x *LoadJsonKeyIndexInfo) GetSchema() *schemapb.FieldSchema
- func (x *LoadJsonKeyIndexInfo) GetStatsSize() int64
- func (x *LoadJsonKeyIndexInfo) GetVersion() int64
- func (*LoadJsonKeyIndexInfo) ProtoMessage()
- func (x *LoadJsonKeyIndexInfo) ProtoReflect() protoreflect.Message
- func (x *LoadJsonKeyIndexInfo) Reset()
- func (x *LoadJsonKeyIndexInfo) String() string
- type LoadTextIndexInfo
- func (*LoadTextIndexInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LoadTextIndexInfo) GetBuildID() int64
- func (x *LoadTextIndexInfo) GetCollectionID() int64
- func (x *LoadTextIndexInfo) GetEnableMmap() bool
- func (x *LoadTextIndexInfo) GetFieldID() int64
- func (x *LoadTextIndexInfo) GetFiles() []string
- func (x *LoadTextIndexInfo) GetIndexSize() int64
- func (x *LoadTextIndexInfo) GetLoadPriority() commonpb.LoadPriority
- func (x *LoadTextIndexInfo) GetPartitionID() int64
- func (x *LoadTextIndexInfo) GetSchema() *schemapb.FieldSchema
- func (x *LoadTextIndexInfo) GetVersion() int64
- func (*LoadTextIndexInfo) ProtoMessage()
- func (x *LoadTextIndexInfo) ProtoReflect() protoreflect.Message
- func (x *LoadTextIndexInfo) Reset()
- func (x *LoadTextIndexInfo) String() string
- type MapParams
- type MapParamsV2
- type OptionalFieldInfo
- func (*OptionalFieldInfo) Descriptor() ([]byte, []int)deprecated
- func (x *OptionalFieldInfo) GetDataPaths() []string
- func (x *OptionalFieldInfo) GetElementType() int32
- func (x *OptionalFieldInfo) GetFieldID() int64
- func (x *OptionalFieldInfo) GetFieldName() string
- func (x *OptionalFieldInfo) GetFieldType() int32
- func (*OptionalFieldInfo) ProtoMessage()
- func (x *OptionalFieldInfo) ProtoReflect() protoreflect.Message
- func (x *OptionalFieldInfo) Reset()
- func (x *OptionalFieldInfo) String() string
- type SegmentInsertFiles
- func (*SegmentInsertFiles) Descriptor() ([]byte, []int)deprecated
- func (x *SegmentInsertFiles) GetFieldInsertFiles() []*FieldInsertFiles
- func (*SegmentInsertFiles) ProtoMessage()
- func (x *SegmentInsertFiles) ProtoReflect() protoreflect.Message
- func (x *SegmentInsertFiles) Reset()
- func (x *SegmentInsertFiles) String() string
- type StorageConfig
- func (*StorageConfig) Descriptor() ([]byte, []int)deprecated
- func (x *StorageConfig) GetAccessKeyID() string
- func (x *StorageConfig) GetAddress() string
- func (x *StorageConfig) GetBucketName() string
- func (x *StorageConfig) GetCloudProvider() string
- func (x *StorageConfig) GetGcpCredentialJSON() string
- func (x *StorageConfig) GetIAMEndpoint() string
- func (x *StorageConfig) GetRegion() string
- func (x *StorageConfig) GetRequestTimeoutMs() int64
- func (x *StorageConfig) GetRootPath() string
- func (x *StorageConfig) GetSecretAccessKey() string
- func (x *StorageConfig) GetSslCACert() string
- func (x *StorageConfig) GetStorageType() string
- func (x *StorageConfig) GetUseIAM() bool
- func (x *StorageConfig) GetUseSSL() bool
- func (x *StorageConfig) GetUseVirtualHost() bool
- func (*StorageConfig) ProtoMessage()
- func (x *StorageConfig) ProtoReflect() protoreflect.Message
- func (x *StorageConfig) Reset()
- func (x *StorageConfig) String() string
- type StoragePluginContext
- func (*StoragePluginContext) Descriptor() ([]byte, []int)deprecated
- func (x *StoragePluginContext) GetCollectionId() int64
- func (x *StoragePluginContext) GetEncryptionKey() string
- func (x *StoragePluginContext) GetEncryptionZoneId() int64
- func (*StoragePluginContext) ProtoMessage()
- func (x *StoragePluginContext) ProtoReflect() protoreflect.Message
- func (x *StoragePluginContext) Reset()
- func (x *StoragePluginContext) String() string
- type TypeParams
Constants ¶
This section is empty.
Variables ¶
var File_index_cgo_msg_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Binary ¶
type Binary struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*Binary) Descriptor
deprecated
func (*Binary) ProtoMessage ¶
func (*Binary) ProtoMessage()
func (*Binary) ProtoReflect ¶
func (x *Binary) ProtoReflect() protoreflect.Message
type BinarySet ¶
type BinarySet struct {
Datas []*Binary `protobuf:"bytes,1,rep,name=datas,proto3" json:"datas,omitempty"`
// contains filtered or unexported fields
}
func (*BinarySet) Descriptor
deprecated
func (*BinarySet) ProtoMessage ¶
func (*BinarySet) ProtoMessage()
func (*BinarySet) ProtoReflect ¶
func (x *BinarySet) ProtoReflect() protoreflect.Message
type BuildIndexInfo ¶
type BuildIndexInfo struct {
ClusterID string `protobuf:"bytes,1,opt,name=clusterID,proto3" json:"clusterID,omitempty"`
BuildID int64 `protobuf:"varint,2,opt,name=buildID,proto3" json:"buildID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionID int64 `protobuf:"varint,4,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
SegmentID int64 `protobuf:"varint,5,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
IndexVersion int64 `protobuf:"varint,6,opt,name=index_version,json=indexVersion,proto3" json:"index_version,omitempty"`
CurrentIndexVersion int32 `protobuf:"varint,7,opt,name=current_index_version,json=currentIndexVersion,proto3" json:"current_index_version,omitempty"`
NumRows int64 `protobuf:"varint,8,opt,name=num_rows,json=numRows,proto3" json:"num_rows,omitempty"`
Dim int64 `protobuf:"varint,9,opt,name=dim,proto3" json:"dim,omitempty"`
IndexFilePrefix string `protobuf:"bytes,10,opt,name=index_file_prefix,json=indexFilePrefix,proto3" json:"index_file_prefix,omitempty"`
InsertFiles []string `protobuf:"bytes,11,rep,name=insert_files,json=insertFiles,proto3" json:"insert_files,omitempty"`
// repeated int64 data_ids = 12;
FieldSchema *schemapb.FieldSchema `protobuf:"bytes,12,opt,name=field_schema,json=fieldSchema,proto3" json:"field_schema,omitempty"`
StorageConfig *StorageConfig `protobuf:"bytes,13,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"`
IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,14,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"`
TypeParams []*commonpb.KeyValuePair `protobuf:"bytes,15,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"`
StorePath string `protobuf:"bytes,16,opt,name=store_path,json=storePath,proto3" json:"store_path,omitempty"`
StoreVersion int64 `protobuf:"varint,17,opt,name=store_version,json=storeVersion,proto3" json:"store_version,omitempty"`
IndexStorePath string `protobuf:"bytes,18,opt,name=index_store_path,json=indexStorePath,proto3" json:"index_store_path,omitempty"`
OptFields []*OptionalFieldInfo `protobuf:"bytes,19,rep,name=opt_fields,json=optFields,proto3" json:"opt_fields,omitempty"`
PartitionKeyIsolation bool `` /* 128-byte string literal not displayed */
CurrentScalarIndexVersion int32 `` /* 142-byte string literal not displayed */
JsonKeyStatsTantivyMemory int64 `` /* 144-byte string literal not displayed */
LackBinlogRows int64 `protobuf:"varint,23,opt,name=lack_binlog_rows,json=lackBinlogRows,proto3" json:"lack_binlog_rows,omitempty"`
StorageVersion int64 `protobuf:"varint,24,opt,name=storage_version,json=storageVersion,proto3" json:"storage_version,omitempty"`
SegmentInsertFiles *SegmentInsertFiles `protobuf:"bytes,25,opt,name=segment_insert_files,json=segmentInsertFiles,proto3" json:"segment_insert_files,omitempty"`
StoragePluginContext *StoragePluginContext `protobuf:"bytes,26,opt,name=storage_plugin_context,json=storagePluginContext,proto3" json:"storage_plugin_context,omitempty"`
JsonStatsMaxShreddingColumns int64 `` /* 153-byte string literal not displayed */
JsonStatsShreddingRatioThreshold float64 `` /* 166-byte string literal not displayed */
JsonStatsWriteBatchSize int64 `` /* 138-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*BuildIndexInfo) Descriptor
deprecated
func (*BuildIndexInfo) Descriptor() ([]byte, []int)
Deprecated: Use BuildIndexInfo.ProtoReflect.Descriptor instead.
func (*BuildIndexInfo) GetBuildID ¶
func (x *BuildIndexInfo) GetBuildID() int64
func (*BuildIndexInfo) GetClusterID ¶
func (x *BuildIndexInfo) GetClusterID() string
func (*BuildIndexInfo) GetCollectionID ¶
func (x *BuildIndexInfo) GetCollectionID() int64
func (*BuildIndexInfo) GetCurrentIndexVersion ¶
func (x *BuildIndexInfo) GetCurrentIndexVersion() int32
func (*BuildIndexInfo) GetCurrentScalarIndexVersion ¶
func (x *BuildIndexInfo) GetCurrentScalarIndexVersion() int32
func (*BuildIndexInfo) GetDim ¶
func (x *BuildIndexInfo) GetDim() int64
func (*BuildIndexInfo) GetFieldSchema ¶
func (x *BuildIndexInfo) GetFieldSchema() *schemapb.FieldSchema
func (*BuildIndexInfo) GetIndexFilePrefix ¶
func (x *BuildIndexInfo) GetIndexFilePrefix() string
func (*BuildIndexInfo) GetIndexParams ¶
func (x *BuildIndexInfo) GetIndexParams() []*commonpb.KeyValuePair
func (*BuildIndexInfo) GetIndexStorePath ¶
func (x *BuildIndexInfo) GetIndexStorePath() string
func (*BuildIndexInfo) GetIndexVersion ¶
func (x *BuildIndexInfo) GetIndexVersion() int64
func (*BuildIndexInfo) GetInsertFiles ¶
func (x *BuildIndexInfo) GetInsertFiles() []string
func (*BuildIndexInfo) GetJsonKeyStatsTantivyMemory ¶ added in v2.5.7
func (x *BuildIndexInfo) GetJsonKeyStatsTantivyMemory() int64
func (*BuildIndexInfo) GetJsonStatsMaxShreddingColumns ¶ added in v2.6.2
func (x *BuildIndexInfo) GetJsonStatsMaxShreddingColumns() int64
func (*BuildIndexInfo) GetJsonStatsShreddingRatioThreshold ¶ added in v2.6.2
func (x *BuildIndexInfo) GetJsonStatsShreddingRatioThreshold() float64
func (*BuildIndexInfo) GetJsonStatsWriteBatchSize ¶ added in v2.6.2
func (x *BuildIndexInfo) GetJsonStatsWriteBatchSize() int64
func (*BuildIndexInfo) GetLackBinlogRows ¶ added in v2.6.0
func (x *BuildIndexInfo) GetLackBinlogRows() int64
func (*BuildIndexInfo) GetNumRows ¶
func (x *BuildIndexInfo) GetNumRows() int64
func (*BuildIndexInfo) GetOptFields ¶
func (x *BuildIndexInfo) GetOptFields() []*OptionalFieldInfo
func (*BuildIndexInfo) GetPartitionID ¶
func (x *BuildIndexInfo) GetPartitionID() int64
func (*BuildIndexInfo) GetPartitionKeyIsolation ¶
func (x *BuildIndexInfo) GetPartitionKeyIsolation() bool
func (*BuildIndexInfo) GetSegmentID ¶
func (x *BuildIndexInfo) GetSegmentID() int64
func (*BuildIndexInfo) GetSegmentInsertFiles ¶ added in v2.6.0
func (x *BuildIndexInfo) GetSegmentInsertFiles() *SegmentInsertFiles
func (*BuildIndexInfo) GetStorageConfig ¶
func (x *BuildIndexInfo) GetStorageConfig() *StorageConfig
func (*BuildIndexInfo) GetStoragePluginContext ¶ added in v2.6.1
func (x *BuildIndexInfo) GetStoragePluginContext() *StoragePluginContext
func (*BuildIndexInfo) GetStorageVersion ¶ added in v2.6.0
func (x *BuildIndexInfo) GetStorageVersion() int64
func (*BuildIndexInfo) GetStorePath ¶
func (x *BuildIndexInfo) GetStorePath() string
func (*BuildIndexInfo) GetStoreVersion ¶
func (x *BuildIndexInfo) GetStoreVersion() int64
func (*BuildIndexInfo) GetTypeParams ¶
func (x *BuildIndexInfo) GetTypeParams() []*commonpb.KeyValuePair
func (*BuildIndexInfo) ProtoMessage ¶
func (*BuildIndexInfo) ProtoMessage()
func (*BuildIndexInfo) ProtoReflect ¶
func (x *BuildIndexInfo) ProtoReflect() protoreflect.Message
func (*BuildIndexInfo) Reset ¶
func (x *BuildIndexInfo) Reset()
func (*BuildIndexInfo) String ¶
func (x *BuildIndexInfo) String() string
type FieldInsertFiles ¶ added in v2.6.0
type FieldInsertFiles struct {
FilePaths []string `protobuf:"bytes,1,rep,name=file_paths,json=filePaths,proto3" json:"file_paths,omitempty"`
// contains filtered or unexported fields
}
func (*FieldInsertFiles) Descriptor
deprecated
added in
v2.6.0
func (*FieldInsertFiles) Descriptor() ([]byte, []int)
Deprecated: Use FieldInsertFiles.ProtoReflect.Descriptor instead.
func (*FieldInsertFiles) GetFilePaths ¶ added in v2.6.0
func (x *FieldInsertFiles) GetFilePaths() []string
func (*FieldInsertFiles) ProtoMessage ¶ added in v2.6.0
func (*FieldInsertFiles) ProtoMessage()
func (*FieldInsertFiles) ProtoReflect ¶ added in v2.6.0
func (x *FieldInsertFiles) ProtoReflect() protoreflect.Message
func (*FieldInsertFiles) Reset ¶ added in v2.6.0
func (x *FieldInsertFiles) Reset()
func (*FieldInsertFiles) String ¶ added in v2.6.0
func (x *FieldInsertFiles) String() string
type IndexParams ¶
type IndexParams struct {
Params []*commonpb.KeyValuePair `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}
func (*IndexParams) Descriptor
deprecated
func (*IndexParams) Descriptor() ([]byte, []int)
Deprecated: Use IndexParams.ProtoReflect.Descriptor instead.
func (*IndexParams) GetParams ¶
func (x *IndexParams) GetParams() []*commonpb.KeyValuePair
func (*IndexParams) ProtoMessage ¶
func (*IndexParams) ProtoMessage()
func (*IndexParams) ProtoReflect ¶
func (x *IndexParams) ProtoReflect() protoreflect.Message
func (*IndexParams) Reset ¶
func (x *IndexParams) Reset()
func (*IndexParams) String ¶
func (x *IndexParams) String() string
type LoadJsonKeyIndexInfo ¶
type LoadJsonKeyIndexInfo struct {
FieldID int64 `protobuf:"varint,1,opt,name=FieldID,proto3" json:"FieldID,omitempty"`
Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
BuildID int64 `protobuf:"varint,3,opt,name=buildID,proto3" json:"buildID,omitempty"`
Files []string `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"`
Schema *schemapb.FieldSchema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`
CollectionID int64 `protobuf:"varint,6,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionID int64 `protobuf:"varint,7,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
LoadPriority commonpb.LoadPriority `` /* 136-byte string literal not displayed */
EnableMmap bool `protobuf:"varint,9,opt,name=enable_mmap,json=enableMmap,proto3" json:"enable_mmap,omitempty"`
MmapDirPath string `protobuf:"bytes,10,opt,name=mmap_dir_path,json=mmapDirPath,proto3" json:"mmap_dir_path,omitempty"`
StatsSize int64 `protobuf:"varint,11,opt,name=stats_size,json=statsSize,proto3" json:"stats_size,omitempty"`
// contains filtered or unexported fields
}
func (*LoadJsonKeyIndexInfo) Descriptor
deprecated
func (*LoadJsonKeyIndexInfo) Descriptor() ([]byte, []int)
Deprecated: Use LoadJsonKeyIndexInfo.ProtoReflect.Descriptor instead.
func (*LoadJsonKeyIndexInfo) GetBuildID ¶
func (x *LoadJsonKeyIndexInfo) GetBuildID() int64
func (*LoadJsonKeyIndexInfo) GetCollectionID ¶
func (x *LoadJsonKeyIndexInfo) GetCollectionID() int64
func (*LoadJsonKeyIndexInfo) GetEnableMmap ¶ added in v2.6.0
func (x *LoadJsonKeyIndexInfo) GetEnableMmap() bool
func (*LoadJsonKeyIndexInfo) GetFieldID ¶
func (x *LoadJsonKeyIndexInfo) GetFieldID() int64
func (*LoadJsonKeyIndexInfo) GetFiles ¶
func (x *LoadJsonKeyIndexInfo) GetFiles() []string
func (*LoadJsonKeyIndexInfo) GetLoadPriority ¶ added in v2.6.0
func (x *LoadJsonKeyIndexInfo) GetLoadPriority() commonpb.LoadPriority
func (*LoadJsonKeyIndexInfo) GetMmapDirPath ¶ added in v2.6.2
func (x *LoadJsonKeyIndexInfo) GetMmapDirPath() string
func (*LoadJsonKeyIndexInfo) GetPartitionID ¶
func (x *LoadJsonKeyIndexInfo) GetPartitionID() int64
func (*LoadJsonKeyIndexInfo) GetSchema ¶
func (x *LoadJsonKeyIndexInfo) GetSchema() *schemapb.FieldSchema
func (*LoadJsonKeyIndexInfo) GetStatsSize ¶ added in v2.6.3
func (x *LoadJsonKeyIndexInfo) GetStatsSize() int64
func (*LoadJsonKeyIndexInfo) GetVersion ¶
func (x *LoadJsonKeyIndexInfo) GetVersion() int64
func (*LoadJsonKeyIndexInfo) ProtoMessage ¶
func (*LoadJsonKeyIndexInfo) ProtoMessage()
func (*LoadJsonKeyIndexInfo) ProtoReflect ¶
func (x *LoadJsonKeyIndexInfo) ProtoReflect() protoreflect.Message
func (*LoadJsonKeyIndexInfo) Reset ¶
func (x *LoadJsonKeyIndexInfo) Reset()
func (*LoadJsonKeyIndexInfo) String ¶
func (x *LoadJsonKeyIndexInfo) String() string
type LoadTextIndexInfo ¶
type LoadTextIndexInfo struct {
FieldID int64 `protobuf:"varint,1,opt,name=FieldID,proto3" json:"FieldID,omitempty"`
Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
BuildID int64 `protobuf:"varint,3,opt,name=buildID,proto3" json:"buildID,omitempty"`
Files []string `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"`
Schema *schemapb.FieldSchema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`
CollectionID int64 `protobuf:"varint,6,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionID int64 `protobuf:"varint,7,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
LoadPriority commonpb.LoadPriority `` /* 136-byte string literal not displayed */
EnableMmap bool `protobuf:"varint,9,opt,name=enable_mmap,json=enableMmap,proto3" json:"enable_mmap,omitempty"`
IndexSize int64 `protobuf:"varint,10,opt,name=index_size,json=indexSize,proto3" json:"index_size,omitempty"`
// contains filtered or unexported fields
}
func (*LoadTextIndexInfo) Descriptor
deprecated
func (*LoadTextIndexInfo) Descriptor() ([]byte, []int)
Deprecated: Use LoadTextIndexInfo.ProtoReflect.Descriptor instead.
func (*LoadTextIndexInfo) GetBuildID ¶
func (x *LoadTextIndexInfo) GetBuildID() int64
func (*LoadTextIndexInfo) GetCollectionID ¶
func (x *LoadTextIndexInfo) GetCollectionID() int64
func (*LoadTextIndexInfo) GetEnableMmap ¶ added in v2.6.0
func (x *LoadTextIndexInfo) GetEnableMmap() bool
func (*LoadTextIndexInfo) GetFieldID ¶
func (x *LoadTextIndexInfo) GetFieldID() int64
func (*LoadTextIndexInfo) GetFiles ¶
func (x *LoadTextIndexInfo) GetFiles() []string
func (*LoadTextIndexInfo) GetIndexSize ¶ added in v2.6.4
func (x *LoadTextIndexInfo) GetIndexSize() int64
func (*LoadTextIndexInfo) GetLoadPriority ¶ added in v2.6.0
func (x *LoadTextIndexInfo) GetLoadPriority() commonpb.LoadPriority
func (*LoadTextIndexInfo) GetPartitionID ¶
func (x *LoadTextIndexInfo) GetPartitionID() int64
func (*LoadTextIndexInfo) GetSchema ¶
func (x *LoadTextIndexInfo) GetSchema() *schemapb.FieldSchema
func (*LoadTextIndexInfo) GetVersion ¶
func (x *LoadTextIndexInfo) GetVersion() int64
func (*LoadTextIndexInfo) ProtoMessage ¶
func (*LoadTextIndexInfo) ProtoMessage()
func (*LoadTextIndexInfo) ProtoReflect ¶
func (x *LoadTextIndexInfo) ProtoReflect() protoreflect.Message
func (*LoadTextIndexInfo) Reset ¶
func (x *LoadTextIndexInfo) Reset()
func (*LoadTextIndexInfo) String ¶
func (x *LoadTextIndexInfo) String() string
type MapParams ¶
type MapParams struct {
Params []*commonpb.KeyValuePair `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}
TypeParams & IndexParams will be replaced by MapParams later
func (*MapParams) Descriptor
deprecated
func (*MapParams) GetParams ¶
func (x *MapParams) GetParams() []*commonpb.KeyValuePair
func (*MapParams) ProtoMessage ¶
func (*MapParams) ProtoMessage()
func (*MapParams) ProtoReflect ¶
func (x *MapParams) ProtoReflect() protoreflect.Message
type MapParamsV2 ¶
type MapParamsV2 struct {
Params map[string]string `` /* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*MapParamsV2) Descriptor
deprecated
func (*MapParamsV2) Descriptor() ([]byte, []int)
Deprecated: Use MapParamsV2.ProtoReflect.Descriptor instead.
func (*MapParamsV2) GetParams ¶
func (x *MapParamsV2) GetParams() map[string]string
func (*MapParamsV2) ProtoMessage ¶
func (*MapParamsV2) ProtoMessage()
func (*MapParamsV2) ProtoReflect ¶
func (x *MapParamsV2) ProtoReflect() protoreflect.Message
func (*MapParamsV2) Reset ¶
func (x *MapParamsV2) Reset()
func (*MapParamsV2) String ¶
func (x *MapParamsV2) String() string
type OptionalFieldInfo ¶
type OptionalFieldInfo struct {
FieldID int64 `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
FieldName string `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
FieldType int32 `protobuf:"varint,3,opt,name=field_type,json=fieldType,proto3" json:"field_type,omitempty"`
DataPaths []string `protobuf:"bytes,4,rep,name=data_paths,json=dataPaths,proto3" json:"data_paths,omitempty"`
ElementType int32 `protobuf:"varint,5,opt,name=element_type,json=elementType,proto3" json:"element_type,omitempty"`
// contains filtered or unexported fields
}
Synchronously modify OptionalFieldInfo in index_coord.proto file
func (*OptionalFieldInfo) Descriptor
deprecated
func (*OptionalFieldInfo) Descriptor() ([]byte, []int)
Deprecated: Use OptionalFieldInfo.ProtoReflect.Descriptor instead.
func (*OptionalFieldInfo) GetDataPaths ¶
func (x *OptionalFieldInfo) GetDataPaths() []string
func (*OptionalFieldInfo) GetElementType ¶ added in v2.6.2
func (x *OptionalFieldInfo) GetElementType() int32
func (*OptionalFieldInfo) GetFieldID ¶
func (x *OptionalFieldInfo) GetFieldID() int64
func (*OptionalFieldInfo) GetFieldName ¶
func (x *OptionalFieldInfo) GetFieldName() string
func (*OptionalFieldInfo) GetFieldType ¶
func (x *OptionalFieldInfo) GetFieldType() int32
func (*OptionalFieldInfo) ProtoMessage ¶
func (*OptionalFieldInfo) ProtoMessage()
func (*OptionalFieldInfo) ProtoReflect ¶
func (x *OptionalFieldInfo) ProtoReflect() protoreflect.Message
func (*OptionalFieldInfo) Reset ¶
func (x *OptionalFieldInfo) Reset()
func (*OptionalFieldInfo) String ¶
func (x *OptionalFieldInfo) String() string
type SegmentInsertFiles ¶ added in v2.6.0
type SegmentInsertFiles struct {
FieldInsertFiles []*FieldInsertFiles `protobuf:"bytes,1,rep,name=field_insert_files,json=fieldInsertFiles,proto3" json:"field_insert_files,omitempty"`
// contains filtered or unexported fields
}
segment insert files include all field insert files
func (*SegmentInsertFiles) Descriptor
deprecated
added in
v2.6.0
func (*SegmentInsertFiles) Descriptor() ([]byte, []int)
Deprecated: Use SegmentInsertFiles.ProtoReflect.Descriptor instead.
func (*SegmentInsertFiles) GetFieldInsertFiles ¶ added in v2.6.0
func (x *SegmentInsertFiles) GetFieldInsertFiles() []*FieldInsertFiles
func (*SegmentInsertFiles) ProtoMessage ¶ added in v2.6.0
func (*SegmentInsertFiles) ProtoMessage()
func (*SegmentInsertFiles) ProtoReflect ¶ added in v2.6.0
func (x *SegmentInsertFiles) ProtoReflect() protoreflect.Message
func (*SegmentInsertFiles) Reset ¶ added in v2.6.0
func (x *SegmentInsertFiles) Reset()
func (*SegmentInsertFiles) String ¶ added in v2.6.0
func (x *SegmentInsertFiles) String() string
type StorageConfig ¶
type StorageConfig struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
AccessKeyID string `protobuf:"bytes,2,opt,name=access_keyID,json=accessKeyID,proto3" json:"access_keyID,omitempty"`
SecretAccessKey string `protobuf:"bytes,3,opt,name=secret_access_key,json=secretAccessKey,proto3" json:"secret_access_key,omitempty"`
UseSSL bool `protobuf:"varint,4,opt,name=useSSL,proto3" json:"useSSL,omitempty"`
BucketName string `protobuf:"bytes,5,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
RootPath string `protobuf:"bytes,6,opt,name=root_path,json=rootPath,proto3" json:"root_path,omitempty"`
UseIAM bool `protobuf:"varint,7,opt,name=useIAM,proto3" json:"useIAM,omitempty"`
IAMEndpoint string `protobuf:"bytes,8,opt,name=IAMEndpoint,proto3" json:"IAMEndpoint,omitempty"`
StorageType string `protobuf:"bytes,9,opt,name=storage_type,json=storageType,proto3" json:"storage_type,omitempty"`
UseVirtualHost bool `protobuf:"varint,10,opt,name=use_virtual_host,json=useVirtualHost,proto3" json:"use_virtual_host,omitempty"`
Region string `protobuf:"bytes,11,opt,name=region,proto3" json:"region,omitempty"`
CloudProvider string `protobuf:"bytes,12,opt,name=cloud_provider,json=cloudProvider,proto3" json:"cloud_provider,omitempty"`
RequestTimeoutMs int64 `protobuf:"varint,13,opt,name=request_timeout_ms,json=requestTimeoutMs,proto3" json:"request_timeout_ms,omitempty"`
SslCACert string `protobuf:"bytes,14,opt,name=sslCACert,proto3" json:"sslCACert,omitempty"`
GcpCredentialJSON string `protobuf:"bytes,15,opt,name=GcpCredentialJSON,proto3" json:"GcpCredentialJSON,omitempty"`
// contains filtered or unexported fields
}
Synchronously modify StorageConfig in index_coord.proto file
func (*StorageConfig) Descriptor
deprecated
func (*StorageConfig) Descriptor() ([]byte, []int)
Deprecated: Use StorageConfig.ProtoReflect.Descriptor instead.
func (*StorageConfig) GetAccessKeyID ¶
func (x *StorageConfig) GetAccessKeyID() string
func (*StorageConfig) GetAddress ¶
func (x *StorageConfig) GetAddress() string
func (*StorageConfig) GetBucketName ¶
func (x *StorageConfig) GetBucketName() string
func (*StorageConfig) GetCloudProvider ¶
func (x *StorageConfig) GetCloudProvider() string
func (*StorageConfig) GetGcpCredentialJSON ¶
func (x *StorageConfig) GetGcpCredentialJSON() string
func (*StorageConfig) GetIAMEndpoint ¶
func (x *StorageConfig) GetIAMEndpoint() string
func (*StorageConfig) GetRegion ¶
func (x *StorageConfig) GetRegion() string
func (*StorageConfig) GetRequestTimeoutMs ¶
func (x *StorageConfig) GetRequestTimeoutMs() int64
func (*StorageConfig) GetRootPath ¶
func (x *StorageConfig) GetRootPath() string
func (*StorageConfig) GetSecretAccessKey ¶
func (x *StorageConfig) GetSecretAccessKey() string
func (*StorageConfig) GetSslCACert ¶
func (x *StorageConfig) GetSslCACert() string
func (*StorageConfig) GetStorageType ¶
func (x *StorageConfig) GetStorageType() string
func (*StorageConfig) GetUseIAM ¶
func (x *StorageConfig) GetUseIAM() bool
func (*StorageConfig) GetUseSSL ¶
func (x *StorageConfig) GetUseSSL() bool
func (*StorageConfig) GetUseVirtualHost ¶
func (x *StorageConfig) GetUseVirtualHost() bool
func (*StorageConfig) ProtoMessage ¶
func (*StorageConfig) ProtoMessage()
func (*StorageConfig) ProtoReflect ¶
func (x *StorageConfig) ProtoReflect() protoreflect.Message
func (*StorageConfig) Reset ¶
func (x *StorageConfig) Reset()
func (*StorageConfig) String ¶
func (x *StorageConfig) String() string
type StoragePluginContext ¶ added in v2.6.1
type StoragePluginContext struct {
EncryptionZoneId int64 `protobuf:"varint,1,opt,name=encryption_zone_id,json=encryptionZoneId,proto3" json:"encryption_zone_id,omitempty"`
CollectionId int64 `protobuf:"varint,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"`
EncryptionKey string `protobuf:"bytes,3,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`
// contains filtered or unexported fields
}
func (*StoragePluginContext) Descriptor
deprecated
added in
v2.6.1
func (*StoragePluginContext) Descriptor() ([]byte, []int)
Deprecated: Use StoragePluginContext.ProtoReflect.Descriptor instead.
func (*StoragePluginContext) GetCollectionId ¶ added in v2.6.1
func (x *StoragePluginContext) GetCollectionId() int64
func (*StoragePluginContext) GetEncryptionKey ¶ added in v2.6.1
func (x *StoragePluginContext) GetEncryptionKey() string
func (*StoragePluginContext) GetEncryptionZoneId ¶ added in v2.6.1
func (x *StoragePluginContext) GetEncryptionZoneId() int64
func (*StoragePluginContext) ProtoMessage ¶ added in v2.6.1
func (*StoragePluginContext) ProtoMessage()
func (*StoragePluginContext) ProtoReflect ¶ added in v2.6.1
func (x *StoragePluginContext) ProtoReflect() protoreflect.Message
func (*StoragePluginContext) Reset ¶ added in v2.6.1
func (x *StoragePluginContext) Reset()
func (*StoragePluginContext) String ¶ added in v2.6.1
func (x *StoragePluginContext) String() string
type TypeParams ¶
type TypeParams struct {
Params []*commonpb.KeyValuePair `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}
func (*TypeParams) Descriptor
deprecated
func (*TypeParams) Descriptor() ([]byte, []int)
Deprecated: Use TypeParams.ProtoReflect.Descriptor instead.
func (*TypeParams) GetParams ¶
func (x *TypeParams) GetParams() []*commonpb.KeyValuePair
func (*TypeParams) ProtoMessage ¶
func (*TypeParams) ProtoMessage()
func (*TypeParams) ProtoReflect ¶
func (x *TypeParams) ProtoReflect() protoreflect.Message
func (*TypeParams) Reset ¶
func (x *TypeParams) Reset()
func (*TypeParams) String ¶
func (x *TypeParams) String() string