milvus/internal/reader/flow_graph_schema_update_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
449 B
Go

package reader
type schemaUpdateNode struct {
BaseNode
schemaUpdateMsg schemaUpdateMsg
}
func (suNode *schemaUpdateNode) Name() string {
return "suNode"
}
func (suNode *schemaUpdateNode) Operate(in []*Msg) []*Msg {
return in
}
func newSchemaUpdateNode() *schemaUpdateNode {
baseNode := BaseNode{}
baseNode.SetMaxQueueLength(maxQueueLength)
baseNode.SetMaxParallelism(maxParallelism)
return &schemaUpdateNode{
BaseNode: baseNode,
}
}