Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Argument ¶
type Argument struct {
Ts uint64
DeleteCtx *DeleteCtx
AffectedRows uint64
Engine engine.Engine
// when detele data in a remote CN,
// IsRemote is true, and we need IBucket
// and NBucket to know those data in batch
// that we need to delete in this CN, because
// we need to make sure one Block will be processed
// by only one CN, this is useful for our compaction
IsRemote bool
IBucket uint64
NBucket uint64
}
type DeleteCtx ¶ added in v0.5.1
type DeleteCtx struct {
CanTruncate bool
DelSource []engine.Relation
DelRef []*plan.ObjectRef
IdxSource []engine.Relation
IdxIdx []int32
OnRestrictIdx []int32
OnCascadeSource []engine.Relation
OnCascadeIdx []int32
OnSetSource []engine.Relation
OnSetUniqueSource [][]engine.Relation
OnSetIdx [][]int32
OnSetRef []*plan.ObjectRef
OnSetTableDef []*plan.TableDef
OnSetUpdateCol []map[string]int32
}
Click to show internal directories.
Click to hide internal directories.