MCPcopy
hub / github.com/uber/aresdb / NewGroupingElement

Function NewGroupingElement

query/sql/tree/GroupingElement.go:30–34  ·  view source on GitHub ↗

NewGroupingElement creates GroupingElement

(location *NodeLocation)

Source from the content-addressed store, hash-verified

28
29// NewGroupingElement creates GroupingElement
30func NewGroupingElement(location *NodeLocation) *GroupingElement {
31 return &GroupingElement{
32 NewNode(location),
33 }
34}
35
36// Accept accepts visitor
37func (g *GroupingElement) Accept(visitor AstVisitor, ctx interface{}) interface{} {

Callers 1

NewSimpleGroupByFunction · 0.85

Calls 1

NewNodeFunction · 0.70

Tested by

no test coverage detected