milvus/internal/reader/delete_preprocess_node.go
bigsheeper f49c98ed85 Add reader flowgraph about nodes and messages
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-11-02 19:30:12 +08:00

25 lines
481 B
Go

package reader
type deletePreprocessNode struct {
BaseNode
deletePreprocessMsg deletePreprocessMsg
}
func (dpNode *deletePreprocessNode) Name() string {
return "dpNode"
}
func (dpNode *deletePreprocessNode) Operate(in []*Msg) []*Msg {
return in
}
func newDeletePreprocessNode() *deletePreprocessNode {
baseNode := BaseNode{}
baseNode.SetMaxQueueLength(maxQueueLength)
baseNode.SetMaxParallelism(maxParallelism)
return &deletePreprocessNode{
BaseNode: baseNode,
}
}