Documentation ¶
Index ¶
- type Argument
- func (arg *Argument) AppendChild(child vm.Operator)
- func (arg *Argument) Call(proc *process.Process) (vm.CallResult, error)
- func (arg *Argument) ConvertToPipelineOperator(in *pipeline.Instruction)
- func (arg *Argument) Free(proc *process.Process, pipelineFailed bool, err error)
- func (arg *Argument) IsByPercent() bool
- func (arg *Argument) IsMergeSampleByRow() bool
- func (arg *Argument) Prepare(proc *process.Process) (err error)
- func (arg *Argument) SetInfo(info *vm.OperatorInfo)
- func (arg *Argument) SimpleDup() *Argument
- func (arg *Argument) String(buf *bytes.Buffer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Argument ¶
type Argument struct { // it determines which sample action (random sample by rows / percents, sample by order and so on) to take. Type int Rows int Percents float64 // sample(expression1, expression2, ..., number)'s expression. SampleExprs []*plan.Expr // group by expr1, expr2 ... GroupExprs []*plan.Expr IBucket, NBucket int // contains filtered or unexported fields }
func GenerateFromPipelineOperator ¶
func GenerateFromPipelineOperator(opr *pipeline.Instruction) *Argument
func NewMergeSample ¶
func NewSampleByPercent ¶
func NewSampleByRows ¶
func (*Argument) AppendChild ¶
func (*Argument) ConvertToPipelineOperator ¶
func (arg *Argument) ConvertToPipelineOperator(in *pipeline.Instruction)
func (*Argument) IsByPercent ¶
func (*Argument) IsMergeSampleByRow ¶
func (*Argument) SetInfo ¶
func (arg *Argument) SetInfo(info *vm.OperatorInfo)
Click to show internal directories.
Click to hide internal directories.