未验证 提交 82ff4563 编写于 作者: S sunby 提交者: GitHub

[skip ci]Add comment for SegmentInfoOption (#9393)

Signed-off-by: Nsunby <bingyi.sun@zilliz.com>
上级 41633aee
......@@ -183,6 +183,7 @@ func (s *SegmentInfo) ShadowClone(opts ...SegmentInfoOption) *SegmentInfo {
return cloned
}
// SegmentInfoOption is the option to set fields in segment info
type SegmentInfoOption func(segment *SegmentInfo)
func SetRowCount(rowCount int64) SegmentInfoOption {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册