mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
25 lines
481 B
Go
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,
|
||
|
}
|
||
|
}
|