Documentation
¶
Index ¶
- type ShufflePoolV2
- type ShuffleV2
- func (shuffle *ShuffleV2) Call(proc *process.Process) (vm.CallResult, error)
- func (shuffle *ShuffleV2) ExecProjection(proc *process.Process, input *batch.Batch) (*batch.Batch, error)
- func (shuffle *ShuffleV2) Free(proc *process.Process, pipelineFailed bool, err error)
- func (shuffle *ShuffleV2) GetOperatorBase() *vm.OperatorBase
- func (shuffle *ShuffleV2) GetShufflePool() *ShufflePoolV2
- func (shuffle *ShuffleV2) OpType() vm.OpType
- func (shuffle *ShuffleV2) Prepare(proc *process.Process) error
- func (shuffle *ShuffleV2) Release()
- func (shuffle *ShuffleV2) Reset(proc *process.Process, pipelineFailed bool, err error)
- func (shuffle *ShuffleV2) SetShufflePool(sp *ShufflePoolV2)
- func (shuffle *ShuffleV2) String(buf *bytes.Buffer)
- func (shuffle ShuffleV2) TypeName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShufflePoolV2 ¶
type ShufflePoolV2 struct {
// contains filtered or unexported fields
}
func NewShufflePool ¶
func NewShufflePool(bucketNum int32, maxHolders int32) *ShufflePoolV2
func (*ShufflePoolV2) DebugPrint ¶
func (sp *ShufflePoolV2) DebugPrint()
func (*ShufflePoolV2) Reset ¶
func (sp *ShufflePoolV2) Reset(m *mpool.MPool)
type ShuffleV2 ¶
type ShuffleV2 struct {
CurrentShuffleIdx int32
ShuffleColIdx int32
ShuffleType int32
BucketNum int32
ShuffleColMin int64
ShuffleColMax int64
ShuffleRangeUint64 []uint64
ShuffleRangeInt64 []int64
ShuffleExpr *plan.Expr
IsDebug bool //used for unit test
vm.OperatorBase
// contains filtered or unexported fields
}
func NewArgument ¶
func NewArgument() *ShuffleV2
func (*ShuffleV2) ExecProjection ¶
func (*ShuffleV2) GetOperatorBase ¶
func (shuffle *ShuffleV2) GetOperatorBase() *vm.OperatorBase
func (*ShuffleV2) GetShufflePool ¶
func (shuffle *ShuffleV2) GetShufflePool() *ShufflePoolV2
func (*ShuffleV2) SetShufflePool ¶
func (shuffle *ShuffleV2) SetShufflePool(sp *ShufflePoolV2)
Click to show internal directories.
Click to hide internal directories.