milvus/internal/reader/flow_graph_delete_node.go
bigsheeper be409b29c8 Refactor cgo collection, partition and segment
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-11-09 18:07:15 +08:00

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,
}
}