group

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	H8 = iota
	HStr
	HIndex
)
View Source
const (
	UnaryAgg = iota
	MultiAgg
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Argument

type Argument struct {
	IsShuffle    bool // is shuffle group
	PreAllocSize uint64
	NeedEval     bool // need to projection the aggregate column
	Ibucket      uint64
	Nbucket      uint64
	Exprs        []*plan.Expr // group Expressions
	Types        []types.Type
	Aggs         []agg.Aggregate         // aggregations
	MultiAggs    []group_concat.Argument // multiAggs, for now it's group_concat
	// contains filtered or unexported fields
}

func (*Argument) AppendChild added in v1.1.0

func (arg *Argument) AppendChild(child vm.Operator)

func (*Argument) Call added in v1.1.0

func (arg *Argument) Call(proc *process.Process) (vm.CallResult, error)

func (*Argument) Free added in v0.6.0

func (arg *Argument) Free(proc *process.Process, pipelineFailed bool, err error)

func (*Argument) Prepare added in v1.1.0

func (arg *Argument) Prepare(proc *process.Process) (err error)

func (*Argument) SetInfo added in v1.1.0

func (arg *Argument) SetInfo(info *vm.OperatorInfo)

func (*Argument) String added in v1.1.0

func (arg *Argument) String(buf *bytes.Buffer)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL