[skip ci] Add comment for index codec (#13464)

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
pull/13110/head
shaoyue 2021-12-15 21:13:23 +08:00 committed by GitHub
parent 0d88568957
commit 0e24520192
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1248,9 +1248,11 @@ func (codec *IndexFileBinlogCodec) Deserialize(blobs []*Blob) (
return datas, indexParams, indexName, indexID, err
}
// IndexCodec can serialize and deserialize index
type IndexCodec struct {
}
// NewIndexCodec creates IndexCodec
func NewIndexCodec() *IndexCodec {
return &IndexCodec{}
}