Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterMetadataReaderServer(s grpc.ServiceRegistrar, srv MetadataReaderServer)
- func RegisterSysDBServer(s grpc.ServiceRegistrar, srv SysDBServer)
- func RegisterVectorReaderServer(s grpc.ServiceRegistrar, srv VectorReaderServer)
- type BoolListComparison
- func (*BoolListComparison) Descriptor() ([]byte, []int)deprecated
- func (x *BoolListComparison) GetListOperator() ListOperator
- func (x *BoolListComparison) GetValues() []bool
- func (*BoolListComparison) ProtoMessage()
- func (x *BoolListComparison) ProtoReflect() protoreflect.Message
- func (x *BoolListComparison) Reset()
- func (x *BoolListComparison) String() string
- type BooleanOperator
- func (BooleanOperator) Descriptor() protoreflect.EnumDescriptor
- func (x BooleanOperator) Enum() *BooleanOperator
- func (BooleanOperator) EnumDescriptor() ([]byte, []int)deprecated
- func (x BooleanOperator) Number() protoreflect.EnumNumber
- func (x BooleanOperator) String() string
- func (BooleanOperator) Type() protoreflect.EnumType
- type CheckCollectionsRequest
- func (*CheckCollectionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckCollectionsRequest) GetCollectionIds() []string
- func (*CheckCollectionsRequest) ProtoMessage()
- func (x *CheckCollectionsRequest) ProtoReflect() protoreflect.Message
- func (x *CheckCollectionsRequest) Reset()
- func (x *CheckCollectionsRequest) String() string
- type CheckCollectionsResponse
- func (*CheckCollectionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckCollectionsResponse) GetDeleted() []bool
- func (*CheckCollectionsResponse) ProtoMessage()
- func (x *CheckCollectionsResponse) ProtoReflect() protoreflect.Message
- func (x *CheckCollectionsResponse) Reset()
- func (x *CheckCollectionsResponse) String() string
- type Collection
- func (*Collection) Descriptor() ([]byte, []int)deprecated
- func (x *Collection) GetConfigurationJsonStr() string
- func (x *Collection) GetDatabase() string
- func (x *Collection) GetDimension() int32
- func (x *Collection) GetId() string
- func (x *Collection) GetLogPosition() int64
- func (x *Collection) GetMetadata() *UpdateMetadata
- func (x *Collection) GetName() string
- func (x *Collection) GetTenant() string
- func (x *Collection) GetVersion() int32
- func (*Collection) ProtoMessage()
- func (x *Collection) ProtoReflect() protoreflect.Message
- func (x *Collection) Reset()
- func (x *Collection) String() string
- type CountRecordsRequest
- func (*CountRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CountRecordsRequest) GetCollectionId() string
- func (x *CountRecordsRequest) GetSegmentId() string
- func (x *CountRecordsRequest) GetVersionContext() *RequestVersionContext
- func (*CountRecordsRequest) ProtoMessage()
- func (x *CountRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *CountRecordsRequest) Reset()
- func (x *CountRecordsRequest) String() string
- type CountRecordsResponse
- func (*CountRecordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountRecordsResponse) GetCount() uint32
- func (*CountRecordsResponse) ProtoMessage()
- func (x *CountRecordsResponse) ProtoReflect() protoreflect.Message
- func (x *CountRecordsResponse) Reset()
- func (x *CountRecordsResponse) String() string
- type CreateCollectionRequest
- func (*CreateCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCollectionRequest) GetConfigurationJsonStr() string
- func (x *CreateCollectionRequest) GetDatabase() string
- func (x *CreateCollectionRequest) GetDimension() int32
- func (x *CreateCollectionRequest) GetGetOrCreate() bool
- func (x *CreateCollectionRequest) GetId() string
- func (x *CreateCollectionRequest) GetMetadata() *UpdateMetadata
- func (x *CreateCollectionRequest) GetName() string
- func (x *CreateCollectionRequest) GetSegments() []*Segment
- func (x *CreateCollectionRequest) GetTenant() string
- func (*CreateCollectionRequest) ProtoMessage()
- func (x *CreateCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCollectionRequest) Reset()
- func (x *CreateCollectionRequest) String() string
- type CreateCollectionResponse
- func (*CreateCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCollectionResponse) GetCollection() *Collection
- func (x *CreateCollectionResponse) GetCreated() bool
- func (*CreateCollectionResponse) ProtoMessage()
- func (x *CreateCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCollectionResponse) Reset()
- func (x *CreateCollectionResponse) String() string
- type CreateDatabaseRequest
- func (*CreateDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDatabaseRequest) GetId() string
- func (x *CreateDatabaseRequest) GetName() string
- func (x *CreateDatabaseRequest) GetTenant() string
- func (*CreateDatabaseRequest) ProtoMessage()
- func (x *CreateDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDatabaseRequest) Reset()
- func (x *CreateDatabaseRequest) String() string
- type CreateDatabaseResponse
- type CreateSegmentRequest
- func (*CreateSegmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSegmentRequest) GetSegment() *Segment
- func (*CreateSegmentRequest) ProtoMessage()
- func (x *CreateSegmentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSegmentRequest) Reset()
- func (x *CreateSegmentRequest) String() string
- type CreateSegmentResponse
- type CreateTenantRequest
- func (*CreateTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTenantRequest) GetName() string
- func (*CreateTenantRequest) ProtoMessage()
- func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTenantRequest) Reset()
- func (x *CreateTenantRequest) String() string
- type CreateTenantResponse
- type Database
- func (*Database) Descriptor() ([]byte, []int)deprecated
- func (x *Database) GetId() string
- func (x *Database) GetName() string
- func (x *Database) GetTenant() string
- func (*Database) ProtoMessage()
- func (x *Database) ProtoReflect() protoreflect.Message
- func (x *Database) Reset()
- func (x *Database) String() string
- type DeleteCollectionRequest
- func (*DeleteCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCollectionRequest) GetDatabase() string
- func (x *DeleteCollectionRequest) GetId() string
- func (x *DeleteCollectionRequest) GetSegmentIds() []string
- func (x *DeleteCollectionRequest) GetTenant() string
- func (*DeleteCollectionRequest) ProtoMessage()
- func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCollectionRequest) Reset()
- func (x *DeleteCollectionRequest) String() string
- type DeleteCollectionResponse
- type DeleteSegmentRequest
- func (*DeleteSegmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSegmentRequest) GetCollection() string
- func (x *DeleteSegmentRequest) GetId() string
- func (*DeleteSegmentRequest) ProtoMessage()
- func (x *DeleteSegmentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSegmentRequest) Reset()
- func (x *DeleteSegmentRequest) String() string
- type DeleteSegmentResponse
- type DirectComparison
- func (*DirectComparison) Descriptor() ([]byte, []int)deprecated
- func (x *DirectComparison) GetBoolListOperand() *BoolListComparison
- func (m *DirectComparison) GetComparison() isDirectComparison_Comparison
- func (x *DirectComparison) GetDoubleListOperand() *DoubleListComparison
- func (x *DirectComparison) GetIntListOperand() *IntListComparison
- func (x *DirectComparison) GetKey() string
- func (x *DirectComparison) GetSingleBoolOperand() *SingleBoolComparison
- func (x *DirectComparison) GetSingleDoubleOperand() *SingleDoubleComparison
- func (x *DirectComparison) GetSingleIntOperand() *SingleIntComparison
- func (x *DirectComparison) GetSingleStringOperand() *SingleStringComparison
- func (x *DirectComparison) GetStringListOperand() *StringListComparison
- func (*DirectComparison) ProtoMessage()
- func (x *DirectComparison) ProtoReflect() protoreflect.Message
- func (x *DirectComparison) Reset()
- func (x *DirectComparison) String() string
- type DirectComparison_BoolListOperand
- type DirectComparison_DoubleListOperand
- type DirectComparison_IntListOperand
- type DirectComparison_SingleBoolOperand
- type DirectComparison_SingleDoubleOperand
- type DirectComparison_SingleIntOperand
- type DirectComparison_SingleStringOperand
- type DirectComparison_StringListOperand
- type DirectWhereDocument
- func (*DirectWhereDocument) Descriptor() ([]byte, []int)deprecated
- func (x *DirectWhereDocument) GetDocument() string
- func (x *DirectWhereDocument) GetOperator() WhereDocumentOperator
- func (*DirectWhereDocument) ProtoMessage()
- func (x *DirectWhereDocument) ProtoReflect() protoreflect.Message
- func (x *DirectWhereDocument) Reset()
- func (x *DirectWhereDocument) String() string
- type DoubleListComparison
- func (*DoubleListComparison) Descriptor() ([]byte, []int)deprecated
- func (x *DoubleListComparison) GetListOperator() ListOperator
- func (x *DoubleListComparison) GetValues() []float64
- func (*DoubleListComparison) ProtoMessage()
- func (x *DoubleListComparison) ProtoReflect() protoreflect.Message
- func (x *DoubleListComparison) Reset()
- func (x *DoubleListComparison) String() string
- type FilePaths
- type FlushCollectionCompactionRequest
- func (*FlushCollectionCompactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FlushCollectionCompactionRequest) GetCollectionId() string
- func (x *FlushCollectionCompactionRequest) GetCollectionVersion() int32
- func (x *FlushCollectionCompactionRequest) GetLogPosition() int64
- func (x *FlushCollectionCompactionRequest) GetSegmentCompactionInfo() []*FlushSegmentCompactionInfo
- func (x *FlushCollectionCompactionRequest) GetTenantId() string
- func (*FlushCollectionCompactionRequest) ProtoMessage()
- func (x *FlushCollectionCompactionRequest) ProtoReflect() protoreflect.Message
- func (x *FlushCollectionCompactionRequest) Reset()
- func (x *FlushCollectionCompactionRequest) String() string
- type FlushCollectionCompactionResponse
- func (*FlushCollectionCompactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FlushCollectionCompactionResponse) GetCollectionId() string
- func (x *FlushCollectionCompactionResponse) GetCollectionVersion() int32
- func (x *FlushCollectionCompactionResponse) GetLastCompactionTime() int64
- func (*FlushCollectionCompactionResponse) ProtoMessage()
- func (x *FlushCollectionCompactionResponse) ProtoReflect() protoreflect.Message
- func (x *FlushCollectionCompactionResponse) Reset()
- func (x *FlushCollectionCompactionResponse) String() string
- type FlushSegmentCompactionInfo
- func (*FlushSegmentCompactionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FlushSegmentCompactionInfo) GetFilePaths() map[string]*FilePaths
- func (x *FlushSegmentCompactionInfo) GetSegmentId() string
- func (*FlushSegmentCompactionInfo) ProtoMessage()
- func (x *FlushSegmentCompactionInfo) ProtoReflect() protoreflect.Message
- func (x *FlushSegmentCompactionInfo) Reset()
- func (x *FlushSegmentCompactionInfo) String() string
- type GenericComparator
- func (GenericComparator) Descriptor() protoreflect.EnumDescriptor
- func (x GenericComparator) Enum() *GenericComparator
- func (GenericComparator) EnumDescriptor() ([]byte, []int)deprecated
- func (x GenericComparator) Number() protoreflect.EnumNumber
- func (x GenericComparator) String() string
- func (GenericComparator) Type() protoreflect.EnumType
- type GetCollectionsRequest
- func (*GetCollectionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCollectionsRequest) GetDatabase() string
- func (x *GetCollectionsRequest) GetId() string
- func (x *GetCollectionsRequest) GetLimit() int32
- func (x *GetCollectionsRequest) GetName() string
- func (x *GetCollectionsRequest) GetOffset() int32
- func (x *GetCollectionsRequest) GetTenant() string
- func (*GetCollectionsRequest) ProtoMessage()
- func (x *GetCollectionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetCollectionsRequest) Reset()
- func (x *GetCollectionsRequest) String() string
- type GetCollectionsResponse
- func (*GetCollectionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCollectionsResponse) GetCollections() []*Collection
- func (*GetCollectionsResponse) ProtoMessage()
- func (x *GetCollectionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetCollectionsResponse) Reset()
- func (x *GetCollectionsResponse) String() string
- type GetDatabaseRequest
- func (*GetDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDatabaseRequest) GetName() string
- func (x *GetDatabaseRequest) GetTenant() string
- func (*GetDatabaseRequest) ProtoMessage()
- func (x *GetDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *GetDatabaseRequest) Reset()
- func (x *GetDatabaseRequest) String() string
- type GetDatabaseResponse
- func (*GetDatabaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDatabaseResponse) GetDatabase() *Database
- func (*GetDatabaseResponse) ProtoMessage()
- func (x *GetDatabaseResponse) ProtoReflect() protoreflect.Message
- func (x *GetDatabaseResponse) Reset()
- func (x *GetDatabaseResponse) String() string
- type GetLastCompactionTimeForTenantRequest
- func (*GetLastCompactionTimeForTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLastCompactionTimeForTenantRequest) GetTenantId() []string
- func (*GetLastCompactionTimeForTenantRequest) ProtoMessage()
- func (x *GetLastCompactionTimeForTenantRequest) ProtoReflect() protoreflect.Message
- func (x *GetLastCompactionTimeForTenantRequest) Reset()
- func (x *GetLastCompactionTimeForTenantRequest) String() string
- type GetLastCompactionTimeForTenantResponse
- func (*GetLastCompactionTimeForTenantResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLastCompactionTimeForTenantResponse) GetTenantLastCompactionTime() []*TenantLastCompactionTime
- func (*GetLastCompactionTimeForTenantResponse) ProtoMessage()
- func (x *GetLastCompactionTimeForTenantResponse) ProtoReflect() protoreflect.Message
- func (x *GetLastCompactionTimeForTenantResponse) Reset()
- func (x *GetLastCompactionTimeForTenantResponse) String() string
- type GetSegmentsRequest
- func (*GetSegmentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSegmentsRequest) GetCollection() string
- func (x *GetSegmentsRequest) GetId() string
- func (x *GetSegmentsRequest) GetScope() SegmentScope
- func (x *GetSegmentsRequest) GetType() string
- func (*GetSegmentsRequest) ProtoMessage()
- func (x *GetSegmentsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSegmentsRequest) Reset()
- func (x *GetSegmentsRequest) String() string
- type GetSegmentsResponse
- func (*GetSegmentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSegmentsResponse) GetSegments() []*Segment
- func (*GetSegmentsResponse) ProtoMessage()
- func (x *GetSegmentsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSegmentsResponse) Reset()
- func (x *GetSegmentsResponse) String() string
- type GetTenantRequest
- type GetTenantResponse
- type GetVectorsRequest
- func (*GetVectorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetVectorsRequest) GetCollectionId() string
- func (x *GetVectorsRequest) GetIds() []string
- func (x *GetVectorsRequest) GetSegmentId() string
- func (x *GetVectorsRequest) GetVersionContext() *RequestVersionContext
- func (*GetVectorsRequest) ProtoMessage()
- func (x *GetVectorsRequest) ProtoReflect() protoreflect.Message
- func (x *GetVectorsRequest) Reset()
- func (x *GetVectorsRequest) String() string
- type GetVectorsResponse
- func (*GetVectorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVectorsResponse) GetRecords() []*VectorEmbeddingRecord
- func (*GetVectorsResponse) ProtoMessage()
- func (x *GetVectorsResponse) ProtoReflect() protoreflect.Message
- func (x *GetVectorsResponse) Reset()
- func (x *GetVectorsResponse) String() string
- type IntListComparison
- func (*IntListComparison) Descriptor() ([]byte, []int)deprecated
- func (x *IntListComparison) GetListOperator() ListOperator
- func (x *IntListComparison) GetValues() []int64
- func (*IntListComparison) ProtoMessage()
- func (x *IntListComparison) ProtoReflect() protoreflect.Message
- func (x *IntListComparison) Reset()
- func (x *IntListComparison) String() string
- type ListOperator
- func (ListOperator) Descriptor() protoreflect.EnumDescriptor
- func (x ListOperator) Enum() *ListOperator
- func (ListOperator) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListOperator) Number() protoreflect.EnumNumber
- func (x ListOperator) String() string
- func (ListOperator) Type() protoreflect.EnumType
- type MetadataEmbeddingRecord
- func (*MetadataEmbeddingRecord) Descriptor() ([]byte, []int)deprecated
- func (x *MetadataEmbeddingRecord) GetId() string
- func (x *MetadataEmbeddingRecord) GetMetadata() *UpdateMetadata
- func (*MetadataEmbeddingRecord) ProtoMessage()
- func (x *MetadataEmbeddingRecord) ProtoReflect() protoreflect.Message
- func (x *MetadataEmbeddingRecord) Reset()
- func (x *MetadataEmbeddingRecord) String() string
- type MetadataReaderClient
- type MetadataReaderServer
- type NumberComparator
- func (NumberComparator) Descriptor() protoreflect.EnumDescriptor
- func (x NumberComparator) Enum() *NumberComparator
- func (NumberComparator) EnumDescriptor() ([]byte, []int)deprecated
- func (x NumberComparator) Number() protoreflect.EnumNumber
- func (x NumberComparator) String() string
- func (NumberComparator) Type() protoreflect.EnumType
- type Operation
- type OperationRecord
- func (*OperationRecord) Descriptor() ([]byte, []int)deprecated
- func (x *OperationRecord) GetId() string
- func (x *OperationRecord) GetMetadata() *UpdateMetadata
- func (x *OperationRecord) GetOperation() Operation
- func (x *OperationRecord) GetVector() *Vector
- func (*OperationRecord) ProtoMessage()
- func (x *OperationRecord) ProtoReflect() protoreflect.Message
- func (x *OperationRecord) Reset()
- func (x *OperationRecord) String() string
- type QueryMetadataRequest
- func (*QueryMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMetadataRequest) GetCollectionId() string
- func (x *QueryMetadataRequest) GetIds() *UserIds
- func (x *QueryMetadataRequest) GetIncludeMetadata() bool
- func (x *QueryMetadataRequest) GetLimit() uint32
- func (x *QueryMetadataRequest) GetOffset() uint32
- func (x *QueryMetadataRequest) GetSegmentId() string
- func (x *QueryMetadataRequest) GetVersionContext() *RequestVersionContext
- func (x *QueryMetadataRequest) GetWhere() *Where
- func (x *QueryMetadataRequest) GetWhereDocument() *WhereDocument
- func (*QueryMetadataRequest) ProtoMessage()
- func (x *QueryMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *QueryMetadataRequest) Reset()
- func (x *QueryMetadataRequest) String() string
- type QueryMetadataResponse
- func (*QueryMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMetadataResponse) GetRecords() []*MetadataEmbeddingRecord
- func (*QueryMetadataResponse) ProtoMessage()
- func (x *QueryMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *QueryMetadataResponse) Reset()
- func (x *QueryMetadataResponse) String() string
- type QueryVectorsRequest
- func (*QueryVectorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryVectorsRequest) GetAllowedIds() []string
- func (x *QueryVectorsRequest) GetCollectionId() string
- func (x *QueryVectorsRequest) GetIncludeEmbeddings() bool
- func (x *QueryVectorsRequest) GetK() int32
- func (x *QueryVectorsRequest) GetSegmentId() string
- func (x *QueryVectorsRequest) GetVectors() []*Vector
- func (x *QueryVectorsRequest) GetVersionContext() *RequestVersionContext
- func (*QueryVectorsRequest) ProtoMessage()
- func (x *QueryVectorsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryVectorsRequest) Reset()
- func (x *QueryVectorsRequest) String() string
- type QueryVectorsResponse
- func (*QueryVectorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryVectorsResponse) GetResults() []*VectorQueryResults
- func (*QueryVectorsResponse) ProtoMessage()
- func (x *QueryVectorsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryVectorsResponse) Reset()
- func (x *QueryVectorsResponse) String() string
- type RequestVersionContext
- func (*RequestVersionContext) Descriptor() ([]byte, []int)deprecated
- func (x *RequestVersionContext) GetCollectionVersion() uint32
- func (x *RequestVersionContext) GetLogPosition() uint64
- func (*RequestVersionContext) ProtoMessage()
- func (x *RequestVersionContext) ProtoReflect() protoreflect.Message
- func (x *RequestVersionContext) Reset()
- func (x *RequestVersionContext) String() string
- type ResetStateResponse
- type ScalarEncoding
- func (ScalarEncoding) Descriptor() protoreflect.EnumDescriptor
- func (x ScalarEncoding) Enum() *ScalarEncoding
- func (ScalarEncoding) EnumDescriptor() ([]byte, []int)deprecated
- func (x ScalarEncoding) Number() protoreflect.EnumNumber
- func (x ScalarEncoding) String() string
- func (ScalarEncoding) Type() protoreflect.EnumType
- type Segment
- func (*Segment) Descriptor() ([]byte, []int)deprecated
- func (x *Segment) GetCollection() string
- func (x *Segment) GetFilePaths() map[string]*FilePaths
- func (x *Segment) GetId() string
- func (x *Segment) GetMetadata() *UpdateMetadata
- func (x *Segment) GetScope() SegmentScope
- func (x *Segment) GetType() string
- func (*Segment) ProtoMessage()
- func (x *Segment) ProtoReflect() protoreflect.Message
- func (x *Segment) Reset()
- func (x *Segment) String() string
- type SegmentScope
- func (SegmentScope) Descriptor() protoreflect.EnumDescriptor
- func (x SegmentScope) Enum() *SegmentScope
- func (SegmentScope) EnumDescriptor() ([]byte, []int)deprecated
- func (x SegmentScope) Number() protoreflect.EnumNumber
- func (x SegmentScope) String() string
- func (SegmentScope) Type() protoreflect.EnumType
- type SetLastCompactionTimeForTenantRequest
- func (*SetLastCompactionTimeForTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetLastCompactionTimeForTenantRequest) GetTenantLastCompactionTime() *TenantLastCompactionTime
- func (*SetLastCompactionTimeForTenantRequest) ProtoMessage()
- func (x *SetLastCompactionTimeForTenantRequest) ProtoReflect() protoreflect.Message
- func (x *SetLastCompactionTimeForTenantRequest) Reset()
- func (x *SetLastCompactionTimeForTenantRequest) String() string
- type SingleBoolComparison
- func (*SingleBoolComparison) Descriptor() ([]byte, []int)deprecated
- func (x *SingleBoolComparison) GetComparator() GenericComparator
- func (x *SingleBoolComparison) GetValue() bool
- func (*SingleBoolComparison) ProtoMessage()
- func (x *SingleBoolComparison) ProtoReflect() protoreflect.Message
- func (x *SingleBoolComparison) Reset()
- func (x *SingleBoolComparison) String() string
- type SingleDoubleComparison
- func (*SingleDoubleComparison) Descriptor() ([]byte, []int)deprecated
- func (m *SingleDoubleComparison) GetComparator() isSingleDoubleComparison_Comparator
- func (x *SingleDoubleComparison) GetGenericComparator() GenericComparator
- func (x *SingleDoubleComparison) GetNumberComparator() NumberComparator
- func (x *SingleDoubleComparison) GetValue() float64
- func (*SingleDoubleComparison) ProtoMessage()
- func (x *SingleDoubleComparison) ProtoReflect() protoreflect.Message
- func (x *SingleDoubleComparison) Reset()
- func (x *SingleDoubleComparison) String() string
- type SingleDoubleComparison_GenericComparator
- type SingleDoubleComparison_NumberComparator
- type SingleIntComparison
- func (*SingleIntComparison) Descriptor() ([]byte, []int)deprecated
- func (m *SingleIntComparison) GetComparator() isSingleIntComparison_Comparator
- func (x *SingleIntComparison) GetGenericComparator() GenericComparator
- func (x *SingleIntComparison) GetNumberComparator() NumberComparator
- func (x *SingleIntComparison) GetValue() int64
- func (*SingleIntComparison) ProtoMessage()
- func (x *SingleIntComparison) ProtoReflect() protoreflect.Message
- func (x *SingleIntComparison) Reset()
- func (x *SingleIntComparison) String() string
- type SingleIntComparison_GenericComparator
- type SingleIntComparison_NumberComparator
- type SingleStringComparison
- func (*SingleStringComparison) Descriptor() ([]byte, []int)deprecated
- func (x *SingleStringComparison) GetComparator() GenericComparator
- func (x *SingleStringComparison) GetValue() string
- func (*SingleStringComparison) ProtoMessage()
- func (x *SingleStringComparison) ProtoReflect() protoreflect.Message
- func (x *SingleStringComparison) Reset()
- func (x *SingleStringComparison) String() string
- type StringListComparison
- func (*StringListComparison) Descriptor() ([]byte, []int)deprecated
- func (x *StringListComparison) GetListOperator() ListOperator
- func (x *StringListComparison) GetValues() []string
- func (*StringListComparison) ProtoMessage()
- func (x *StringListComparison) ProtoReflect() protoreflect.Message
- func (x *StringListComparison) Reset()
- func (x *StringListComparison) String() string
- type SysDBClient
- type SysDBServer
- type Tenant
- type TenantLastCompactionTime
- func (*TenantLastCompactionTime) Descriptor() ([]byte, []int)deprecated
- func (x *TenantLastCompactionTime) GetLastCompactionTime() int64
- func (x *TenantLastCompactionTime) GetTenantId() string
- func (*TenantLastCompactionTime) ProtoMessage()
- func (x *TenantLastCompactionTime) ProtoReflect() protoreflect.Message
- func (x *TenantLastCompactionTime) Reset()
- func (x *TenantLastCompactionTime) String() string
- type UnimplementedMetadataReaderServer
- type UnimplementedSysDBServer
- func (UnimplementedSysDBServer) CheckCollections(context.Context, *CheckCollectionsRequest) (*CheckCollectionsResponse, error)
- func (UnimplementedSysDBServer) CreateCollection(context.Context, *CreateCollectionRequest) (*CreateCollectionResponse, error)
- func (UnimplementedSysDBServer) CreateDatabase(context.Context, *CreateDatabaseRequest) (*CreateDatabaseResponse, error)
- func (UnimplementedSysDBServer) CreateSegment(context.Context, *CreateSegmentRequest) (*CreateSegmentResponse, error)
- func (UnimplementedSysDBServer) CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantResponse, error)
- func (UnimplementedSysDBServer) DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
- func (UnimplementedSysDBServer) DeleteSegment(context.Context, *DeleteSegmentRequest) (*DeleteSegmentResponse, error)
- func (UnimplementedSysDBServer) FlushCollectionCompaction(context.Context, *FlushCollectionCompactionRequest) (*FlushCollectionCompactionResponse, error)
- func (UnimplementedSysDBServer) GetCollections(context.Context, *GetCollectionsRequest) (*GetCollectionsResponse, error)
- func (UnimplementedSysDBServer) GetDatabase(context.Context, *GetDatabaseRequest) (*GetDatabaseResponse, error)
- func (UnimplementedSysDBServer) GetLastCompactionTimeForTenant(context.Context, *GetLastCompactionTimeForTenantRequest) (*GetLastCompactionTimeForTenantResponse, error)
- func (UnimplementedSysDBServer) GetSegments(context.Context, *GetSegmentsRequest) (*GetSegmentsResponse, error)
- func (UnimplementedSysDBServer) GetTenant(context.Context, *GetTenantRequest) (*GetTenantResponse, error)
- func (UnimplementedSysDBServer) ResetState(context.Context, *emptypb.Empty) (*ResetStateResponse, error)
- func (UnimplementedSysDBServer) SetLastCompactionTimeForTenant(context.Context, *SetLastCompactionTimeForTenantRequest) (*emptypb.Empty, error)
- func (UnimplementedSysDBServer) UpdateCollection(context.Context, *UpdateCollectionRequest) (*UpdateCollectionResponse, error)
- func (UnimplementedSysDBServer) UpdateSegment(context.Context, *UpdateSegmentRequest) (*UpdateSegmentResponse, error)
- type UnimplementedVectorReaderServer
- type UnsafeMetadataReaderServer
- type UnsafeSysDBServer
- type UnsafeVectorReaderServer
- type UpdateCollectionRequest
- func (*UpdateCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCollectionRequest) GetDimension() int32
- func (x *UpdateCollectionRequest) GetId() string
- func (x *UpdateCollectionRequest) GetMetadata() *UpdateMetadata
- func (m *UpdateCollectionRequest) GetMetadataUpdate() isUpdateCollectionRequest_MetadataUpdate
- func (x *UpdateCollectionRequest) GetName() string
- func (x *UpdateCollectionRequest) GetResetMetadata() bool
- func (*UpdateCollectionRequest) ProtoMessage()
- func (x *UpdateCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCollectionRequest) Reset()
- func (x *UpdateCollectionRequest) String() string
- type UpdateCollectionRequest_Metadata
- type UpdateCollectionRequest_ResetMetadata
- type UpdateCollectionResponse
- type UpdateMetadata
- func (*UpdateMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMetadata) GetMetadata() map[string]*UpdateMetadataValue
- func (*UpdateMetadata) ProtoMessage()
- func (x *UpdateMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateMetadata) Reset()
- func (x *UpdateMetadata) String() string
- type UpdateMetadataValue
- func (*UpdateMetadataValue) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMetadataValue) GetBoolValue() bool
- func (x *UpdateMetadataValue) GetFloatValue() float64
- func (x *UpdateMetadataValue) GetIntValue() int64
- func (x *UpdateMetadataValue) GetStringValue() string
- func (m *UpdateMetadataValue) GetValue() isUpdateMetadataValue_Value
- func (*UpdateMetadataValue) ProtoMessage()
- func (x *UpdateMetadataValue) ProtoReflect() protoreflect.Message
- func (x *UpdateMetadataValue) Reset()
- func (x *UpdateMetadataValue) String() string
- type UpdateMetadataValue_BoolValue
- type UpdateMetadataValue_FloatValue
- type UpdateMetadataValue_IntValue
- type UpdateMetadataValue_StringValue
- type UpdateSegmentRequest
- func (*UpdateSegmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSegmentRequest) GetCollection() string
- func (x *UpdateSegmentRequest) GetId() string
- func (x *UpdateSegmentRequest) GetMetadata() *UpdateMetadata
- func (m *UpdateSegmentRequest) GetMetadataUpdate() isUpdateSegmentRequest_MetadataUpdate
- func (x *UpdateSegmentRequest) GetResetMetadata() bool
- func (*UpdateSegmentRequest) ProtoMessage()
- func (x *UpdateSegmentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSegmentRequest) Reset()
- func (x *UpdateSegmentRequest) String() string
- type UpdateSegmentRequest_Metadata
- type UpdateSegmentRequest_ResetMetadata
- type UpdateSegmentResponse
- type UserIds
- type Vector
- func (*Vector) Descriptor() ([]byte, []int)deprecated
- func (x *Vector) GetDimension() int32
- func (x *Vector) GetEncoding() ScalarEncoding
- func (x *Vector) GetVector() []byte
- func (*Vector) ProtoMessage()
- func (x *Vector) ProtoReflect() protoreflect.Message
- func (x *Vector) Reset()
- func (x *Vector) String() string
- type VectorEmbeddingRecord
- func (*VectorEmbeddingRecord) Descriptor() ([]byte, []int)deprecated
- func (x *VectorEmbeddingRecord) GetId() string
- func (x *VectorEmbeddingRecord) GetVector() *Vector
- func (*VectorEmbeddingRecord) ProtoMessage()
- func (x *VectorEmbeddingRecord) ProtoReflect() protoreflect.Message
- func (x *VectorEmbeddingRecord) Reset()
- func (x *VectorEmbeddingRecord) String() string
- type VectorQueryResult
- func (*VectorQueryResult) Descriptor() ([]byte, []int)deprecated
- func (x *VectorQueryResult) GetDistance() float32
- func (x *VectorQueryResult) GetId() string
- func (x *VectorQueryResult) GetVector() *Vector
- func (*VectorQueryResult) ProtoMessage()
- func (x *VectorQueryResult) ProtoReflect() protoreflect.Message
- func (x *VectorQueryResult) Reset()
- func (x *VectorQueryResult) String() string
- type VectorQueryResults
- func (*VectorQueryResults) Descriptor() ([]byte, []int)deprecated
- func (x *VectorQueryResults) GetResults() []*VectorQueryResult
- func (*VectorQueryResults) ProtoMessage()
- func (x *VectorQueryResults) ProtoReflect() protoreflect.Message
- func (x *VectorQueryResults) Reset()
- func (x *VectorQueryResults) String() string
- type VectorReaderClient
- type VectorReaderServer
- type Where
- func (*Where) Descriptor() ([]byte, []int)deprecated
- func (x *Where) GetChildren() *WhereChildren
- func (x *Where) GetDirectComparison() *DirectComparison
- func (m *Where) GetWhere() isWhere_Where
- func (*Where) ProtoMessage()
- func (x *Where) ProtoReflect() protoreflect.Message
- func (x *Where) Reset()
- func (x *Where) String() string
- type WhereChildren
- func (*WhereChildren) Descriptor() ([]byte, []int)deprecated
- func (x *WhereChildren) GetChildren() []*Where
- func (x *WhereChildren) GetOperator() BooleanOperator
- func (*WhereChildren) ProtoMessage()
- func (x *WhereChildren) ProtoReflect() protoreflect.Message
- func (x *WhereChildren) Reset()
- func (x *WhereChildren) String() string
- type WhereDocument
- func (*WhereDocument) Descriptor() ([]byte, []int)deprecated
- func (x *WhereDocument) GetChildren() *WhereDocumentChildren
- func (x *WhereDocument) GetDirect() *DirectWhereDocument
- func (m *WhereDocument) GetWhereDocument() isWhereDocument_WhereDocument
- func (*WhereDocument) ProtoMessage()
- func (x *WhereDocument) ProtoReflect() protoreflect.Message
- func (x *WhereDocument) Reset()
- func (x *WhereDocument) String() string
- type WhereDocumentChildren
- func (*WhereDocumentChildren) Descriptor() ([]byte, []int)deprecated
- func (x *WhereDocumentChildren) GetChildren() []*WhereDocument
- func (x *WhereDocumentChildren) GetOperator() BooleanOperator
- func (*WhereDocumentChildren) ProtoMessage()
- func (x *WhereDocumentChildren) ProtoReflect() protoreflect.Message
- func (x *WhereDocumentChildren) Reset()
- func (x *WhereDocumentChildren) String() string
- type WhereDocumentOperator
- func (WhereDocumentOperator) Descriptor() protoreflect.EnumDescriptor
- func (x WhereDocumentOperator) Enum() *WhereDocumentOperator
- func (WhereDocumentOperator) EnumDescriptor() ([]byte, []int)deprecated
- func (x WhereDocumentOperator) Number() protoreflect.EnumNumber
- func (x WhereDocumentOperator) String() string
- func (WhereDocumentOperator) Type() protoreflect.EnumType
- type WhereDocument_Children
- type WhereDocument_Direct
- type Where_Children
- type Where_DirectComparison
Constants ¶
const ( MetadataReader_QueryMetadata_FullMethodName = "/chroma.MetadataReader/QueryMetadata" MetadataReader_CountRecords_FullMethodName = "/chroma.MetadataReader/CountRecords" )
const ( VectorReader_GetVectors_FullMethodName = "/chroma.VectorReader/GetVectors" VectorReader_QueryVectors_FullMethodName = "/chroma.VectorReader/QueryVectors" )
const ( SysDB_CreateDatabase_FullMethodName = "/chroma.SysDB/CreateDatabase" SysDB_GetDatabase_FullMethodName = "/chroma.SysDB/GetDatabase" SysDB_CreateTenant_FullMethodName = "/chroma.SysDB/CreateTenant" SysDB_GetTenant_FullMethodName = "/chroma.SysDB/GetTenant" SysDB_CreateSegment_FullMethodName = "/chroma.SysDB/CreateSegment" SysDB_DeleteSegment_FullMethodName = "/chroma.SysDB/DeleteSegment" SysDB_GetSegments_FullMethodName = "/chroma.SysDB/GetSegments" SysDB_UpdateSegment_FullMethodName = "/chroma.SysDB/UpdateSegment" SysDB_CreateCollection_FullMethodName = "/chroma.SysDB/CreateCollection" SysDB_DeleteCollection_FullMethodName = "/chroma.SysDB/DeleteCollection" SysDB_GetCollections_FullMethodName = "/chroma.SysDB/GetCollections" SysDB_CheckCollections_FullMethodName = "/chroma.SysDB/CheckCollections" SysDB_UpdateCollection_FullMethodName = "/chroma.SysDB/UpdateCollection" SysDB_ResetState_FullMethodName = "/chroma.SysDB/ResetState" SysDB_GetLastCompactionTimeForTenant_FullMethodName = "/chroma.SysDB/GetLastCompactionTimeForTenant" SysDB_SetLastCompactionTimeForTenant_FullMethodName = "/chroma.SysDB/SetLastCompactionTimeForTenant" SysDB_FlushCollectionCompaction_FullMethodName = "/chroma.SysDB/FlushCollectionCompaction" )
Variables ¶
var ( Operation_name = map[int32]string{ 0: "ADD", 1: "UPDATE", 2: "UPSERT", 3: "DELETE", } Operation_value = map[string]int32{ "ADD": 0, "UPDATE": 1, "UPSERT": 2, "DELETE": 3, } )
Enum value maps for Operation.
var ( ScalarEncoding_name = map[int32]string{ 0: "FLOAT32", 1: "INT32", } ScalarEncoding_value = map[string]int32{ "FLOAT32": 0, "INT32": 1, } )
Enum value maps for ScalarEncoding.
var ( SegmentScope_name = map[int32]string{ 0: "VECTOR", 1: "METADATA", 2: "RECORD", 3: "SQLITE", } SegmentScope_value = map[string]int32{ "VECTOR": 0, "METADATA": 1, "RECORD": 2, "SQLITE": 3, } )
Enum value maps for SegmentScope.
var ( WhereDocumentOperator_name = map[int32]string{ 0: "CONTAINS", 1: "NOT_CONTAINS", } WhereDocumentOperator_value = map[string]int32{ "CONTAINS": 0, "NOT_CONTAINS": 1, } )
Enum value maps for WhereDocumentOperator.
var ( BooleanOperator_name = map[int32]string{ 0: "AND", 1: "OR", } BooleanOperator_value = map[string]int32{ "AND": 0, "OR": 1, } )
Enum value maps for BooleanOperator.
var ( ListOperator_name = map[int32]string{ 0: "IN", 1: "NIN", } ListOperator_value = map[string]int32{ "IN": 0, "NIN": 1, } )
Enum value maps for ListOperator.
var ( GenericComparator_name = map[int32]string{ 0: "EQ", 1: "NE", } GenericComparator_value = map[string]int32{ "EQ": 0, "NE": 1, } )
Enum value maps for GenericComparator.
var ( NumberComparator_name = map[int32]string{ 0: "GT", 1: "GTE", 2: "LT", 3: "LTE", } NumberComparator_value = map[string]int32{ "GT": 0, "GTE": 1, "LT": 2, "LTE": 3, } )
Enum value maps for NumberComparator.
var File_chromadb_proto_chroma_proto protoreflect.FileDescriptor
var File_chromadb_proto_coordinator_proto protoreflect.FileDescriptor
var MetadataReader_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chroma.MetadataReader", HandlerType: (*MetadataReaderServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "QueryMetadata", Handler: _MetadataReader_QueryMetadata_Handler, }, { MethodName: "CountRecords", Handler: _MetadataReader_CountRecords_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "chromadb/proto/chroma.proto", }
MetadataReader_ServiceDesc is the grpc.ServiceDesc for MetadataReader service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SysDB_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chroma.SysDB", HandlerType: (*SysDBServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateDatabase", Handler: _SysDB_CreateDatabase_Handler, }, { MethodName: "GetDatabase", Handler: _SysDB_GetDatabase_Handler, }, { MethodName: "CreateTenant", Handler: _SysDB_CreateTenant_Handler, }, { MethodName: "GetTenant", Handler: _SysDB_GetTenant_Handler, }, { MethodName: "CreateSegment", Handler: _SysDB_CreateSegment_Handler, }, { MethodName: "DeleteSegment", Handler: _SysDB_DeleteSegment_Handler, }, { MethodName: "GetSegments", Handler: _SysDB_GetSegments_Handler, }, { MethodName: "UpdateSegment", Handler: _SysDB_UpdateSegment_Handler, }, { MethodName: "CreateCollection", Handler: _SysDB_CreateCollection_Handler, }, { MethodName: "DeleteCollection", Handler: _SysDB_DeleteCollection_Handler, }, { MethodName: "GetCollections", Handler: _SysDB_GetCollections_Handler, }, { MethodName: "CheckCollections", Handler: _SysDB_CheckCollections_Handler, }, { MethodName: "UpdateCollection", Handler: _SysDB_UpdateCollection_Handler, }, { MethodName: "ResetState", Handler: _SysDB_ResetState_Handler, }, { MethodName: "GetLastCompactionTimeForTenant", Handler: _SysDB_GetLastCompactionTimeForTenant_Handler, }, { MethodName: "SetLastCompactionTimeForTenant", Handler: _SysDB_SetLastCompactionTimeForTenant_Handler, }, { MethodName: "FlushCollectionCompaction", Handler: _SysDB_FlushCollectionCompaction_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "chromadb/proto/coordinator.proto", }
SysDB_ServiceDesc is the grpc.ServiceDesc for SysDB service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var VectorReader_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chroma.VectorReader", HandlerType: (*VectorReaderServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetVectors", Handler: _VectorReader_GetVectors_Handler, }, { MethodName: "QueryVectors", Handler: _VectorReader_QueryVectors_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "chromadb/proto/chroma.proto", }
VectorReader_ServiceDesc is the grpc.ServiceDesc for VectorReader service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMetadataReaderServer ¶
func RegisterMetadataReaderServer(s grpc.ServiceRegistrar, srv MetadataReaderServer)
func RegisterSysDBServer ¶
func RegisterSysDBServer(s grpc.ServiceRegistrar, srv SysDBServer)
func RegisterVectorReaderServer ¶
func RegisterVectorReaderServer(s grpc.ServiceRegistrar, srv VectorReaderServer)
Types ¶
type BoolListComparison ¶
type BoolListComparison struct { Values []bool `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"` ListOperator ListOperator `protobuf:"varint,2,opt,name=list_operator,json=listOperator,proto3,enum=chroma.ListOperator" json:"list_operator,omitempty"` // contains filtered or unexported fields }
func (*BoolListComparison) Descriptor
deprecated
func (*BoolListComparison) Descriptor() ([]byte, []int)
Deprecated: Use BoolListComparison.ProtoReflect.Descriptor instead.
func (*BoolListComparison) GetListOperator ¶
func (x *BoolListComparison) GetListOperator() ListOperator
func (*BoolListComparison) GetValues ¶
func (x *BoolListComparison) GetValues() []bool
func (*BoolListComparison) ProtoMessage ¶
func (*BoolListComparison) ProtoMessage()
func (*BoolListComparison) ProtoReflect ¶
func (x *BoolListComparison) ProtoReflect() protoreflect.Message
func (*BoolListComparison) Reset ¶
func (x *BoolListComparison) Reset()
func (*BoolListComparison) String ¶
func (x *BoolListComparison) String() string
type BooleanOperator ¶
type BooleanOperator int32
A `Where` clause may have a list of children. This enum specifies how the children should be combined.
const ( BooleanOperator_AND BooleanOperator = 0 BooleanOperator_OR BooleanOperator = 1 )
func (BooleanOperator) Descriptor ¶
func (BooleanOperator) Descriptor() protoreflect.EnumDescriptor
func (BooleanOperator) Enum ¶
func (x BooleanOperator) Enum() *BooleanOperator
func (BooleanOperator) EnumDescriptor
deprecated
func (BooleanOperator) EnumDescriptor() ([]byte, []int)
Deprecated: Use BooleanOperator.Descriptor instead.
func (BooleanOperator) Number ¶
func (x BooleanOperator) Number() protoreflect.EnumNumber
func (BooleanOperator) String ¶
func (x BooleanOperator) String() string
func (BooleanOperator) Type ¶
func (BooleanOperator) Type() protoreflect.EnumType
type CheckCollectionsRequest ¶
type CheckCollectionsRequest struct { CollectionIds []string `protobuf:"bytes,1,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"` // contains filtered or unexported fields }
func (*CheckCollectionsRequest) Descriptor
deprecated
func (*CheckCollectionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckCollectionsRequest.ProtoReflect.Descriptor instead.
func (*CheckCollectionsRequest) GetCollectionIds ¶
func (x *CheckCollectionsRequest) GetCollectionIds() []string
func (*CheckCollectionsRequest) ProtoMessage ¶
func (*CheckCollectionsRequest) ProtoMessage()
func (*CheckCollectionsRequest) ProtoReflect ¶
func (x *CheckCollectionsRequest) ProtoReflect() protoreflect.Message
func (*CheckCollectionsRequest) Reset ¶
func (x *CheckCollectionsRequest) Reset()
func (*CheckCollectionsRequest) String ¶
func (x *CheckCollectionsRequest) String() string
type CheckCollectionsResponse ¶
type CheckCollectionsResponse struct { Deleted []bool `protobuf:"varint,1,rep,packed,name=deleted,proto3" json:"deleted,omitempty"` // contains filtered or unexported fields }
func (*CheckCollectionsResponse) Descriptor
deprecated
func (*CheckCollectionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckCollectionsResponse.ProtoReflect.Descriptor instead.
func (*CheckCollectionsResponse) GetDeleted ¶
func (x *CheckCollectionsResponse) GetDeleted() []bool
func (*CheckCollectionsResponse) ProtoMessage ¶
func (*CheckCollectionsResponse) ProtoMessage()
func (*CheckCollectionsResponse) ProtoReflect ¶
func (x *CheckCollectionsResponse) ProtoReflect() protoreflect.Message
func (*CheckCollectionsResponse) Reset ¶
func (x *CheckCollectionsResponse) Reset()
func (*CheckCollectionsResponse) String ¶
func (x *CheckCollectionsResponse) String() string
type Collection ¶
type Collection struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ConfigurationJsonStr string `protobuf:"bytes,3,opt,name=configuration_json_str,json=configurationJsonStr,proto3" json:"configuration_json_str,omitempty"` Metadata *UpdateMetadata `protobuf:"bytes,4,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` Dimension *int32 `protobuf:"varint,5,opt,name=dimension,proto3,oneof" json:"dimension,omitempty"` Tenant string `protobuf:"bytes,6,opt,name=tenant,proto3" json:"tenant,omitempty"` Database string `protobuf:"bytes,7,opt,name=database,proto3" json:"database,omitempty"` LogPosition int64 `protobuf:"varint,8,opt,name=log_position,json=logPosition,proto3" json:"log_position,omitempty"` Version int32 `protobuf:"varint,9,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*Collection) Descriptor
deprecated
func (*Collection) Descriptor() ([]byte, []int)
Deprecated: Use Collection.ProtoReflect.Descriptor instead.
func (*Collection) GetConfigurationJsonStr ¶
func (x *Collection) GetConfigurationJsonStr() string
func (*Collection) GetDatabase ¶
func (x *Collection) GetDatabase() string
func (*Collection) GetDimension ¶
func (x *Collection) GetDimension() int32
func (*Collection) GetId ¶
func (x *Collection) GetId() string
func (*Collection) GetLogPosition ¶
func (x *Collection) GetLogPosition() int64
func (*Collection) GetMetadata ¶
func (x *Collection) GetMetadata() *UpdateMetadata
func (*Collection) GetName ¶
func (x *Collection) GetName() string
func (*Collection) GetTenant ¶
func (x *Collection) GetTenant() string
func (*Collection) GetVersion ¶
func (x *Collection) GetVersion() int32
func (*Collection) ProtoMessage ¶
func (*Collection) ProtoMessage()
func (*Collection) ProtoReflect ¶
func (x *Collection) ProtoReflect() protoreflect.Message
func (*Collection) Reset ¶
func (x *Collection) Reset()
func (*Collection) String ¶
func (x *Collection) String() string
type CountRecordsRequest ¶
type CountRecordsRequest struct { SegmentId string `protobuf:"bytes,1,opt,name=segment_id,json=segmentId,proto3" json:"segment_id,omitempty"` CollectionId string `protobuf:"bytes,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` VersionContext *RequestVersionContext `protobuf:"bytes,3,opt,name=version_context,json=versionContext,proto3" json:"version_context,omitempty"` // contains filtered or unexported fields }
func (*CountRecordsRequest) Descriptor
deprecated
func (*CountRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CountRecordsRequest.ProtoReflect.Descriptor instead.
func (*CountRecordsRequest) GetCollectionId ¶
func (x *CountRecordsRequest) GetCollectionId() string
func (*CountRecordsRequest) GetSegmentId ¶
func (x *CountRecordsRequest) GetSegmentId() string
func (*CountRecordsRequest) GetVersionContext ¶
func (x *CountRecordsRequest) GetVersionContext() *RequestVersionContext
func (*CountRecordsRequest) ProtoMessage ¶
func (*CountRecordsRequest) ProtoMessage()
func (*CountRecordsRequest) ProtoReflect ¶
func (x *CountRecordsRequest) ProtoReflect() protoreflect.Message
func (*CountRecordsRequest) Reset ¶
func (x *CountRecordsRequest) Reset()
func (*CountRecordsRequest) String ¶
func (x *CountRecordsRequest) String() string
type CountRecordsResponse ¶
type CountRecordsResponse struct { Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
TODO: Add error propagation in the response.
func (*CountRecordsResponse) Descriptor
deprecated
func (*CountRecordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountRecordsResponse.ProtoReflect.Descriptor instead.
func (*CountRecordsResponse) GetCount ¶
func (x *CountRecordsResponse) GetCount() uint32
func (*CountRecordsResponse) ProtoMessage ¶
func (*CountRecordsResponse) ProtoMessage()
func (*CountRecordsResponse) ProtoReflect ¶
func (x *CountRecordsResponse) ProtoReflect() protoreflect.Message
func (*CountRecordsResponse) Reset ¶
func (x *CountRecordsResponse) Reset()
func (*CountRecordsResponse) String ¶
func (x *CountRecordsResponse) String() string
type CreateCollectionRequest ¶
type CreateCollectionRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ConfigurationJsonStr string `protobuf:"bytes,3,opt,name=configuration_json_str,json=configurationJsonStr,proto3" json:"configuration_json_str,omitempty"` Metadata *UpdateMetadata `protobuf:"bytes,4,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` Dimension *int32 `protobuf:"varint,5,opt,name=dimension,proto3,oneof" json:"dimension,omitempty"` GetOrCreate *bool `protobuf:"varint,6,opt,name=get_or_create,json=getOrCreate,proto3,oneof" json:"get_or_create,omitempty"` Tenant string `protobuf:"bytes,7,opt,name=tenant,proto3" json:"tenant,omitempty"` Database string `protobuf:"bytes,8,opt,name=database,proto3" json:"database,omitempty"` // When segments are set, then the collection and segments will be created as // a single atomic operation. Segments []*Segment `protobuf:"bytes,9,rep,name=segments,proto3" json:"segments,omitempty"` // Optional. // contains filtered or unexported fields }
func (*CreateCollectionRequest) Descriptor
deprecated
func (*CreateCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCollectionRequest.ProtoReflect.Descriptor instead.
func (*CreateCollectionRequest) GetConfigurationJsonStr ¶
func (x *CreateCollectionRequest) GetConfigurationJsonStr() string
func (*CreateCollectionRequest) GetDatabase ¶
func (x *CreateCollectionRequest) GetDatabase() string
func (*CreateCollectionRequest) GetDimension ¶
func (x *CreateCollectionRequest) GetDimension() int32
func (*CreateCollectionRequest) GetGetOrCreate ¶
func (x *CreateCollectionRequest) GetGetOrCreate() bool
func (*CreateCollectionRequest) GetId ¶
func (x *CreateCollectionRequest) GetId() string
func (*CreateCollectionRequest) GetMetadata ¶
func (x *CreateCollectionRequest) GetMetadata() *UpdateMetadata
func (*CreateCollectionRequest) GetName ¶
func (x *CreateCollectionRequest) GetName() string
func (*CreateCollectionRequest) GetSegments ¶
func (x *CreateCollectionRequest) GetSegments() []*Segment
func (*CreateCollectionRequest) GetTenant ¶
func (x *CreateCollectionRequest) GetTenant() string
func (*CreateCollectionRequest) ProtoMessage ¶
func (*CreateCollectionRequest) ProtoMessage()
func (*CreateCollectionRequest) ProtoReflect ¶
func (x *CreateCollectionRequest) ProtoReflect() protoreflect.Message
func (*CreateCollectionRequest) Reset ¶
func (x *CreateCollectionRequest) Reset()
func (*CreateCollectionRequest) String ¶
func (x *CreateCollectionRequest) String() string
type CreateCollectionResponse ¶
type CreateCollectionResponse struct { Collection *Collection `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` Created bool `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"` // contains filtered or unexported fields }
func (*CreateCollectionResponse) Descriptor
deprecated
func (*CreateCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCollectionResponse.ProtoReflect.Descriptor instead.
func (*CreateCollectionResponse) GetCollection ¶
func (x *CreateCollectionResponse) GetCollection() *Collection
func (*CreateCollectionResponse) GetCreated ¶
func (x *CreateCollectionResponse) GetCreated() bool
func (*CreateCollectionResponse) ProtoMessage ¶
func (*CreateCollectionResponse) ProtoMessage()
func (*CreateCollectionResponse) ProtoReflect ¶
func (x *CreateCollectionResponse) ProtoReflect() protoreflect.Message
func (*CreateCollectionResponse) Reset ¶
func (x *CreateCollectionResponse) Reset()
func (*CreateCollectionResponse) String ¶
func (x *CreateCollectionResponse) String() string
type CreateDatabaseRequest ¶
type CreateDatabaseRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Tenant string `protobuf:"bytes,3,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
func (*CreateDatabaseRequest) Descriptor
deprecated
func (*CreateDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDatabaseRequest.ProtoReflect.Descriptor instead.
func (*CreateDatabaseRequest) GetId ¶
func (x *CreateDatabaseRequest) GetId() string
func (*CreateDatabaseRequest) GetName ¶
func (x *CreateDatabaseRequest) GetName() string
func (*CreateDatabaseRequest) GetTenant ¶
func (x *CreateDatabaseRequest) GetTenant() string
func (*CreateDatabaseRequest) ProtoMessage ¶
func (*CreateDatabaseRequest) ProtoMessage()
func (*CreateDatabaseRequest) ProtoReflect ¶
func (x *CreateDatabaseRequest) ProtoReflect() protoreflect.Message
func (*CreateDatabaseRequest) Reset ¶
func (x *CreateDatabaseRequest) Reset()
func (*CreateDatabaseRequest) String ¶
func (x *CreateDatabaseRequest) String() string
type CreateDatabaseResponse ¶
type CreateDatabaseResponse struct {
// contains filtered or unexported fields
}
func (*CreateDatabaseResponse) Descriptor
deprecated
func (*CreateDatabaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateDatabaseResponse.ProtoReflect.Descriptor instead.
func (*CreateDatabaseResponse) ProtoMessage ¶
func (*CreateDatabaseResponse) ProtoMessage()
func (*CreateDatabaseResponse) ProtoReflect ¶
func (x *CreateDatabaseResponse) ProtoReflect() protoreflect.Message
func (*CreateDatabaseResponse) Reset ¶
func (x *CreateDatabaseResponse) Reset()
func (*CreateDatabaseResponse) String ¶
func (x *CreateDatabaseResponse) String() string
type CreateSegmentRequest ¶
type CreateSegmentRequest struct { Segment *Segment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"` // contains filtered or unexported fields }
func (*CreateSegmentRequest) Descriptor
deprecated
func (*CreateSegmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSegmentRequest.ProtoReflect.Descriptor instead.
func (*CreateSegmentRequest) GetSegment ¶
func (x *CreateSegmentRequest) GetSegment() *Segment
func (*CreateSegmentRequest) ProtoMessage ¶
func (*CreateSegmentRequest) ProtoMessage()
func (*CreateSegmentRequest) ProtoReflect ¶
func (x *CreateSegmentRequest) ProtoReflect() protoreflect.Message
func (*CreateSegmentRequest) Reset ¶
func (x *CreateSegmentRequest) Reset()
func (*CreateSegmentRequest) String ¶
func (x *CreateSegmentRequest) String() string
type CreateSegmentResponse ¶
type CreateSegmentResponse struct {
// contains filtered or unexported fields
}
func (*CreateSegmentResponse) Descriptor
deprecated
func (*CreateSegmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSegmentResponse.ProtoReflect.Descriptor instead.
func (*CreateSegmentResponse) ProtoMessage ¶
func (*CreateSegmentResponse) ProtoMessage()
func (*CreateSegmentResponse) ProtoReflect ¶
func (x *CreateSegmentResponse) ProtoReflect() protoreflect.Message
func (*CreateSegmentResponse) Reset ¶
func (x *CreateSegmentResponse) Reset()
func (*CreateSegmentResponse) String ¶
func (x *CreateSegmentResponse) String() string
type CreateTenantRequest ¶
type CreateTenantRequest struct { Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Names are globally unique // contains filtered or unexported fields }
func (*CreateTenantRequest) Descriptor
deprecated
func (*CreateTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTenantRequest.ProtoReflect.Descriptor instead.
func (*CreateTenantRequest) GetName ¶
func (x *CreateTenantRequest) GetName() string
func (*CreateTenantRequest) ProtoMessage ¶
func (*CreateTenantRequest) ProtoMessage()
func (*CreateTenantRequest) ProtoReflect ¶
func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message
func (*CreateTenantRequest) Reset ¶
func (x *CreateTenantRequest) Reset()
func (*CreateTenantRequest) String ¶
func (x *CreateTenantRequest) String() string
type CreateTenantResponse ¶
type CreateTenantResponse struct {
// contains filtered or unexported fields
}
func (*CreateTenantResponse) Descriptor
deprecated
func (*CreateTenantResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTenantResponse.ProtoReflect.Descriptor instead.
func (*CreateTenantResponse) ProtoMessage ¶
func (*CreateTenantResponse) ProtoMessage()
func (*CreateTenantResponse) ProtoReflect ¶
func (x *CreateTenantResponse) ProtoReflect() protoreflect.Message
func (*CreateTenantResponse) Reset ¶
func (x *CreateTenantResponse) Reset()
func (*CreateTenantResponse) String ¶
func (x *CreateTenantResponse) String() string
type Database ¶
type Database struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Tenant string `protobuf:"bytes,3,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
func (*Database) Descriptor
deprecated
func (*Database) ProtoMessage ¶
func (*Database) ProtoMessage()
func (*Database) ProtoReflect ¶
func (x *Database) ProtoReflect() protoreflect.Message
type DeleteCollectionRequest ¶
type DeleteCollectionRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Tenant string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"` Database string `protobuf:"bytes,3,opt,name=database,proto3" json:"database,omitempty"` SegmentIds []string `protobuf:"bytes,4,rep,name=segment_ids,json=segmentIds,proto3" json:"segment_ids,omitempty"` // contains filtered or unexported fields }
func (*DeleteCollectionRequest) Descriptor
deprecated
func (*DeleteCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCollectionRequest.ProtoReflect.Descriptor instead.
func (*DeleteCollectionRequest) GetDatabase ¶
func (x *DeleteCollectionRequest) GetDatabase() string
func (*DeleteCollectionRequest) GetId ¶
func (x *DeleteCollectionRequest) GetId() string
func (*DeleteCollectionRequest) GetSegmentIds ¶
func (x *DeleteCollectionRequest) GetSegmentIds() []string
func (*DeleteCollectionRequest) GetTenant ¶
func (x *DeleteCollectionRequest) GetTenant() string
func (*DeleteCollectionRequest) ProtoMessage ¶
func (*DeleteCollectionRequest) ProtoMessage()
func (*DeleteCollectionRequest) ProtoReflect ¶
func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Message
func (*DeleteCollectionRequest) Reset ¶
func (x *DeleteCollectionRequest) Reset()
func (*DeleteCollectionRequest) String ¶
func (x *DeleteCollectionRequest) String() string
type DeleteCollectionResponse ¶
type DeleteCollectionResponse struct {
// contains filtered or unexported fields
}
func (*DeleteCollectionResponse) Descriptor
deprecated
func (*DeleteCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCollectionResponse.ProtoReflect.Descriptor instead.
func (*DeleteCollectionResponse) ProtoMessage ¶
func (*DeleteCollectionResponse) ProtoMessage()
func (*DeleteCollectionResponse) ProtoReflect ¶
func (x *DeleteCollectionResponse) ProtoReflect() protoreflect.Message
func (*DeleteCollectionResponse) Reset ¶
func (x *DeleteCollectionResponse) Reset()
func (*DeleteCollectionResponse) String ¶
func (x *DeleteCollectionResponse) String() string
type DeleteSegmentRequest ¶
type DeleteSegmentRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"` // contains filtered or unexported fields }
func (*DeleteSegmentRequest) Descriptor
deprecated
func (*DeleteSegmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSegmentRequest.ProtoReflect.Descriptor instead.
func (*DeleteSegmentRequest) GetCollection ¶
func (x *DeleteSegmentRequest) GetCollection() string
func (*DeleteSegmentRequest) GetId ¶
func (x *DeleteSegmentRequest) GetId() string
func (*DeleteSegmentRequest) ProtoMessage ¶
func (*DeleteSegmentRequest) ProtoMessage()
func (*DeleteSegmentRequest) ProtoReflect ¶
func (x *DeleteSegmentRequest) ProtoReflect() protoreflect.Message
func (*DeleteSegmentRequest) Reset ¶
func (x *DeleteSegmentRequest) Reset()
func (*DeleteSegmentRequest) String ¶
func (x *DeleteSegmentRequest) String() string
type DeleteSegmentResponse ¶
type DeleteSegmentResponse struct {
// contains filtered or unexported fields
}
func (*DeleteSegmentResponse) Descriptor
deprecated
func (*DeleteSegmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSegmentResponse.ProtoReflect.Descriptor instead.
func (*DeleteSegmentResponse) ProtoMessage ¶
func (*DeleteSegmentResponse) ProtoMessage()
func (*DeleteSegmentResponse) ProtoReflect ¶
func (x *DeleteSegmentResponse) ProtoReflect() protoreflect.Message
func (*DeleteSegmentResponse) Reset ¶
func (x *DeleteSegmentResponse) Reset()
func (*DeleteSegmentResponse) String ¶
func (x *DeleteSegmentResponse) String() string
type DirectComparison ¶
type DirectComparison struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Types that are assignable to Comparison: // // *DirectComparison_SingleStringOperand // *DirectComparison_StringListOperand // *DirectComparison_SingleIntOperand // *DirectComparison_IntListOperand // *DirectComparison_SingleDoubleOperand // *DirectComparison_DoubleListOperand // *DirectComparison_BoolListOperand // *DirectComparison_SingleBoolOperand Comparison isDirectComparison_Comparison `protobuf_oneof:"comparison"` // contains filtered or unexported fields }
A leaf-node `Where` clause.
func (*DirectComparison) Descriptor
deprecated
func (*DirectComparison) Descriptor() ([]byte, []int)
Deprecated: Use DirectComparison.ProtoReflect.Descriptor instead.
func (*DirectComparison) GetBoolListOperand ¶
func (x *DirectComparison) GetBoolListOperand() *BoolListComparison
func (*DirectComparison) GetComparison ¶
func (m *DirectComparison) GetComparison() isDirectComparison_Comparison
func (*DirectComparison) GetDoubleListOperand ¶
func (x *DirectComparison) GetDoubleListOperand() *DoubleListComparison
func (*DirectComparison) GetIntListOperand ¶
func (x *DirectComparison) GetIntListOperand() *IntListComparison
func (*DirectComparison) GetKey ¶
func (x *DirectComparison) GetKey() string
func (*DirectComparison) GetSingleBoolOperand ¶
func (x *DirectComparison) GetSingleBoolOperand() *SingleBoolComparison
func (*DirectComparison) GetSingleDoubleOperand ¶
func (x *DirectComparison) GetSingleDoubleOperand() *SingleDoubleComparison
func (*DirectComparison) GetSingleIntOperand ¶
func (x *DirectComparison) GetSingleIntOperand() *SingleIntComparison
func (*DirectComparison) GetSingleStringOperand ¶
func (x *DirectComparison) GetSingleStringOperand() *SingleStringComparison
func (*DirectComparison) GetStringListOperand ¶
func (x *DirectComparison) GetStringListOperand() *StringListComparison
func (*DirectComparison) ProtoMessage ¶
func (*DirectComparison) ProtoMessage()
func (*DirectComparison) ProtoReflect ¶
func (x *DirectComparison) ProtoReflect() protoreflect.Message
func (*DirectComparison) Reset ¶
func (x *DirectComparison) Reset()
func (*DirectComparison) String ¶
func (x *DirectComparison) String() string
type DirectComparison_BoolListOperand ¶
type DirectComparison_BoolListOperand struct {
BoolListOperand *BoolListComparison `protobuf:"bytes,8,opt,name=bool_list_operand,json=boolListOperand,proto3,oneof"`
}
type DirectComparison_DoubleListOperand ¶
type DirectComparison_DoubleListOperand struct {
DoubleListOperand *DoubleListComparison `protobuf:"bytes,7,opt,name=double_list_operand,json=doubleListOperand,proto3,oneof"`
}
type DirectComparison_IntListOperand ¶
type DirectComparison_IntListOperand struct {
IntListOperand *IntListComparison `protobuf:"bytes,5,opt,name=int_list_operand,json=intListOperand,proto3,oneof"`
}
type DirectComparison_SingleBoolOperand ¶
type DirectComparison_SingleBoolOperand struct {
SingleBoolOperand *SingleBoolComparison `protobuf:"bytes,9,opt,name=single_bool_operand,json=singleBoolOperand,proto3,oneof"`
}
type DirectComparison_SingleDoubleOperand ¶
type DirectComparison_SingleDoubleOperand struct {
SingleDoubleOperand *SingleDoubleComparison `protobuf:"bytes,6,opt,name=single_double_operand,json=singleDoubleOperand,proto3,oneof"`
}
type DirectComparison_SingleIntOperand ¶
type DirectComparison_SingleIntOperand struct {
SingleIntOperand *SingleIntComparison `protobuf:"bytes,4,opt,name=single_int_operand,json=singleIntOperand,proto3,oneof"`
}
type DirectComparison_SingleStringOperand ¶
type DirectComparison_SingleStringOperand struct {
SingleStringOperand *SingleStringComparison `protobuf:"bytes,2,opt,name=single_string_operand,json=singleStringOperand,proto3,oneof"`
}
type DirectComparison_StringListOperand ¶
type DirectComparison_StringListOperand struct {
StringListOperand *StringListComparison `protobuf:"bytes,3,opt,name=string_list_operand,json=stringListOperand,proto3,oneof"`
}
type DirectWhereDocument ¶
type DirectWhereDocument struct { Document string `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` Operator WhereDocumentOperator `protobuf:"varint,2,opt,name=operator,proto3,enum=chroma.WhereDocumentOperator" json:"operator,omitempty"` // contains filtered or unexported fields }
A leaf-node `WhereDocument` clause may compare a document to a single value.
func (*DirectWhereDocument) Descriptor
deprecated
func (*DirectWhereDocument) Descriptor() ([]byte, []int)
Deprecated: Use DirectWhereDocument.ProtoReflect.Descriptor instead.
func (*DirectWhereDocument) GetDocument ¶
func (x *DirectWhereDocument) GetDocument() string
func (*DirectWhereDocument) GetOperator ¶
func (x *DirectWhereDocument) GetOperator() WhereDocumentOperator
func (*DirectWhereDocument) ProtoMessage ¶
func (*DirectWhereDocument) ProtoMessage()
func (*DirectWhereDocument) ProtoReflect ¶
func (x *DirectWhereDocument) ProtoReflect() protoreflect.Message
func (*DirectWhereDocument) Reset ¶
func (x *DirectWhereDocument) Reset()
func (*DirectWhereDocument) String ¶
func (x *DirectWhereDocument) String() string
type DoubleListComparison ¶
type DoubleListComparison struct { Values []float64 `protobuf:"fixed64,1,rep,packed,name=values,proto3" json:"values,omitempty"` ListOperator ListOperator `protobuf:"varint,2,opt,name=list_operator,json=listOperator,proto3,enum=chroma.ListOperator" json:"list_operator,omitempty"` // contains filtered or unexported fields }
Used when a leaf-node `Where` clause compares a float to a list of floats. `ListOperator` specifies whether values in the list are allowed or disallowed.
func (*DoubleListComparison) Descriptor
deprecated
func (*DoubleListComparison) Descriptor() ([]byte, []int)
Deprecated: Use DoubleListComparison.ProtoReflect.Descriptor instead.
func (*DoubleListComparison) GetListOperator ¶
func (x *DoubleListComparison) GetListOperator() ListOperator
func (*DoubleListComparison) GetValues ¶
func (x *DoubleListComparison) GetValues() []float64
func (*DoubleListComparison) ProtoMessage ¶
func (*DoubleListComparison) ProtoMessage()
func (*DoubleListComparison) ProtoReflect ¶
func (x *DoubleListComparison) ProtoReflect() protoreflect.Message
func (*DoubleListComparison) Reset ¶
func (x *DoubleListComparison) Reset()
func (*DoubleListComparison) String ¶
func (x *DoubleListComparison) String() string
type FilePaths ¶
type FilePaths struct { Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` // contains filtered or unexported fields }
func (*FilePaths) Descriptor
deprecated
func (*FilePaths) ProtoMessage ¶
func (*FilePaths) ProtoMessage()
func (*FilePaths) ProtoReflect ¶
func (x *FilePaths) ProtoReflect() protoreflect.Message
type FlushCollectionCompactionRequest ¶
type FlushCollectionCompactionRequest struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` CollectionId string `protobuf:"bytes,2,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` LogPosition int64 `protobuf:"varint,3,opt,name=log_position,json=logPosition,proto3" json:"log_position,omitempty"` CollectionVersion int32 `protobuf:"varint,4,opt,name=collection_version,json=collectionVersion,proto3" json:"collection_version,omitempty"` SegmentCompactionInfo []*FlushSegmentCompactionInfo `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*FlushCollectionCompactionRequest) Descriptor
deprecated
func (*FlushCollectionCompactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use FlushCollectionCompactionRequest.ProtoReflect.Descriptor instead.
func (*FlushCollectionCompactionRequest) GetCollectionId ¶
func (x *FlushCollectionCompactionRequest) GetCollectionId() string
func (*FlushCollectionCompactionRequest) GetCollectionVersion ¶
func (x *FlushCollectionCompactionRequest) GetCollectionVersion() int32
func (*FlushCollectionCompactionRequest) GetLogPosition ¶
func (x *FlushCollectionCompactionRequest) GetLogPosition() int64
func (*FlushCollectionCompactionRequest) GetSegmentCompactionInfo ¶
func (x *FlushCollectionCompactionRequest) GetSegmentCompactionInfo() []*FlushSegmentCompactionInfo
func (*FlushCollectionCompactionRequest) GetTenantId ¶
func (x *FlushCollectionCompactionRequest) GetTenantId() string
func (*FlushCollectionCompactionRequest) ProtoMessage ¶
func (*FlushCollectionCompactionRequest) ProtoMessage()
func (*FlushCollectionCompactionRequest) ProtoReflect ¶
func (x *FlushCollectionCompactionRequest) ProtoReflect() protoreflect.Message
func (*FlushCollectionCompactionRequest) Reset ¶
func (x *FlushCollectionCompactionRequest) Reset()
func (*FlushCollectionCompactionRequest) String ¶
func (x *FlushCollectionCompactionRequest) String() string
type FlushCollectionCompactionResponse ¶
type FlushCollectionCompactionResponse struct { CollectionId string `protobuf:"bytes,1,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` CollectionVersion int32 `protobuf:"varint,2,opt,name=collection_version,json=collectionVersion,proto3" json:"collection_version,omitempty"` LastCompactionTime int64 `protobuf:"varint,3,opt,name=last_compaction_time,json=lastCompactionTime,proto3" json:"last_compaction_time,omitempty"` // contains filtered or unexported fields }
func (*FlushCollectionCompactionResponse) Descriptor
deprecated
func (*FlushCollectionCompactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use FlushCollectionCompactionResponse.ProtoReflect.Descriptor instead.
func (*FlushCollectionCompactionResponse) GetCollectionId ¶
func (x *FlushCollectionCompactionResponse) GetCollectionId() string
func (*FlushCollectionCompactionResponse) GetCollectionVersion ¶
func (x *FlushCollectionCompactionResponse) GetCollectionVersion() int32
func (*FlushCollectionCompactionResponse) GetLastCompactionTime ¶
func (x *FlushCollectionCompactionResponse) GetLastCompactionTime() int64
func (*FlushCollectionCompactionResponse) ProtoMessage ¶
func (*FlushCollectionCompactionResponse) ProtoMessage()
func (*FlushCollectionCompactionResponse) ProtoReflect ¶
func (x *FlushCollectionCompactionResponse) ProtoReflect() protoreflect.Message
func (*FlushCollectionCompactionResponse) Reset ¶
func (x *FlushCollectionCompactionResponse) Reset()
func (*FlushCollectionCompactionResponse) String ¶
func (x *FlushCollectionCompactionResponse) String() string
type FlushSegmentCompactionInfo ¶
type FlushSegmentCompactionInfo struct { SegmentId string `protobuf:"bytes,1,opt,name=segment_id,json=segmentId,proto3" json:"segment_id,omitempty"` FilePaths map[string]*FilePaths `` /* 176-byte string literal not displayed */ // contains filtered or unexported fields }
func (*FlushSegmentCompactionInfo) Descriptor
deprecated
func (*FlushSegmentCompactionInfo) Descriptor() ([]byte, []int)
Deprecated: Use FlushSegmentCompactionInfo.ProtoReflect.Descriptor instead.
func (*FlushSegmentCompactionInfo) GetFilePaths ¶
func (x *FlushSegmentCompactionInfo) GetFilePaths() map[string]*FilePaths
func (*FlushSegmentCompactionInfo) GetSegmentId ¶
func (x *FlushSegmentCompactionInfo) GetSegmentId() string
func (*FlushSegmentCompactionInfo) ProtoMessage ¶
func (*FlushSegmentCompactionInfo) ProtoMessage()
func (*FlushSegmentCompactionInfo) ProtoReflect ¶
func (x *FlushSegmentCompactionInfo) ProtoReflect() protoreflect.Message
func (*FlushSegmentCompactionInfo) Reset ¶
func (x *FlushSegmentCompactionInfo) Reset()
func (*FlushSegmentCompactionInfo) String ¶
func (x *FlushSegmentCompactionInfo) String() string
type GenericComparator ¶
type GenericComparator int32
A leaf-node `Where` clause may compare a string, int, or float to a single value of the same type. These comparators apply to all three of those types.
const ( GenericComparator_EQ GenericComparator = 0 GenericComparator_NE GenericComparator = 1 )
func (GenericComparator) Descriptor ¶
func (GenericComparator) Descriptor() protoreflect.EnumDescriptor
func (GenericComparator) Enum ¶
func (x GenericComparator) Enum() *GenericComparator
func (GenericComparator) EnumDescriptor
deprecated
func (GenericComparator) EnumDescriptor() ([]byte, []int)
Deprecated: Use GenericComparator.Descriptor instead.
func (GenericComparator) Number ¶
func (x GenericComparator) Number() protoreflect.EnumNumber
func (GenericComparator) String ¶
func (x GenericComparator) String() string
func (GenericComparator) Type ¶
func (GenericComparator) Type() protoreflect.EnumType
type GetCollectionsRequest ¶
type GetCollectionsRequest struct { Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` Tenant string `protobuf:"bytes,4,opt,name=tenant,proto3" json:"tenant,omitempty"` Database string `protobuf:"bytes,5,opt,name=database,proto3" json:"database,omitempty"` Limit *int32 `protobuf:"varint,6,opt,name=limit,proto3,oneof" json:"limit,omitempty"` Offset *int32 `protobuf:"varint,7,opt,name=offset,proto3,oneof" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*GetCollectionsRequest) Descriptor
deprecated
func (*GetCollectionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCollectionsRequest.ProtoReflect.Descriptor instead.
func (*GetCollectionsRequest) GetDatabase ¶
func (x *GetCollectionsRequest) GetDatabase() string
func (*GetCollectionsRequest) GetId ¶
func (x *GetCollectionsRequest) GetId() string
func (*GetCollectionsRequest) GetLimit ¶
func (x *GetCollectionsRequest) GetLimit() int32
func (*GetCollectionsRequest) GetName ¶
func (x *GetCollectionsRequest) GetName() string
func (*GetCollectionsRequest) GetOffset ¶
func (x *GetCollectionsRequest) GetOffset() int32
func (*GetCollectionsRequest) GetTenant ¶
func (x *GetCollectionsRequest) GetTenant() string
func (*GetCollectionsRequest) ProtoMessage ¶
func (*GetCollectionsRequest) ProtoMessage()
func (*GetCollectionsRequest) ProtoReflect ¶
func (x *GetCollectionsRequest) ProtoReflect() protoreflect.Message
func (*GetCollectionsRequest) Reset ¶
func (x *GetCollectionsRequest) Reset()
func (*GetCollectionsRequest) String ¶
func (x *GetCollectionsRequest) String() string
type GetCollectionsResponse ¶
type GetCollectionsResponse struct { Collections []*Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"` // contains filtered or unexported fields }
func (*GetCollectionsResponse) Descriptor
deprecated
func (*GetCollectionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCollectionsResponse.ProtoReflect.Descriptor instead.
func (*GetCollectionsResponse) GetCollections ¶
func (x *GetCollectionsResponse) GetCollections() []*Collection
func (*GetCollectionsResponse) ProtoMessage ¶
func (*GetCollectionsResponse) ProtoMessage()
func (*GetCollectionsResponse) ProtoReflect ¶
func (x *GetCollectionsResponse) ProtoReflect() protoreflect.Message
func (*GetCollectionsResponse) Reset ¶
func (x *GetCollectionsResponse) Reset()
func (*GetCollectionsResponse) String ¶
func (x *GetCollectionsResponse) String() string
type GetDatabaseRequest ¶
type GetDatabaseRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Tenant string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
func (*GetDatabaseRequest) Descriptor
deprecated
func (*GetDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDatabaseRequest.ProtoReflect.Descriptor instead.
func (*GetDatabaseRequest) GetName ¶
func (x *GetDatabaseRequest) GetName() string
func (*GetDatabaseRequest) GetTenant ¶
func (x *GetDatabaseRequest) GetTenant() string
func (*GetDatabaseRequest) ProtoMessage ¶
func (*GetDatabaseRequest) ProtoMessage()
func (*GetDatabaseRequest) ProtoReflect ¶
func (x *GetDatabaseRequest) ProtoReflect() protoreflect.Message
func (*GetDatabaseRequest) Reset ¶
func (x *GetDatabaseRequest) Reset()
func (*GetDatabaseRequest) String ¶
func (x *GetDatabaseRequest) String() string
type GetDatabaseResponse ¶
type GetDatabaseResponse struct { Database *Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` // contains filtered or unexported fields }
func (*GetDatabaseResponse) Descriptor
deprecated
func (*GetDatabaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDatabaseResponse.ProtoReflect.Descriptor instead.
func (*GetDatabaseResponse) GetDatabase ¶
func (x *GetDatabaseResponse) GetDatabase() *Database
func (*GetDatabaseResponse) ProtoMessage ¶
func (*GetDatabaseResponse) ProtoMessage()
func (*GetDatabaseResponse) ProtoReflect ¶
func (x *GetDatabaseResponse) ProtoReflect() protoreflect.Message
func (*GetDatabaseResponse) Reset ¶
func (x *GetDatabaseResponse) Reset()
func (*GetDatabaseResponse) String ¶
func (x *GetDatabaseResponse) String() string
type GetLastCompactionTimeForTenantRequest ¶
type GetLastCompactionTimeForTenantRequest struct { TenantId []string `protobuf:"bytes,1,rep,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // contains filtered or unexported fields }
func (*GetLastCompactionTimeForTenantRequest) Descriptor
deprecated
func (*GetLastCompactionTimeForTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLastCompactionTimeForTenantRequest.ProtoReflect.Descriptor instead.
func (*GetLastCompactionTimeForTenantRequest) GetTenantId ¶
func (x *GetLastCompactionTimeForTenantRequest) GetTenantId() []string
func (*GetLastCompactionTimeForTenantRequest) ProtoMessage ¶
func (*GetLastCompactionTimeForTenantRequest) ProtoMessage()
func (*GetLastCompactionTimeForTenantRequest) ProtoReflect ¶
func (x *GetLastCompactionTimeForTenantRequest) ProtoReflect() protoreflect.Message
func (*GetLastCompactionTimeForTenantRequest) Reset ¶
func (x *GetLastCompactionTimeForTenantRequest) Reset()
func (*GetLastCompactionTimeForTenantRequest) String ¶
func (x *GetLastCompactionTimeForTenantRequest) String() string
type GetLastCompactionTimeForTenantResponse ¶
type GetLastCompactionTimeForTenantResponse struct { TenantLastCompactionTime []*TenantLastCompactionTime `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetLastCompactionTimeForTenantResponse) Descriptor
deprecated
func (*GetLastCompactionTimeForTenantResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLastCompactionTimeForTenantResponse.ProtoReflect.Descriptor instead.
func (*GetLastCompactionTimeForTenantResponse) GetTenantLastCompactionTime ¶
func (x *GetLastCompactionTimeForTenantResponse) GetTenantLastCompactionTime() []*TenantLastCompactionTime
func (*GetLastCompactionTimeForTenantResponse) ProtoMessage ¶
func (*GetLastCompactionTimeForTenantResponse) ProtoMessage()
func (*GetLastCompactionTimeForTenantResponse) ProtoReflect ¶
func (x *GetLastCompactionTimeForTenantResponse) ProtoReflect() protoreflect.Message
func (*GetLastCompactionTimeForTenantResponse) Reset ¶
func (x *GetLastCompactionTimeForTenantResponse) Reset()
func (*GetLastCompactionTimeForTenantResponse) String ¶
func (x *GetLastCompactionTimeForTenantResponse) String() string
type GetSegmentsRequest ¶
type GetSegmentsRequest struct { Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` Type *string `protobuf:"bytes,2,opt,name=type,proto3,oneof" json:"type,omitempty"` Scope *SegmentScope `protobuf:"varint,3,opt,name=scope,proto3,enum=chroma.SegmentScope,oneof" json:"scope,omitempty"` Collection string `protobuf:"bytes,4,opt,name=collection,proto3" json:"collection,omitempty"` // Collection ID // contains filtered or unexported fields }
func (*GetSegmentsRequest) Descriptor
deprecated
func (*GetSegmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSegmentsRequest.ProtoReflect.Descriptor instead.
func (*GetSegmentsRequest) GetCollection ¶
func (x *GetSegmentsRequest) GetCollection() string
func (*GetSegmentsRequest) GetId ¶
func (x *GetSegmentsRequest) GetId() string
func (*GetSegmentsRequest) GetScope ¶
func (x *GetSegmentsRequest) GetScope() SegmentScope
func (*GetSegmentsRequest) GetType ¶
func (x *GetSegmentsRequest) GetType() string
func (*GetSegmentsRequest) ProtoMessage ¶
func (*GetSegmentsRequest) ProtoMessage()
func (*GetSegmentsRequest) ProtoReflect ¶
func (x *GetSegmentsRequest) ProtoReflect() protoreflect.Message
func (*GetSegmentsRequest) Reset ¶
func (x *GetSegmentsRequest) Reset()
func (*GetSegmentsRequest) String ¶
func (x *GetSegmentsRequest) String() string
type GetSegmentsResponse ¶
type GetSegmentsResponse struct { Segments []*Segment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"` // contains filtered or unexported fields }
func (*GetSegmentsResponse) Descriptor
deprecated
func (*GetSegmentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSegmentsResponse.ProtoReflect.Descriptor instead.
func (*GetSegmentsResponse) GetSegments ¶
func (x *GetSegmentsResponse) GetSegments() []*Segment
func (*GetSegmentsResponse) ProtoMessage ¶
func (*GetSegmentsResponse) ProtoMessage()
func (*GetSegmentsResponse) ProtoReflect ¶
func (x *GetSegmentsResponse) ProtoReflect() protoreflect.Message
func (*GetSegmentsResponse) Reset ¶
func (x *GetSegmentsResponse) Reset()
func (*GetSegmentsResponse) String ¶
func (x *GetSegmentsResponse) String() string
type GetTenantRequest ¶
type GetTenantRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetTenantRequest) Descriptor
deprecated
func (*GetTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTenantRequest.ProtoReflect.Descriptor instead.
func (*GetTenantRequest) GetName ¶
func (x *GetTenantRequest) GetName() string
func (*GetTenantRequest) ProtoMessage ¶
func (*GetTenantRequest) ProtoMessage()
func (*GetTenantRequest) ProtoReflect ¶
func (x *GetTenantRequest) ProtoReflect() protoreflect.Message
func (*GetTenantRequest) Reset ¶
func (x *GetTenantRequest) Reset()
func (*GetTenantRequest) String ¶
func (x *GetTenantRequest) String() string
type GetTenantResponse ¶
type GetTenantResponse struct { Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
func (*GetTenantResponse) Descriptor
deprecated
func (*GetTenantResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTenantResponse.ProtoReflect.Descriptor instead.
func (*GetTenantResponse) GetTenant ¶
func (x *GetTenantResponse) GetTenant() *Tenant
func (*GetTenantResponse) ProtoMessage ¶
func (*GetTenantResponse) ProtoMessage()
func (*GetTenantResponse) ProtoReflect ¶
func (x *GetTenantResponse) ProtoReflect() protoreflect.Message
func (*GetTenantResponse) Reset ¶
func (x *GetTenantResponse) Reset()
func (*GetTenantResponse) String ¶
func (x *GetTenantResponse) String() string
type GetVectorsRequest ¶
type GetVectorsRequest struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` SegmentId string `protobuf:"bytes,2,opt,name=segment_id,json=segmentId,proto3" json:"segment_id,omitempty"` CollectionId string `protobuf:"bytes,3,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` VersionContext *RequestVersionContext `protobuf:"bytes,4,opt,name=version_context,json=versionContext,proto3" json:"version_context,omitempty"` // contains filtered or unexported fields }
func (*GetVectorsRequest) Descriptor
deprecated
func (*GetVectorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVectorsRequest.ProtoReflect.Descriptor instead.
func (*GetVectorsRequest) GetCollectionId ¶
func (x *GetVectorsRequest) GetCollectionId() string
func (*GetVectorsRequest) GetIds ¶
func (x *GetVectorsRequest) GetIds() []string
func (*GetVectorsRequest) GetSegmentId ¶
func (x *GetVectorsRequest) GetSegmentId() string
func (*GetVectorsRequest) GetVersionContext ¶
func (x *GetVectorsRequest) GetVersionContext() *RequestVersionContext
func (*GetVectorsRequest) ProtoMessage ¶
func (*GetVectorsRequest) ProtoMessage()
func (*GetVectorsRequest) ProtoReflect ¶
func (x *GetVectorsRequest) ProtoReflect() protoreflect.Message
func (*GetVectorsRequest) Reset ¶
func (x *GetVectorsRequest) Reset()
func (*GetVectorsRequest) String ¶
func (x *GetVectorsRequest) String() string
type GetVectorsResponse ¶
type GetVectorsResponse struct { Records []*VectorEmbeddingRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
func (*GetVectorsResponse) Descriptor
deprecated
func (*GetVectorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVectorsResponse.ProtoReflect.Descriptor instead.
func (*GetVectorsResponse) GetRecords ¶
func (x *GetVectorsResponse) GetRecords() []*VectorEmbeddingRecord
func (*GetVectorsResponse) ProtoMessage ¶
func (*GetVectorsResponse) ProtoMessage()
func (*GetVectorsResponse) ProtoReflect ¶
func (x *GetVectorsResponse) ProtoReflect() protoreflect.Message
func (*GetVectorsResponse) Reset ¶
func (x *GetVectorsResponse) Reset()
func (*GetVectorsResponse) String ¶
func (x *GetVectorsResponse) String() string
type IntListComparison ¶
type IntListComparison struct { Values []int64 `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"` ListOperator ListOperator `protobuf:"varint,2,opt,name=list_operator,json=listOperator,proto3,enum=chroma.ListOperator" json:"list_operator,omitempty"` // contains filtered or unexported fields }
Used when a leaf-node `Where` clause compares an int to a list of ints. `ListOperator` specifies whether values in the list are allowed or disallowed.
func (*IntListComparison) Descriptor
deprecated
func (*IntListComparison) Descriptor() ([]byte, []int)
Deprecated: Use IntListComparison.ProtoReflect.Descriptor instead.
func (*IntListComparison) GetListOperator ¶
func (x *IntListComparison) GetListOperator() ListOperator
func (*IntListComparison) GetValues ¶
func (x *IntListComparison) GetValues() []int64
func (*IntListComparison) ProtoMessage ¶
func (*IntListComparison) ProtoMessage()
func (*IntListComparison) ProtoReflect ¶
func (x *IntListComparison) ProtoReflect() protoreflect.Message
func (*IntListComparison) Reset ¶
func (x *IntListComparison) Reset()
func (*IntListComparison) String ¶
func (x *IntListComparison) String() string
type ListOperator ¶
type ListOperator int32
A `Where` clause may have a list of allowed or disallowed values. This enum specifies which type of list it is.
const ( ListOperator_IN ListOperator = 0 ListOperator_NIN ListOperator = 1 )
func (ListOperator) Descriptor ¶
func (ListOperator) Descriptor() protoreflect.EnumDescriptor
func (ListOperator) Enum ¶
func (x ListOperator) Enum() *ListOperator
func (ListOperator) EnumDescriptor
deprecated
func (ListOperator) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListOperator.Descriptor instead.
func (ListOperator) Number ¶
func (x ListOperator) Number() protoreflect.EnumNumber
func (ListOperator) String ¶
func (x ListOperator) String() string
func (ListOperator) Type ¶
func (ListOperator) Type() protoreflect.EnumType
type MetadataEmbeddingRecord ¶
type MetadataEmbeddingRecord struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Metadata *UpdateMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*MetadataEmbeddingRecord) Descriptor
deprecated
func (*MetadataEmbeddingRecord) Descriptor() ([]byte, []int)
Deprecated: Use MetadataEmbeddingRecord.ProtoReflect.Descriptor instead.
func (*MetadataEmbeddingRecord) GetId ¶
func (x *MetadataEmbeddingRecord) GetId() string
func (*MetadataEmbeddingRecord) GetMetadata ¶
func (x *MetadataEmbeddingRecord) GetMetadata() *UpdateMetadata
func (*MetadataEmbeddingRecord) ProtoMessage ¶
func (*MetadataEmbeddingRecord) ProtoMessage()
func (*MetadataEmbeddingRecord) ProtoReflect ¶
func (x *MetadataEmbeddingRecord) ProtoReflect() protoreflect.Message
func (*MetadataEmbeddingRecord) Reset ¶
func (x *MetadataEmbeddingRecord) Reset()
func (*MetadataEmbeddingRecord) String ¶
func (x *MetadataEmbeddingRecord) String() string
type MetadataReaderClient ¶
type MetadataReaderClient interface { QueryMetadata(ctx context.Context, in *QueryMetadataRequest, opts ...grpc.CallOption) (*QueryMetadataResponse, error) CountRecords(ctx context.Context, in *CountRecordsRequest, opts ...grpc.CallOption) (*CountRecordsResponse, error) }
MetadataReaderClient is the client API for MetadataReader service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMetadataReaderClient ¶
func NewMetadataReaderClient(cc grpc.ClientConnInterface) MetadataReaderClient
type MetadataReaderServer ¶
type MetadataReaderServer interface { QueryMetadata(context.Context, *QueryMetadataRequest) (*QueryMetadataResponse, error) CountRecords(context.Context, *CountRecordsRequest) (*CountRecordsResponse, error) // contains filtered or unexported methods }
MetadataReaderServer is the server API for MetadataReader service. All implementations must embed UnimplementedMetadataReaderServer for forward compatibility.
type NumberComparator ¶
type NumberComparator int32
Used when a leaf-node `Where` clause compares an int or float to a single value of the same type.
const ( NumberComparator_GT NumberComparator = 0 NumberComparator_GTE NumberComparator = 1 NumberComparator_LT NumberComparator = 2 NumberComparator_LTE NumberComparator = 3 )
func (NumberComparator) Descriptor ¶
func (NumberComparator) Descriptor() protoreflect.EnumDescriptor
func (NumberComparator) Enum ¶
func (x NumberComparator) Enum() *NumberComparator
func (NumberComparator) EnumDescriptor
deprecated
func (NumberComparator) EnumDescriptor() ([]byte, []int)
Deprecated: Use NumberComparator.Descriptor instead.
func (NumberComparator) Number ¶
func (x NumberComparator) Number() protoreflect.EnumNumber
func (NumberComparator) String ¶
func (x NumberComparator) String() string
func (NumberComparator) Type ¶
func (NumberComparator) Type() protoreflect.EnumType
type Operation ¶
type Operation int32
Types here should mirror chromadb/types.py
func (Operation) Descriptor ¶
func (Operation) Descriptor() protoreflect.EnumDescriptor
func (Operation) EnumDescriptor
deprecated
func (Operation) Number ¶
func (x Operation) Number() protoreflect.EnumNumber
func (Operation) Type ¶
func (Operation) Type() protoreflect.EnumType
type OperationRecord ¶
type OperationRecord struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Vector *Vector `protobuf:"bytes,2,opt,name=vector,proto3,oneof" json:"vector,omitempty"` Metadata *UpdateMetadata `protobuf:"bytes,3,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` Operation Operation `protobuf:"varint,4,opt,name=operation,proto3,enum=chroma.Operation" json:"operation,omitempty"` // contains filtered or unexported fields }
Represents an operation the user submits
func (*OperationRecord) Descriptor
deprecated
func (*OperationRecord) Descriptor() ([]byte, []int)
Deprecated: Use OperationRecord.ProtoReflect.Descriptor instead.
func (*OperationRecord) GetId ¶
func (x *OperationRecord) GetId() string
func (*OperationRecord) GetMetadata ¶
func (x *OperationRecord) GetMetadata() *UpdateMetadata
func (*OperationRecord) GetOperation ¶
func (x *OperationRecord) GetOperation() Operation
func (*OperationRecord) GetVector ¶
func (x *OperationRecord) GetVector() *Vector
func (*OperationRecord) ProtoMessage ¶
func (*OperationRecord) ProtoMessage()
func (*OperationRecord) ProtoReflect ¶
func (x *OperationRecord) ProtoReflect() protoreflect.Message
func (*OperationRecord) Reset ¶
func (x *OperationRecord) Reset()
func (*OperationRecord) String ¶
func (x *OperationRecord) String() string
type QueryMetadataRequest ¶
type QueryMetadataRequest struct { SegmentId string `protobuf:"bytes,1,opt,name=segment_id,json=segmentId,proto3" json:"segment_id,omitempty"` Where *Where `protobuf:"bytes,2,opt,name=where,proto3" json:"where,omitempty"` WhereDocument *WhereDocument `protobuf:"bytes,3,opt,name=where_document,json=whereDocument,proto3" json:"where_document,omitempty"` Ids *UserIds `protobuf:"bytes,4,opt,name=ids,proto3,oneof" json:"ids,omitempty"` Limit *uint32 `protobuf:"varint,5,opt,name=limit,proto3,oneof" json:"limit,omitempty"` Offset *uint32 `protobuf:"varint,6,opt,name=offset,proto3,oneof" json:"offset,omitempty"` CollectionId string `protobuf:"bytes,7,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` IncludeMetadata bool `protobuf:"varint,8,opt,name=include_metadata,json=includeMetadata,proto3" json:"include_metadata,omitempty"` VersionContext *RequestVersionContext `protobuf:"bytes,9,opt,name=version_context,json=versionContext,proto3" json:"version_context,omitempty"` // contains filtered or unexported fields }
func (*QueryMetadataRequest) Descriptor
deprecated
func (*QueryMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetadataRequest.ProtoReflect.Descriptor instead.
func (*QueryMetadataRequest) GetCollectionId ¶
func (x *QueryMetadataRequest) GetCollectionId() string
func (*QueryMetadataRequest) GetIds ¶
func (x *QueryMetadataRequest) GetIds() *UserIds
func (*QueryMetadataRequest) GetIncludeMetadata ¶
func (x *QueryMetadataRequest) GetIncludeMetadata() bool
func (*QueryMetadataRequest) GetLimit ¶
func (x *QueryMetadataRequest) GetLimit() uint32
func (*QueryMetadataRequest) GetOffset ¶
func (x *QueryMetadataRequest) GetOffset() uint32
func (*QueryMetadataRequest) GetSegmentId ¶
func (x *QueryMetadataRequest) GetSegmentId() string
func (*QueryMetadataRequest) GetVersionContext ¶
func (x *QueryMetadataRequest) GetVersionContext() *RequestVersionContext
func (*QueryMetadataRequest) GetWhere ¶
func (x *QueryMetadataRequest) GetWhere() *Where
func (*QueryMetadataRequest) GetWhereDocument ¶
func (x *QueryMetadataRequest) GetWhereDocument() *WhereDocument
func (*QueryMetadataRequest) ProtoMessage ¶
func (*QueryMetadataRequest) ProtoMessage()
func (*QueryMetadataRequest) ProtoReflect ¶
func (x *QueryMetadataRequest) ProtoReflect() protoreflect.Message
func (*QueryMetadataRequest) Reset ¶
func (x *QueryMetadataRequest) Reset()
func (*QueryMetadataRequest) String ¶
func (x *QueryMetadataRequest) String() string
type QueryMetadataResponse ¶
type QueryMetadataResponse struct { Records []*MetadataEmbeddingRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
func (*QueryMetadataResponse) Descriptor
deprecated
func (*QueryMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetadataResponse.ProtoReflect.Descriptor instead.
func (*QueryMetadataResponse) GetRecords ¶
func (x *QueryMetadataResponse) GetRecords() []*MetadataEmbeddingRecord
func (*QueryMetadataResponse) ProtoMessage ¶
func (*QueryMetadataResponse) ProtoMessage()
func (*QueryMetadataResponse) ProtoReflect ¶
func (x *QueryMetadataResponse) ProtoReflect() protoreflect.Message
func (*QueryMetadataResponse) Reset ¶
func (x *QueryMetadataResponse) Reset()
func (*QueryMetadataResponse) String ¶
func (x *QueryMetadataResponse) String() string
type QueryVectorsRequest ¶
type QueryVectorsRequest struct { Vectors []*Vector `protobuf:"bytes,1,rep,name=vectors,proto3" json:"vectors,omitempty"` K int32 `protobuf:"varint,2,opt,name=k,proto3" json:"k,omitempty"` AllowedIds []string `protobuf:"bytes,3,rep,name=allowed_ids,json=allowedIds,proto3" json:"allowed_ids,omitempty"` IncludeEmbeddings bool `protobuf:"varint,4,opt,name=include_embeddings,json=includeEmbeddings,proto3" json:"include_embeddings,omitempty"` SegmentId string `protobuf:"bytes,5,opt,name=segment_id,json=segmentId,proto3" json:"segment_id,omitempty"` CollectionId string `protobuf:"bytes,6,opt,name=collection_id,json=collectionId,proto3" json:"collection_id,omitempty"` VersionContext *RequestVersionContext `protobuf:"bytes,7,opt,name=version_context,json=versionContext,proto3" json:"version_context,omitempty"` // TODO: options as in types.py, its currently unused so can add later // contains filtered or unexported fields }
func (*QueryVectorsRequest) Descriptor
deprecated
func (*QueryVectorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryVectorsRequest.ProtoReflect.Descriptor instead.
func (*QueryVectorsRequest) GetAllowedIds ¶
func (x *QueryVectorsRequest) GetAllowedIds() []string
func (*QueryVectorsRequest) GetCollectionId ¶
func (x *QueryVectorsRequest) GetCollectionId() string
func (*QueryVectorsRequest) GetIncludeEmbeddings ¶
func (x *QueryVectorsRequest) GetIncludeEmbeddings() bool
func (*QueryVectorsRequest) GetK ¶
func (x *QueryVectorsRequest) GetK() int32
func (*QueryVectorsRequest) GetSegmentId ¶
func (x *QueryVectorsRequest) GetSegmentId() string
func (*QueryVectorsRequest) GetVectors ¶
func (x *QueryVectorsRequest) GetVectors() []*Vector
func (*QueryVectorsRequest) GetVersionContext ¶
func (x *QueryVectorsRequest) GetVersionContext() *RequestVersionContext
func (*QueryVectorsRequest) ProtoMessage ¶
func (*QueryVectorsRequest) ProtoMessage()
func (*QueryVectorsRequest) ProtoReflect ¶
func (x *QueryVectorsRequest) ProtoReflect() protoreflect.Message
func (*QueryVectorsRequest) Reset ¶
func (x *QueryVectorsRequest) Reset()
func (*QueryVectorsRequest) String ¶
func (x *QueryVectorsRequest) String() string
type QueryVectorsResponse ¶
type QueryVectorsResponse struct { Results []*VectorQueryResults `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*QueryVectorsResponse) Descriptor
deprecated
func (*QueryVectorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryVectorsResponse.ProtoReflect.Descriptor instead.
func (*QueryVectorsResponse) GetResults ¶
func (x *QueryVectorsResponse) GetResults() []*VectorQueryResults
func (*QueryVectorsResponse) ProtoMessage ¶
func (*QueryVectorsResponse) ProtoMessage()
func (*QueryVectorsResponse) ProtoReflect ¶
func (x *QueryVectorsResponse) ProtoReflect() protoreflect.Message
func (*QueryVectorsResponse) Reset ¶
func (x *QueryVectorsResponse) Reset()
func (*QueryVectorsResponse) String ¶
func (x *QueryVectorsResponse) String() string
type RequestVersionContext ¶
type RequestVersionContext struct { CollectionVersion uint32 `protobuf:"varint,1,opt,name=collection_version,json=collectionVersion,proto3" json:"collection_version,omitempty"` LogPosition uint64 `protobuf:"varint,2,opt,name=log_position,json=logPosition,proto3" json:"log_position,omitempty"` // contains filtered or unexported fields }
func (*RequestVersionContext) Descriptor
deprecated
func (*RequestVersionContext) Descriptor() ([]byte, []int)
Deprecated: Use RequestVersionContext.ProtoReflect.Descriptor instead.
func (*RequestVersionContext) GetCollectionVersion ¶
func (x *RequestVersionContext) GetCollectionVersion() uint32
func (*RequestVersionContext) GetLogPosition ¶
func (x *RequestVersionContext) GetLogPosition() uint64
func (*RequestVersionContext) ProtoMessage ¶
func (*RequestVersionContext) ProtoMessage()
func (*RequestVersionContext) ProtoReflect ¶
func (x *RequestVersionContext) ProtoReflect() protoreflect.Message
func (*RequestVersionContext) Reset ¶
func (x *RequestVersionContext) Reset()
func (*RequestVersionContext) String ¶
func (x *RequestVersionContext) String() string
type ResetStateResponse ¶
type ResetStateResponse struct {
// contains filtered or unexported fields
}
func (*ResetStateResponse) Descriptor
deprecated
func (*ResetStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResetStateResponse.ProtoReflect.Descriptor instead.
func (*ResetStateResponse) ProtoMessage ¶
func (*ResetStateResponse) ProtoMessage()
func (*ResetStateResponse) ProtoReflect ¶
func (x *ResetStateResponse) ProtoReflect() protoreflect.Message
func (*ResetStateResponse) Reset ¶
func (x *ResetStateResponse) Reset()
func (*ResetStateResponse) String ¶
func (x *ResetStateResponse) String() string
type ScalarEncoding ¶
type ScalarEncoding int32
const ( ScalarEncoding_FLOAT32 ScalarEncoding = 0 ScalarEncoding_INT32 ScalarEncoding = 1 )
func (ScalarEncoding) Descriptor ¶
func (ScalarEncoding) Descriptor() protoreflect.EnumDescriptor
func (ScalarEncoding) Enum ¶
func (x ScalarEncoding) Enum() *ScalarEncoding
func (ScalarEncoding) EnumDescriptor
deprecated
func (ScalarEncoding) EnumDescriptor() ([]byte, []int)
Deprecated: Use ScalarEncoding.Descriptor instead.
func (ScalarEncoding) Number ¶
func (x ScalarEncoding) Number() protoreflect.EnumNumber
func (ScalarEncoding) String ¶
func (x ScalarEncoding) String() string
func (ScalarEncoding) Type ¶
func (ScalarEncoding) Type() protoreflect.EnumType
type Segment ¶
type Segment struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Scope SegmentScope `protobuf:"varint,3,opt,name=scope,proto3,enum=chroma.SegmentScope" json:"scope,omitempty"` Collection string `protobuf:"bytes,5,opt,name=collection,proto3" json:"collection,omitempty"` Metadata *UpdateMetadata `protobuf:"bytes,6,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` FilePaths map[string]*FilePaths `` /* 176-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Segment) Descriptor
deprecated
func (*Segment) GetCollection ¶
func (*Segment) GetFilePaths ¶
func (*Segment) GetMetadata ¶
func (x *Segment) GetMetadata() *UpdateMetadata
func (*Segment) GetScope ¶
func (x *Segment) GetScope() SegmentScope
func (*Segment) ProtoMessage ¶
func (*Segment) ProtoMessage()
func (*Segment) ProtoReflect ¶
func (x *Segment) ProtoReflect() protoreflect.Message
type SegmentScope ¶
type SegmentScope int32
const ( SegmentScope_VECTOR SegmentScope = 0 SegmentScope_METADATA SegmentScope = 1 SegmentScope_RECORD SegmentScope = 2 SegmentScope_SQLITE SegmentScope = 3 )
func (SegmentScope) Descriptor ¶
func (SegmentScope) Descriptor() protoreflect.EnumDescriptor
func (SegmentScope) Enum ¶
func (x SegmentScope) Enum() *SegmentScope
func (SegmentScope) EnumDescriptor
deprecated
func (SegmentScope) EnumDescriptor() ([]byte, []int)
Deprecated: Use SegmentScope.Descriptor instead.
func (SegmentScope) Number ¶
func (x SegmentScope) Number() protoreflect.EnumNumber
func (SegmentScope) String ¶
func (x SegmentScope) String() string
func (SegmentScope) Type ¶
func (SegmentScope) Type() protoreflect.EnumType
type SetLastCompactionTimeForTenantRequest ¶
type SetLastCompactionTimeForTenantRequest struct { TenantLastCompactionTime *TenantLastCompactionTime `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SetLastCompactionTimeForTenantRequest) Descriptor
deprecated
func (*SetLastCompactionTimeForTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetLastCompactionTimeForTenantRequest.ProtoReflect.Descriptor instead.
func (*SetLastCompactionTimeForTenantRequest) GetTenantLastCompactionTime ¶
func (x *SetLastCompactionTimeForTenantRequest) GetTenantLastCompactionTime() *TenantLastCompactionTime
func (*SetLastCompactionTimeForTenantRequest) ProtoMessage ¶
func (*SetLastCompactionTimeForTenantRequest) ProtoMessage()
func (*SetLastCompactionTimeForTenantRequest) ProtoReflect ¶
func (x *SetLastCompactionTimeForTenantRequest) ProtoReflect() protoreflect.Message
func (*SetLastCompactionTimeForTenantRequest) Reset ¶
func (x *SetLastCompactionTimeForTenantRequest) Reset()
func (*SetLastCompactionTimeForTenantRequest) String ¶
func (x *SetLastCompactionTimeForTenantRequest) String() string
type SingleBoolComparison ¶
type SingleBoolComparison struct { Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` Comparator GenericComparator `protobuf:"varint,2,opt,name=comparator,proto3,enum=chroma.GenericComparator" json:"comparator,omitempty"` // contains filtered or unexported fields }
func (*SingleBoolComparison) Descriptor
deprecated
func (*SingleBoolComparison) Descriptor() ([]byte, []int)
Deprecated: Use SingleBoolComparison.ProtoReflect.Descriptor instead.
func (*SingleBoolComparison) GetComparator ¶
func (x *SingleBoolComparison) GetComparator() GenericComparator
func (*SingleBoolComparison) GetValue ¶
func (x *SingleBoolComparison) GetValue() bool
func (*SingleBoolComparison) ProtoMessage ¶
func (*SingleBoolComparison) ProtoMessage()
func (*SingleBoolComparison) ProtoReflect ¶
func (x *SingleBoolComparison) ProtoReflect() protoreflect.Message
func (*SingleBoolComparison) Reset ¶
func (x *SingleBoolComparison) Reset()
func (*SingleBoolComparison) String ¶
func (x *SingleBoolComparison) String() string
type SingleDoubleComparison ¶
type SingleDoubleComparison struct { Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` // Types that are assignable to Comparator: // // *SingleDoubleComparison_GenericComparator // *SingleDoubleComparison_NumberComparator Comparator isSingleDoubleComparison_Comparator `protobuf_oneof:"comparator"` // contains filtered or unexported fields }
func (*SingleDoubleComparison) Descriptor
deprecated
func (*SingleDoubleComparison) Descriptor() ([]byte, []int)
Deprecated: Use SingleDoubleComparison.ProtoReflect.Descriptor instead.
func (*SingleDoubleComparison) GetComparator ¶
func (m *SingleDoubleComparison) GetComparator() isSingleDoubleComparison_Comparator
func (*SingleDoubleComparison) GetGenericComparator ¶
func (x *SingleDoubleComparison) GetGenericComparator() GenericComparator
func (*SingleDoubleComparison) GetNumberComparator ¶
func (x *SingleDoubleComparison) GetNumberComparator() NumberComparator
func (*SingleDoubleComparison) GetValue ¶
func (x *SingleDoubleComparison) GetValue() float64
func (*SingleDoubleComparison) ProtoMessage ¶
func (*SingleDoubleComparison) ProtoMessage()
func (*SingleDoubleComparison) ProtoReflect ¶
func (x *SingleDoubleComparison) ProtoReflect() protoreflect.Message
func (*SingleDoubleComparison) Reset ¶
func (x *SingleDoubleComparison) Reset()
func (*SingleDoubleComparison) String ¶
func (x *SingleDoubleComparison) String() string
type SingleDoubleComparison_GenericComparator ¶
type SingleDoubleComparison_GenericComparator struct {
GenericComparator GenericComparator `protobuf:"varint,2,opt,name=generic_comparator,json=genericComparator,proto3,enum=chroma.GenericComparator,oneof"`
}
type SingleDoubleComparison_NumberComparator ¶
type SingleDoubleComparison_NumberComparator struct {
NumberComparator NumberComparator `protobuf:"varint,3,opt,name=number_comparator,json=numberComparator,proto3,enum=chroma.NumberComparator,oneof"`
}
type SingleIntComparison ¶
type SingleIntComparison struct { Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // Types that are assignable to Comparator: // // *SingleIntComparison_GenericComparator // *SingleIntComparison_NumberComparator Comparator isSingleIntComparison_Comparator `protobuf_oneof:"comparator"` // contains filtered or unexported fields }
Used when a leaf-node `Where` clause compares an int to a single int.
func (*SingleIntComparison) Descriptor
deprecated
func (*SingleIntComparison) Descriptor() ([]byte, []int)
Deprecated: Use SingleIntComparison.ProtoReflect.Descriptor instead.
func (*SingleIntComparison) GetComparator ¶
func (m *SingleIntComparison) GetComparator() isSingleIntComparison_Comparator
func (*SingleIntComparison) GetGenericComparator ¶
func (x *SingleIntComparison) GetGenericComparator() GenericComparator
func (*SingleIntComparison) GetNumberComparator ¶
func (x *SingleIntComparison) GetNumberComparator() NumberComparator
func (*SingleIntComparison) GetValue ¶
func (x *SingleIntComparison) GetValue() int64
func (*SingleIntComparison) ProtoMessage ¶
func (*SingleIntComparison) ProtoMessage()
func (*SingleIntComparison) ProtoReflect ¶
func (x *SingleIntComparison) ProtoReflect() protoreflect.Message
func (*SingleIntComparison) Reset ¶
func (x *SingleIntComparison) Reset()
func (*SingleIntComparison) String ¶
func (x *SingleIntComparison) String() string
type SingleIntComparison_GenericComparator ¶
type SingleIntComparison_GenericComparator struct {
GenericComparator GenericComparator `protobuf:"varint,2,opt,name=generic_comparator,json=genericComparator,proto3,enum=chroma.GenericComparator,oneof"`
}
type SingleIntComparison_NumberComparator ¶
type SingleIntComparison_NumberComparator struct {
NumberComparator NumberComparator `protobuf:"varint,3,opt,name=number_comparator,json=numberComparator,proto3,enum=chroma.NumberComparator,oneof"`
}
type SingleStringComparison ¶
type SingleStringComparison struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Comparator GenericComparator `protobuf:"varint,2,opt,name=comparator,proto3,enum=chroma.GenericComparator" json:"comparator,omitempty"` // contains filtered or unexported fields }
Used when a leaf-node `Where` clause compares a string to a single string.
func (*SingleStringComparison) Descriptor
deprecated
func (*SingleStringComparison) Descriptor() ([]byte, []int)
Deprecated: Use SingleStringComparison.ProtoReflect.Descriptor instead.
func (*SingleStringComparison) GetComparator ¶
func (x *SingleStringComparison) GetComparator() GenericComparator
func (*SingleStringComparison) GetValue ¶
func (x *SingleStringComparison) GetValue() string
func (*SingleStringComparison) ProtoMessage ¶
func (*SingleStringComparison) ProtoMessage()
func (*SingleStringComparison) ProtoReflect ¶
func (x *SingleStringComparison) ProtoReflect() protoreflect.Message
func (*SingleStringComparison) Reset ¶
func (x *SingleStringComparison) Reset()
func (*SingleStringComparison) String ¶
func (x *SingleStringComparison) String() string
type StringListComparison ¶
type StringListComparison struct { Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` ListOperator ListOperator `protobuf:"varint,2,opt,name=list_operator,json=listOperator,proto3,enum=chroma.ListOperator" json:"list_operator,omitempty"` // contains filtered or unexported fields }
Used when a leaf-node `Where` clause compares a string to a list of strings. `ListOperator` specifies whether values in the list are allowed or disallowed.
func (*StringListComparison) Descriptor
deprecated
func (*StringListComparison) Descriptor() ([]byte, []int)
Deprecated: Use StringListComparison.ProtoReflect.Descriptor instead.
func (*StringListComparison) GetListOperator ¶
func (x *StringListComparison) GetListOperator() ListOperator
func (*StringListComparison) GetValues ¶
func (x *StringListComparison) GetValues() []string
func (*StringListComparison) ProtoMessage ¶
func (*StringListComparison) ProtoMessage()
func (*StringListComparison) ProtoReflect ¶
func (x *StringListComparison) ProtoReflect() protoreflect.Message
func (*StringListComparison) Reset ¶
func (x *StringListComparison) Reset()
func (*StringListComparison) String ¶
func (x *StringListComparison) String() string
type SysDBClient ¶
type SysDBClient interface { CreateDatabase(ctx context.Context, in *CreateDatabaseRequest, opts ...grpc.CallOption) (*CreateDatabaseResponse, error) GetDatabase(ctx context.Context, in *GetDatabaseRequest, opts ...grpc.CallOption) (*GetDatabaseResponse, error) CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*CreateTenantResponse, error) GetTenant(ctx context.Context, in *GetTenantRequest, opts ...grpc.CallOption) (*GetTenantResponse, error) CreateSegment(ctx context.Context, in *CreateSegmentRequest, opts ...grpc.CallOption) (*CreateSegmentResponse, error) DeleteSegment(ctx context.Context, in *DeleteSegmentRequest, opts ...grpc.CallOption) (*DeleteSegmentResponse, error) GetSegments(ctx context.Context, in *GetSegmentsRequest, opts ...grpc.CallOption) (*GetSegmentsResponse, error) UpdateSegment(ctx context.Context, in *UpdateSegmentRequest, opts ...grpc.CallOption) (*UpdateSegmentResponse, error) CreateCollection(ctx context.Context, in *CreateCollectionRequest, opts ...grpc.CallOption) (*CreateCollectionResponse, error) DeleteCollection(ctx context.Context, in *DeleteCollectionRequest, opts ...grpc.CallOption) (*DeleteCollectionResponse, error) GetCollections(ctx context.Context, in *GetCollectionsRequest, opts ...grpc.CallOption) (*GetCollectionsResponse, error) CheckCollections(ctx context.Context, in *CheckCollectionsRequest, opts ...grpc.CallOption) (*CheckCollectionsResponse, error) UpdateCollection(ctx context.Context, in *UpdateCollectionRequest, opts ...grpc.CallOption) (*UpdateCollectionResponse, error) ResetState(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ResetStateResponse, error) GetLastCompactionTimeForTenant(ctx context.Context, in *GetLastCompactionTimeForTenantRequest, opts ...grpc.CallOption) (*GetLastCompactionTimeForTenantResponse, error) SetLastCompactionTimeForTenant(ctx context.Context, in *SetLastCompactionTimeForTenantRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) FlushCollectionCompaction(ctx context.Context, in *FlushCollectionCompactionRequest, opts ...grpc.CallOption) (*FlushCollectionCompactionResponse, error) }
SysDBClient is the client API for SysDB service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSysDBClient ¶
func NewSysDBClient(cc grpc.ClientConnInterface) SysDBClient
type SysDBServer ¶
type SysDBServer interface { CreateDatabase(context.Context, *CreateDatabaseRequest) (*CreateDatabaseResponse, error) GetDatabase(context.Context, *GetDatabaseRequest) (*GetDatabaseResponse, error) CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantResponse, error) GetTenant(context.Context, *GetTenantRequest) (*GetTenantResponse, error) CreateSegment(context.Context, *CreateSegmentRequest) (*CreateSegmentResponse, error) DeleteSegment(context.Context, *DeleteSegmentRequest) (*DeleteSegmentResponse, error) GetSegments(context.Context, *GetSegmentsRequest) (*GetSegmentsResponse, error) UpdateSegment(context.Context, *UpdateSegmentRequest) (*UpdateSegmentResponse, error) CreateCollection(context.Context, *CreateCollectionRequest) (*CreateCollectionResponse, error) DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error) GetCollections(context.Context, *GetCollectionsRequest) (*GetCollectionsResponse, error) CheckCollections(context.Context, *CheckCollectionsRequest) (*CheckCollectionsResponse, error) UpdateCollection(context.Context, *UpdateCollectionRequest) (*UpdateCollectionResponse, error) ResetState(context.Context, *emptypb.Empty) (*ResetStateResponse, error) GetLastCompactionTimeForTenant(context.Context, *GetLastCompactionTimeForTenantRequest) (*GetLastCompactionTimeForTenantResponse, error) SetLastCompactionTimeForTenant(context.Context, *SetLastCompactionTimeForTenantRequest) (*emptypb.Empty, error) FlushCollectionCompaction(context.Context, *FlushCollectionCompactionRequest) (*FlushCollectionCompactionResponse, error) // contains filtered or unexported methods }
SysDBServer is the server API for SysDB service. All implementations must embed UnimplementedSysDBServer for forward compatibility.
type Tenant ¶
type Tenant struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Tenant) Descriptor
deprecated
func (*Tenant) ProtoMessage ¶
func (*Tenant) ProtoMessage()
func (*Tenant) ProtoReflect ¶
func (x *Tenant) ProtoReflect() protoreflect.Message
type TenantLastCompactionTime ¶
type TenantLastCompactionTime struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` LastCompactionTime int64 `protobuf:"varint,2,opt,name=last_compaction_time,json=lastCompactionTime,proto3" json:"last_compaction_time,omitempty"` // contains filtered or unexported fields }
func (*TenantLastCompactionTime) Descriptor
deprecated
func (*TenantLastCompactionTime) Descriptor() ([]byte, []int)
Deprecated: Use TenantLastCompactionTime.ProtoReflect.Descriptor instead.
func (*TenantLastCompactionTime) GetLastCompactionTime ¶
func (x *TenantLastCompactionTime) GetLastCompactionTime() int64
func (*TenantLastCompactionTime) GetTenantId ¶
func (x *TenantLastCompactionTime) GetTenantId() string
func (*TenantLastCompactionTime) ProtoMessage ¶
func (*TenantLastCompactionTime) ProtoMessage()
func (*TenantLastCompactionTime) ProtoReflect ¶
func (x *TenantLastCompactionTime) ProtoReflect() protoreflect.Message
func (*TenantLastCompactionTime) Reset ¶
func (x *TenantLastCompactionTime) Reset()
func (*TenantLastCompactionTime) String ¶
func (x *TenantLastCompactionTime) String() string
type UnimplementedMetadataReaderServer ¶
type UnimplementedMetadataReaderServer struct{}
UnimplementedMetadataReaderServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMetadataReaderServer) CountRecords ¶
func (UnimplementedMetadataReaderServer) CountRecords(context.Context, *CountRecordsRequest) (*CountRecordsResponse, error)
func (UnimplementedMetadataReaderServer) QueryMetadata ¶
func (UnimplementedMetadataReaderServer) QueryMetadata(context.Context, *QueryMetadataRequest) (*QueryMetadataResponse, error)
type UnimplementedSysDBServer ¶
type UnimplementedSysDBServer struct{}
UnimplementedSysDBServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedSysDBServer) CheckCollections ¶
func (UnimplementedSysDBServer) CheckCollections(context.Context, *CheckCollectionsRequest) (*CheckCollectionsResponse, error)
func (UnimplementedSysDBServer) CreateCollection ¶
func (UnimplementedSysDBServer) CreateCollection(context.Context, *CreateCollectionRequest) (*CreateCollectionResponse, error)
func (UnimplementedSysDBServer) CreateDatabase ¶
func (UnimplementedSysDBServer) CreateDatabase(context.Context, *CreateDatabaseRequest) (*CreateDatabaseResponse, error)
func (UnimplementedSysDBServer) CreateSegment ¶
func (UnimplementedSysDBServer) CreateSegment(context.Context, *CreateSegmentRequest) (*CreateSegmentResponse, error)
func (UnimplementedSysDBServer) CreateTenant ¶
func (UnimplementedSysDBServer) CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantResponse, error)
func (UnimplementedSysDBServer) DeleteCollection ¶
func (UnimplementedSysDBServer) DeleteCollection(context.Context, *DeleteCollectionRequest) (*DeleteCollectionResponse, error)
func (UnimplementedSysDBServer) DeleteSegment ¶
func (UnimplementedSysDBServer) DeleteSegment(context.Context, *DeleteSegmentRequest) (*DeleteSegmentResponse, error)
func (UnimplementedSysDBServer) FlushCollectionCompaction ¶
func (UnimplementedSysDBServer) FlushCollectionCompaction(context.Context, *FlushCollectionCompactionRequest) (*FlushCollectionCompactionResponse, error)
func (UnimplementedSysDBServer) GetCollections ¶
func (UnimplementedSysDBServer) GetCollections(context.Context, *GetCollectionsRequest) (*GetCollectionsResponse, error)
func (UnimplementedSysDBServer) GetDatabase ¶
func (UnimplementedSysDBServer) GetDatabase(context.Context, *GetDatabaseRequest) (*GetDatabaseResponse, error)
func (UnimplementedSysDBServer) GetLastCompactionTimeForTenant ¶
func (UnimplementedSysDBServer) GetLastCompactionTimeForTenant(context.Context, *GetLastCompactionTimeForTenantRequest) (*GetLastCompactionTimeForTenantResponse, error)
func (UnimplementedSysDBServer) GetSegments ¶
func (UnimplementedSysDBServer) GetSegments(context.Context, *GetSegmentsRequest) (*GetSegmentsResponse, error)
func (UnimplementedSysDBServer) GetTenant ¶
func (UnimplementedSysDBServer) GetTenant(context.Context, *GetTenantRequest) (*GetTenantResponse, error)
func (UnimplementedSysDBServer) ResetState ¶
func (UnimplementedSysDBServer) ResetState(context.Context, *emptypb.Empty) (*ResetStateResponse, error)
func (UnimplementedSysDBServer) SetLastCompactionTimeForTenant ¶
func (UnimplementedSysDBServer) SetLastCompactionTimeForTenant(context.Context, *SetLastCompactionTimeForTenantRequest) (*emptypb.Empty, error)
func (UnimplementedSysDBServer) UpdateCollection ¶
func (UnimplementedSysDBServer) UpdateCollection(context.Context, *UpdateCollectionRequest) (*UpdateCollectionResponse, error)
func (UnimplementedSysDBServer) UpdateSegment ¶
func (UnimplementedSysDBServer) UpdateSegment(context.Context, *UpdateSegmentRequest) (*UpdateSegmentResponse, error)
type UnimplementedVectorReaderServer ¶
type UnimplementedVectorReaderServer struct{}
UnimplementedVectorReaderServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedVectorReaderServer) GetVectors ¶
func (UnimplementedVectorReaderServer) GetVectors(context.Context, *GetVectorsRequest) (*GetVectorsResponse, error)
func (UnimplementedVectorReaderServer) QueryVectors ¶
func (UnimplementedVectorReaderServer) QueryVectors(context.Context, *QueryVectorsRequest) (*QueryVectorsResponse, error)
type UnsafeMetadataReaderServer ¶
type UnsafeMetadataReaderServer interface {
// contains filtered or unexported methods
}
UnsafeMetadataReaderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MetadataReaderServer will result in compilation errors.
type UnsafeSysDBServer ¶
type UnsafeSysDBServer interface {
// contains filtered or unexported methods
}
UnsafeSysDBServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SysDBServer will result in compilation errors.
type UnsafeVectorReaderServer ¶
type UnsafeVectorReaderServer interface {
// contains filtered or unexported methods
}
UnsafeVectorReaderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VectorReaderServer will result in compilation errors.
type UpdateCollectionRequest ¶
type UpdateCollectionRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"` Dimension *int32 `protobuf:"varint,4,opt,name=dimension,proto3,oneof" json:"dimension,omitempty"` // Types that are assignable to MetadataUpdate: // // *UpdateCollectionRequest_Metadata // *UpdateCollectionRequest_ResetMetadata MetadataUpdate isUpdateCollectionRequest_MetadataUpdate `protobuf_oneof:"metadata_update"` // contains filtered or unexported fields }
func (*UpdateCollectionRequest) Descriptor
deprecated
func (*UpdateCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCollectionRequest.ProtoReflect.Descriptor instead.
func (*UpdateCollectionRequest) GetDimension ¶
func (x *UpdateCollectionRequest) GetDimension() int32
func (*UpdateCollectionRequest) GetId ¶
func (x *UpdateCollectionRequest) GetId() string
func (*UpdateCollectionRequest) GetMetadata ¶
func (x *UpdateCollectionRequest) GetMetadata() *UpdateMetadata
func (*UpdateCollectionRequest) GetMetadataUpdate ¶
func (m *UpdateCollectionRequest) GetMetadataUpdate() isUpdateCollectionRequest_MetadataUpdate
func (*UpdateCollectionRequest) GetName ¶
func (x *UpdateCollectionRequest) GetName() string
func (*UpdateCollectionRequest) GetResetMetadata ¶
func (x *UpdateCollectionRequest) GetResetMetadata() bool
func (*UpdateCollectionRequest) ProtoMessage ¶
func (*UpdateCollectionRequest) ProtoMessage()
func (*UpdateCollectionRequest) ProtoReflect ¶
func (x *UpdateCollectionRequest) ProtoReflect() protoreflect.Message
func (*UpdateCollectionRequest) Reset ¶
func (x *UpdateCollectionRequest) Reset()
func (*UpdateCollectionRequest) String ¶
func (x *UpdateCollectionRequest) String() string
type UpdateCollectionRequest_Metadata ¶
type UpdateCollectionRequest_Metadata struct {
Metadata *UpdateMetadata `protobuf:"bytes,5,opt,name=metadata,proto3,oneof"`
}
type UpdateCollectionRequest_ResetMetadata ¶
type UpdateCollectionRequest_ResetMetadata struct {
ResetMetadata bool `protobuf:"varint,6,opt,name=reset_metadata,json=resetMetadata,proto3,oneof"`
}
type UpdateCollectionResponse ¶
type UpdateCollectionResponse struct {
// contains filtered or unexported fields
}
func (*UpdateCollectionResponse) Descriptor
deprecated
func (*UpdateCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCollectionResponse.ProtoReflect.Descriptor instead.
func (*UpdateCollectionResponse) ProtoMessage ¶
func (*UpdateCollectionResponse) ProtoMessage()
func (*UpdateCollectionResponse) ProtoReflect ¶
func (x *UpdateCollectionResponse) ProtoReflect() protoreflect.Message
func (*UpdateCollectionResponse) Reset ¶
func (x *UpdateCollectionResponse) Reset()
func (*UpdateCollectionResponse) String ¶
func (x *UpdateCollectionResponse) String() string
type UpdateMetadata ¶
type UpdateMetadata struct { Metadata map[string]*UpdateMetadataValue `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateMetadata) Descriptor
deprecated
func (*UpdateMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMetadata.ProtoReflect.Descriptor instead.
func (*UpdateMetadata) GetMetadata ¶
func (x *UpdateMetadata) GetMetadata() map[string]*UpdateMetadataValue
func (*UpdateMetadata) ProtoMessage ¶
func (*UpdateMetadata) ProtoMessage()
func (*UpdateMetadata) ProtoReflect ¶
func (x *UpdateMetadata) ProtoReflect() protoreflect.Message
func (*UpdateMetadata) Reset ¶
func (x *UpdateMetadata) Reset()
func (*UpdateMetadata) String ¶
func (x *UpdateMetadata) String() string
type UpdateMetadataValue ¶
type UpdateMetadataValue struct { // Not set if user wants to delete the key. // TODO(Sanket): Should we make this more explicit? // // Types that are assignable to Value: // // *UpdateMetadataValue_StringValue // *UpdateMetadataValue_IntValue // *UpdateMetadataValue_FloatValue // *UpdateMetadataValue_BoolValue Value isUpdateMetadataValue_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*UpdateMetadataValue) Descriptor
deprecated
func (*UpdateMetadataValue) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMetadataValue.ProtoReflect.Descriptor instead.
func (*UpdateMetadataValue) GetBoolValue ¶
func (x *UpdateMetadataValue) GetBoolValue() bool
func (*UpdateMetadataValue) GetFloatValue ¶
func (x *UpdateMetadataValue) GetFloatValue() float64
func (*UpdateMetadataValue) GetIntValue ¶
func (x *UpdateMetadataValue) GetIntValue() int64
func (*UpdateMetadataValue) GetStringValue ¶
func (x *UpdateMetadataValue) GetStringValue() string
func (*UpdateMetadataValue) GetValue ¶
func (m *UpdateMetadataValue) GetValue() isUpdateMetadataValue_Value
func (*UpdateMetadataValue) ProtoMessage ¶
func (*UpdateMetadataValue) ProtoMessage()
func (*UpdateMetadataValue) ProtoReflect ¶
func (x *UpdateMetadataValue) ProtoReflect() protoreflect.Message
func (*UpdateMetadataValue) Reset ¶
func (x *UpdateMetadataValue) Reset()
func (*UpdateMetadataValue) String ¶
func (x *UpdateMetadataValue) String() string
type UpdateMetadataValue_BoolValue ¶
type UpdateMetadataValue_BoolValue struct {
BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type UpdateMetadataValue_FloatValue ¶
type UpdateMetadataValue_FloatValue struct {
FloatValue float64 `protobuf:"fixed64,3,opt,name=float_value,json=floatValue,proto3,oneof"`
}
type UpdateMetadataValue_IntValue ¶
type UpdateMetadataValue_IntValue struct {
IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}
type UpdateMetadataValue_StringValue ¶
type UpdateMetadataValue_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type UpdateSegmentRequest ¶
type UpdateSegmentRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Collection string `protobuf:"bytes,4,opt,name=collection,proto3" json:"collection,omitempty"` // Types that are assignable to MetadataUpdate: // // *UpdateSegmentRequest_Metadata // *UpdateSegmentRequest_ResetMetadata MetadataUpdate isUpdateSegmentRequest_MetadataUpdate `protobuf_oneof:"metadata_update"` // contains filtered or unexported fields }
func (*UpdateSegmentRequest) Descriptor
deprecated
func (*UpdateSegmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSegmentRequest.ProtoReflect.Descriptor instead.
func (*UpdateSegmentRequest) GetCollection ¶
func (x *UpdateSegmentRequest) GetCollection() string
func (*UpdateSegmentRequest) GetId ¶
func (x *UpdateSegmentRequest) GetId() string
func (*UpdateSegmentRequest) GetMetadata ¶
func (x *UpdateSegmentRequest) GetMetadata() *UpdateMetadata
func (*UpdateSegmentRequest) GetMetadataUpdate ¶
func (m *UpdateSegmentRequest) GetMetadataUpdate() isUpdateSegmentRequest_MetadataUpdate
func (*UpdateSegmentRequest) GetResetMetadata ¶
func (x *UpdateSegmentRequest) GetResetMetadata() bool
func (*UpdateSegmentRequest) ProtoMessage ¶
func (*UpdateSegmentRequest) ProtoMessage()
func (*UpdateSegmentRequest) ProtoReflect ¶
func (x *UpdateSegmentRequest) ProtoReflect() protoreflect.Message
func (*UpdateSegmentRequest) Reset ¶
func (x *UpdateSegmentRequest) Reset()
func (*UpdateSegmentRequest) String ¶
func (x *UpdateSegmentRequest) String() string
type UpdateSegmentRequest_Metadata ¶
type UpdateSegmentRequest_Metadata struct {
Metadata *UpdateMetadata `protobuf:"bytes,6,opt,name=metadata,proto3,oneof"`
}
type UpdateSegmentRequest_ResetMetadata ¶
type UpdateSegmentRequest_ResetMetadata struct {
ResetMetadata bool `protobuf:"varint,7,opt,name=reset_metadata,json=resetMetadata,proto3,oneof"`
}
type UpdateSegmentResponse ¶
type UpdateSegmentResponse struct {
// contains filtered or unexported fields
}
func (*UpdateSegmentResponse) Descriptor
deprecated
func (*UpdateSegmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSegmentResponse.ProtoReflect.Descriptor instead.
func (*UpdateSegmentResponse) ProtoMessage ¶
func (*UpdateSegmentResponse) ProtoMessage()
func (*UpdateSegmentResponse) ProtoReflect ¶
func (x *UpdateSegmentResponse) ProtoReflect() protoreflect.Message
func (*UpdateSegmentResponse) Reset ¶
func (x *UpdateSegmentResponse) Reset()
func (*UpdateSegmentResponse) String ¶
func (x *UpdateSegmentResponse) String() string
type UserIds ¶
type UserIds struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
A `UserIds` should contain the set of user provided ids allowed in the result.
func (*UserIds) Descriptor
deprecated
func (*UserIds) ProtoMessage ¶
func (*UserIds) ProtoMessage()
func (*UserIds) ProtoReflect ¶
func (x *UserIds) ProtoReflect() protoreflect.Message
type Vector ¶
type Vector struct { Dimension int32 `protobuf:"varint,1,opt,name=dimension,proto3" json:"dimension,omitempty"` Vector []byte `protobuf:"bytes,2,opt,name=vector,proto3" json:"vector,omitempty"` Encoding ScalarEncoding `protobuf:"varint,3,opt,name=encoding,proto3,enum=chroma.ScalarEncoding" json:"encoding,omitempty"` // contains filtered or unexported fields }
func (*Vector) Descriptor
deprecated
func (*Vector) GetDimension ¶
func (*Vector) GetEncoding ¶
func (x *Vector) GetEncoding() ScalarEncoding
func (*Vector) ProtoMessage ¶
func (*Vector) ProtoMessage()
func (*Vector) ProtoReflect ¶
func (x *Vector) ProtoReflect() protoreflect.Message
type VectorEmbeddingRecord ¶
type VectorEmbeddingRecord struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Vector *Vector `protobuf:"bytes,3,opt,name=vector,proto3" json:"vector,omitempty"` // TODO: we need to rethink source of truth for vector dimensionality and encoding // contains filtered or unexported fields }
func (*VectorEmbeddingRecord) Descriptor
deprecated
func (*VectorEmbeddingRecord) Descriptor() ([]byte, []int)
Deprecated: Use VectorEmbeddingRecord.ProtoReflect.Descriptor instead.
func (*VectorEmbeddingRecord) GetId ¶
func (x *VectorEmbeddingRecord) GetId() string
func (*VectorEmbeddingRecord) GetVector ¶
func (x *VectorEmbeddingRecord) GetVector() *Vector
func (*VectorEmbeddingRecord) ProtoMessage ¶
func (*VectorEmbeddingRecord) ProtoMessage()
func (*VectorEmbeddingRecord) ProtoReflect ¶
func (x *VectorEmbeddingRecord) ProtoReflect() protoreflect.Message
func (*VectorEmbeddingRecord) Reset ¶
func (x *VectorEmbeddingRecord) Reset()
func (*VectorEmbeddingRecord) String ¶
func (x *VectorEmbeddingRecord) String() string
type VectorQueryResult ¶
type VectorQueryResult struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Distance float32 `protobuf:"fixed32,3,opt,name=distance,proto3" json:"distance,omitempty"` Vector *Vector `protobuf:"bytes,4,opt,name=vector,proto3,oneof" json:"vector,omitempty"` // contains filtered or unexported fields }
func (*VectorQueryResult) Descriptor
deprecated
func (*VectorQueryResult) Descriptor() ([]byte, []int)
Deprecated: Use VectorQueryResult.ProtoReflect.Descriptor instead.
func (*VectorQueryResult) GetDistance ¶
func (x *VectorQueryResult) GetDistance() float32
func (*VectorQueryResult) GetId ¶
func (x *VectorQueryResult) GetId() string
func (*VectorQueryResult) GetVector ¶
func (x *VectorQueryResult) GetVector() *Vector
func (*VectorQueryResult) ProtoMessage ¶
func (*VectorQueryResult) ProtoMessage()
func (*VectorQueryResult) ProtoReflect ¶
func (x *VectorQueryResult) ProtoReflect() protoreflect.Message
func (*VectorQueryResult) Reset ¶
func (x *VectorQueryResult) Reset()
func (*VectorQueryResult) String ¶
func (x *VectorQueryResult) String() string
type VectorQueryResults ¶
type VectorQueryResults struct { Results []*VectorQueryResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*VectorQueryResults) Descriptor
deprecated
func (*VectorQueryResults) Descriptor() ([]byte, []int)
Deprecated: Use VectorQueryResults.ProtoReflect.Descriptor instead.
func (*VectorQueryResults) GetResults ¶
func (x *VectorQueryResults) GetResults() []*VectorQueryResult
func (*VectorQueryResults) ProtoMessage ¶
func (*VectorQueryResults) ProtoMessage()
func (*VectorQueryResults) ProtoReflect ¶
func (x *VectorQueryResults) ProtoReflect() protoreflect.Message
func (*VectorQueryResults) Reset ¶
func (x *VectorQueryResults) Reset()
func (*VectorQueryResults) String ¶
func (x *VectorQueryResults) String() string
type VectorReaderClient ¶
type VectorReaderClient interface { GetVectors(ctx context.Context, in *GetVectorsRequest, opts ...grpc.CallOption) (*GetVectorsResponse, error) QueryVectors(ctx context.Context, in *QueryVectorsRequest, opts ...grpc.CallOption) (*QueryVectorsResponse, error) }
VectorReaderClient is the client API for VectorReader service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewVectorReaderClient ¶
func NewVectorReaderClient(cc grpc.ClientConnInterface) VectorReaderClient
type VectorReaderServer ¶
type VectorReaderServer interface { GetVectors(context.Context, *GetVectorsRequest) (*GetVectorsResponse, error) QueryVectors(context.Context, *QueryVectorsRequest) (*QueryVectorsResponse, error) // contains filtered or unexported methods }
VectorReaderServer is the server API for VectorReader service. All implementations must embed UnimplementedVectorReaderServer for forward compatibility.
type Where ¶
type Where struct { // Types that are assignable to Where: // // *Where_DirectComparison // *Where_Children Where isWhere_Where `protobuf_oneof:"where"` // contains filtered or unexported fields }
A `Where` clause for filtering metadata. A `Where` clause is a tree of `Where` clauses, where each node is exactly one of:
- A leaf node representing a direct comparison between a metadata key and a value or list of values.
- An branch node with a list of children and a way to combine them (AND or OR).
func (*Where) Descriptor
deprecated
func (*Where) GetChildren ¶
func (x *Where) GetChildren() *WhereChildren
func (*Where) GetDirectComparison ¶
func (x *Where) GetDirectComparison() *DirectComparison
func (*Where) ProtoMessage ¶
func (*Where) ProtoMessage()
func (*Where) ProtoReflect ¶
func (x *Where) ProtoReflect() protoreflect.Message
type WhereChildren ¶
type WhereChildren struct { Children []*Where `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"` Operator BooleanOperator `protobuf:"varint,2,opt,name=operator,proto3,enum=chroma.BooleanOperator" json:"operator,omitempty"` // contains filtered or unexported fields }
A branch-node `Where` clause has a list of children and a specification for how to combine them.
func (*WhereChildren) Descriptor
deprecated
func (*WhereChildren) Descriptor() ([]byte, []int)
Deprecated: Use WhereChildren.ProtoReflect.Descriptor instead.
func (*WhereChildren) GetChildren ¶
func (x *WhereChildren) GetChildren() []*Where
func (*WhereChildren) GetOperator ¶
func (x *WhereChildren) GetOperator() BooleanOperator
func (*WhereChildren) ProtoMessage ¶
func (*WhereChildren) ProtoMessage()
func (*WhereChildren) ProtoReflect ¶
func (x *WhereChildren) ProtoReflect() protoreflect.Message
func (*WhereChildren) Reset ¶
func (x *WhereChildren) Reset()
func (*WhereChildren) String ¶
func (x *WhereChildren) String() string
type WhereDocument ¶
type WhereDocument struct { // Types that are assignable to WhereDocument: // // *WhereDocument_Direct // *WhereDocument_Children WhereDocument isWhereDocument_WhereDocument `protobuf_oneof:"where_document"` // contains filtered or unexported fields }
A `WhereDocument` clause for filtering metadata. A `WhereDocument` clause is a tree of `WhereDocument` clauses, where each node is exactly one of: - A leaf node representing a `$contains` or `$not_contains` query directly. - An branch node with a list of children and a way to combine them (AND or OR).
func (*WhereDocument) Descriptor
deprecated
func (*WhereDocument) Descriptor() ([]byte, []int)
Deprecated: Use WhereDocument.ProtoReflect.Descriptor instead.
func (*WhereDocument) GetChildren ¶
func (x *WhereDocument) GetChildren() *WhereDocumentChildren
func (*WhereDocument) GetDirect ¶
func (x *WhereDocument) GetDirect() *DirectWhereDocument
func (*WhereDocument) GetWhereDocument ¶
func (m *WhereDocument) GetWhereDocument() isWhereDocument_WhereDocument
func (*WhereDocument) ProtoMessage ¶
func (*WhereDocument) ProtoMessage()
func (*WhereDocument) ProtoReflect ¶
func (x *WhereDocument) ProtoReflect() protoreflect.Message
func (*WhereDocument) Reset ¶
func (x *WhereDocument) Reset()
func (*WhereDocument) String ¶
func (x *WhereDocument) String() string
type WhereDocumentChildren ¶
type WhereDocumentChildren struct { Children []*WhereDocument `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"` Operator BooleanOperator `protobuf:"varint,2,opt,name=operator,proto3,enum=chroma.BooleanOperator" json:"operator,omitempty"` // contains filtered or unexported fields }
A branch-node `WhereDocument` node has a list of children.
func (*WhereDocumentChildren) Descriptor
deprecated
func (*WhereDocumentChildren) Descriptor() ([]byte, []int)
Deprecated: Use WhereDocumentChildren.ProtoReflect.Descriptor instead.
func (*WhereDocumentChildren) GetChildren ¶
func (x *WhereDocumentChildren) GetChildren() []*WhereDocument
func (*WhereDocumentChildren) GetOperator ¶
func (x *WhereDocumentChildren) GetOperator() BooleanOperator
func (*WhereDocumentChildren) ProtoMessage ¶
func (*WhereDocumentChildren) ProtoMessage()
func (*WhereDocumentChildren) ProtoReflect ¶
func (x *WhereDocumentChildren) ProtoReflect() protoreflect.Message
func (*WhereDocumentChildren) Reset ¶
func (x *WhereDocumentChildren) Reset()
func (*WhereDocumentChildren) String ¶
func (x *WhereDocumentChildren) String() string
type WhereDocumentOperator ¶
type WhereDocumentOperator int32
Types of operators for `WhereDocument` clauses. A `WhereDocument` clause can either require that a document contains a value or that it does not contain a value.
const ( WhereDocumentOperator_CONTAINS WhereDocumentOperator = 0 WhereDocumentOperator_NOT_CONTAINS WhereDocumentOperator = 1 )
func (WhereDocumentOperator) Descriptor ¶
func (WhereDocumentOperator) Descriptor() protoreflect.EnumDescriptor
func (WhereDocumentOperator) Enum ¶
func (x WhereDocumentOperator) Enum() *WhereDocumentOperator
func (WhereDocumentOperator) EnumDescriptor
deprecated
func (WhereDocumentOperator) EnumDescriptor() ([]byte, []int)
Deprecated: Use WhereDocumentOperator.Descriptor instead.
func (WhereDocumentOperator) Number ¶
func (x WhereDocumentOperator) Number() protoreflect.EnumNumber
func (WhereDocumentOperator) String ¶
func (x WhereDocumentOperator) String() string
func (WhereDocumentOperator) Type ¶
func (WhereDocumentOperator) Type() protoreflect.EnumType
type WhereDocument_Children ¶
type WhereDocument_Children struct {
Children *WhereDocumentChildren `protobuf:"bytes,2,opt,name=children,proto3,oneof"`
}
type WhereDocument_Direct ¶
type WhereDocument_Direct struct {
Direct *DirectWhereDocument `protobuf:"bytes,1,opt,name=direct,proto3,oneof"`
}
type Where_Children ¶
type Where_Children struct {
Children *WhereChildren `protobuf:"bytes,2,opt,name=children,proto3,oneof"`
}
type Where_DirectComparison ¶
type Where_DirectComparison struct {
DirectComparison *DirectComparison `protobuf:"bytes,1,opt,name=direct_comparison,json=directComparison,proto3,oneof"`
}