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

Function NewSelect

query/sql/tree/Select.go:28–34  ·  view source on GitHub ↗

NewSelect creates Select

(location *NodeLocation, distinct bool, selectItems []ISelectItem)

Source from the content-addressed store, hash-verified

26
27// NewSelect creates Select
28func NewSelect(location *NodeLocation, distinct bool, selectItems []ISelectItem) *Select {
29 return &Select{
30 NewNode(location),
31 distinct,
32 selectItems,
33 }
34}
35
36// Accept accepts visitor
37func (r *Select) Accept(visitor AstVisitor, ctx interface{}) interface{} {

Callers 1

Calls 1

NewNodeFunction · 0.70

Tested by

no test coverage detected