mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
Co-authored-by: kejiang ke.jiang@zilliz.com Co-authored-by: yun.zhang yun.zhang@zilliz.com Signed-off-by: yun.zhang <yun.zhang@zilliz.com>
25 lines
645 B
Go
25 lines
645 B
Go
package model
|
|
|
|
import (
|
|
"github.com/milvus-io/milvus/internal/proto/commonpb"
|
|
)
|
|
|
|
type Collection struct {
|
|
TenantID string
|
|
CollectionID int64
|
|
Partitions []*Partition
|
|
Name string
|
|
Description string
|
|
AutoID bool
|
|
Fields []*Field
|
|
FieldIndexes []*Index
|
|
VirtualChannelNames []string
|
|
PhysicalChannelNames []string
|
|
ShardsNum int32
|
|
StartPositions []*commonpb.KeyDataPair
|
|
CreateTime uint64
|
|
ConsistencyLevel commonpb.ConsistencyLevel
|
|
Aliases []string
|
|
Extra map[string]string // extra kvs
|
|
}
|