mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add comment for payload (#13367)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
This commit is contained in:
parent
e616094074
commit
18fbc167f8
@ -30,6 +30,7 @@ import (
|
||||
"github.com/milvus-io/milvus/internal/proto/schemapb"
|
||||
)
|
||||
|
||||
// PayloadWriterInterface abstracts PayloadWriter
|
||||
type PayloadWriterInterface interface {
|
||||
AddDataToPayload(msgs interface{}, dim ...int) error
|
||||
AddBoolToPayload(msgs []bool) error
|
||||
@ -49,6 +50,7 @@ type PayloadWriterInterface interface {
|
||||
Close()
|
||||
}
|
||||
|
||||
// PayloadReaderInterface abstracts PayloadReader
|
||||
type PayloadReaderInterface interface {
|
||||
GetDataFromPayload(idx ...int) (interface{}, int, error)
|
||||
GetBoolFromPayload() ([]bool, error)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user