Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlterTablePlan ¶
type AlterTablePlan struct { plan.BasePlan Shards rule.DatabaseTables // contains filtered or unexported fields }
func NewAlterTablePlan ¶
func NewAlterTablePlan(stmt *ast.AlterTableStatement) *AlterTablePlan
func (*AlterTablePlan) Type ¶
func (at *AlterTablePlan) Type() proto.PlanType
type CreateIndexPlan ¶
type CreateIndexPlan struct { plan.BasePlan Shards rule.DatabaseTables // contains filtered or unexported fields }
func NewCreateIndexPlan ¶
func NewCreateIndexPlan(stmt *ast.CreateIndexStatement) *CreateIndexPlan
func (*CreateIndexPlan) SetShard ¶
func (c *CreateIndexPlan) SetShard(shard rule.DatabaseTables)
func (*CreateIndexPlan) Type ¶
func (c *CreateIndexPlan) Type() proto.PlanType
type DropIndexPlan ¶
func NewDropIndexPlan ¶
func NewDropIndexPlan(stmt *ast.DropIndexStatement) *DropIndexPlan
func (*DropIndexPlan) SetShard ¶
func (d *DropIndexPlan) SetShard(shard rule.DatabaseTables)
func (*DropIndexPlan) Type ¶
func (d *DropIndexPlan) Type() proto.PlanType
type DropTablePlan ¶
func NewDropTablePlan ¶
func NewDropTablePlan(stmt *ast.DropTableStatement) *DropTablePlan
func (*DropTablePlan) SetShards ¶
func (d *DropTablePlan) SetShards(shardsMap []rule.DatabaseTables)
func (*DropTablePlan) Type ¶
func (d *DropTablePlan) Type() proto.PlanType
type DropTriggerPlan ¶
type DropTriggerPlan struct { plan.BasePlan Stmt *ast.DropTriggerStatement Shards rule.DatabaseTables }
func (*DropTriggerPlan) Type ¶
func (d *DropTriggerPlan) Type() proto.PlanType
type TruncatePlan ¶
func NewTruncatePlan ¶
func NewTruncatePlan(stmt *ast.TruncateStatement) *TruncatePlan
NewTruncatePlan creates a truncate plan.
func (*TruncatePlan) SetShards ¶
func (s *TruncatePlan) SetShards(shards rule.DatabaseTables)
func (*TruncatePlan) Type ¶
func (s *TruncatePlan) Type() proto.PlanType
Click to show internal directories.
Click to hide internal directories.