Documentation
¶
Index ¶
- Constants
- func NewPartitionDelete(raw *Deletion, tableID uint64) vm.Operator
- func NewPartitionDeleteFrom(ps *PartitionDelete) vm.Operator
- func SetCNFlushDeletesThreshold(n int)
- type BatchPool
- type DeleteCtx
- type Deletion
- func (deletion *Deletion) Call(proc *process.Process) (vm.CallResult, error)
- func (deletion *Deletion) ExecProjection(proc *process.Process, input *batch.Batch) (*batch.Batch, error)
- func (deletion *Deletion) Free(proc *process.Process, pipelineFailed bool, err error)
- func (deletion *Deletion) GetAffectedRows() uint64
- func (deletion *Deletion) GetOperatorBase() *vm.OperatorBase
- func (deletion *Deletion) OpType() vm.OpType
- func (deletion *Deletion) Prepare(proc *process.Process) error
- func (deletion *Deletion) Release()
- func (deletion *Deletion) Reset(proc *process.Process, pipelineFailed bool, err error)
- func (deletion *Deletion) SplitBatch(proc *process.Process, srcBat *batch.Batch, analyzer process.Analyzer) error
- func (deletion *Deletion) String(buf *bytes.Buffer)
- func (deletion Deletion) TypeName() string
- type PartitionDelete
- func (op *PartitionDelete) Call(proc *process.Process) (vm.CallResult, error)
- func (op *PartitionDelete) ExecProjection(proc *process.Process, input *batch.Batch) (*batch.Batch, error)
- func (op *PartitionDelete) Free(proc *process.Process, pipelineFailed bool, err error)
- func (op *PartitionDelete) GetDelete() *Deletion
- func (op *PartitionDelete) GetOperatorBase() *vm.OperatorBase
- func (op *PartitionDelete) OpType() vm.OpType
- func (op *PartitionDelete) Prepare(proc *process.Process) error
- func (op *PartitionDelete) Release()
- func (op *PartitionDelete) Reset(proc *process.Process, pipelineFailed bool, err error)
- func (op *PartitionDelete) String(buf *bytes.Buffer)
Constants ¶
View Source
const ( FlushDeltaLoc = iota DeletionOnTxnUnCommit DeletionOnCommitted )
Variables ¶
This section is empty.
Functions ¶
func NewPartitionDeleteFrom ¶
func NewPartitionDeleteFrom( ps *PartitionDelete, ) vm.Operator
func SetCNFlushDeletesThreshold ¶
func SetCNFlushDeletesThreshold(n int)
SetCNFlushDeletesThreshold update threshold to n MB
Types ¶
type BatchPool ¶ added in v0.8.0
type BatchPool struct {
// contains filtered or unexported fields
}
type Deletion ¶
type Deletion struct {
DeleteCtx *DeleteCtx
// for delete filter below
// mp[segmentId] = 1 => txnWorkSpace,mp[segmentId] = 2 => CN Block
SegmentMap map[string]int32
RemoteDelete bool
IBucket uint32
Nbucket uint32
vm.OperatorBase
// contains filtered or unexported fields
}
func NewArgument ¶ added in v1.2.0
func NewArgument() *Deletion
func (*Deletion) ExecProjection ¶
func (*Deletion) GetAffectedRows ¶
func (*Deletion) GetOperatorBase ¶
func (deletion *Deletion) GetOperatorBase() *vm.OperatorBase
func (*Deletion) SplitBatch ¶
type PartitionDelete ¶
type PartitionDelete struct {
vm.OperatorBase
// contains filtered or unexported fields
}
func (*PartitionDelete) Call ¶
func (op *PartitionDelete) Call( proc *process.Process, ) (vm.CallResult, error)
func (*PartitionDelete) ExecProjection ¶
func (*PartitionDelete) Free ¶
func (op *PartitionDelete) Free( proc *process.Process, pipelineFailed bool, err error, )
func (*PartitionDelete) GetDelete ¶
func (op *PartitionDelete) GetDelete() *Deletion
func (*PartitionDelete) GetOperatorBase ¶
func (op *PartitionDelete) GetOperatorBase() *vm.OperatorBase
func (*PartitionDelete) OpType ¶
func (op *PartitionDelete) OpType() vm.OpType
func (*PartitionDelete) Prepare ¶
func (op *PartitionDelete) Prepare( proc *process.Process, ) error
func (*PartitionDelete) Release ¶
func (op *PartitionDelete) Release()
func (*PartitionDelete) Reset ¶
func (op *PartitionDelete) Reset( proc *process.Process, pipelineFailed bool, err error, )
func (*PartitionDelete) String ¶
func (op *PartitionDelete) String(buf *bytes.Buffer)
Click to show internal directories.
Click to hide internal directories.