mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 04:49:08 +08:00
b98b226d8c
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
28 lines
505 B
Go
28 lines
505 B
Go
package querynodeimp
|
|
|
|
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 {
|
|
maxQueueLength := Params.FlowGraphMaxQueueLength
|
|
maxParallelism := Params.FlowGraphMaxParallelism
|
|
|
|
baseNode := baseNode{}
|
|
baseNode.SetMaxQueueLength(maxQueueLength)
|
|
baseNode.SetMaxParallelism(maxParallelism)
|
|
|
|
return &deleteNode{
|
|
baseNode: baseNode,
|
|
}
|
|
}
|