mirror of https://github.com/milvus-io/milvus.git
24 lines
352 B
Go
24 lines
352 B
Go
package planner
|
|
|
|
type NodeCount struct {
|
|
baseNode
|
|
}
|
|
|
|
func (n *NodeCount) String() string {
|
|
return "NodeCount"
|
|
}
|
|
|
|
func (n *NodeCount) GetChildren() []Node {
|
|
return nil
|
|
}
|
|
|
|
func (n *NodeCount) Accept(v Visitor) interface{} {
|
|
return v.VisitCount(n)
|
|
}
|
|
|
|
func NewNodeCount(text string) *NodeCount {
|
|
return &NodeCount{
|
|
baseNode: newBaseNode(text),
|
|
}
|
|
}
|