mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 21:09:06 +08:00
be409b29c8
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
25 lines
398 B
Go
25 lines
398 B
Go
package reader
|
|
|
|
type deleteNode struct {
|
|
BaseNode
|
|
deleteMsg deleteMsg
|
|
}
|
|
|
|
func (dNode *deleteNode) Name() string {
|
|
return "dNode"
|
|
}
|
|
|
|
func (dNode *deleteNode) Operate(in []*Msg) []*Msg {
|
|
return in
|
|
}
|
|
|
|
func newDeleteNode() *deleteNode {
|
|
baseNode := BaseNode{}
|
|
baseNode.SetMaxQueueLength(maxQueueLength)
|
|
baseNode.SetMaxParallelism(maxParallelism)
|
|
|
|
return &deleteNode{
|
|
BaseNode: baseNode,
|
|
}
|
|
}
|