Documentation ¶
Index ¶
- type AnalyzeTablePlan
- type KillPlan
- type ShowCharacterSet
- type ShowCollationPlan
- type ShowColumnsPlan
- type ShowCreatePlan
- type ShowCreateSequence
- type ShowDatabaseRulesPlan
- type ShowDatabasesPlan
- type ShowIndexPlan
- type ShowMasterStatusPlan
- type ShowNodes
- type ShowOpenTablesPlan
- type ShowProcessListPlan
- type ShowReplicaStatusPlan
- type ShowReplicasPlan
- type ShowShardingTable
- type ShowStatusPlan
- type ShowTableRulesPlan
- type ShowTableStatusPlan
- type ShowTablesPlan
- func (st *ShowTablesPlan) ExecIn(ctx context.Context, conn proto.VConn) (proto.Result, error)
- func (st *ShowTablesPlan) SetDatabase(db string)
- func (st *ShowTablesPlan) SetInvertedShards(m map[string]string)
- func (st *ShowTablesPlan) SetTables(tables []string)
- func (st *ShowTablesPlan) Type() proto.PlanType
- type ShowTopology
- type ShowUsers
- type ShowVariablesPlan
- type ShowWarningsPlan
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalyzeTablePlan ¶
type AnalyzeTablePlan struct { plan.BasePlan Stmt *ast.AnalyzeTableStatement Shards rule.DatabaseTables ShardsByName map[string]rule.DatabaseTables }
func NewAnalyzeTablePlan ¶
func NewAnalyzeTablePlan( stmt *ast.AnalyzeTableStatement, shards rule.DatabaseTables, shardsByName map[string]rule.DatabaseTables, ) *AnalyzeTablePlan
type ShowCharacterSet ¶
type ShowCharacterSet struct { plan.BasePlan Stmt *ast.ShowCharset Shards rule.DatabaseTables }
func NewShowCharacterSetPlan ¶
func NewShowCharacterSetPlan(stmt *ast.ShowCharset, shards rule.DatabaseTables) *ShowCharacterSet
NewShowCharacterSet create ShowCreate Plan
func (*ShowCharacterSet) Type ¶
func (s *ShowCharacterSet) Type() proto.PlanType
type ShowCollationPlan ¶
type ShowCollationPlan struct { plan.BasePlan Stmt *ast.ShowCollation }
func (*ShowCollationPlan) Type ¶
func (s *ShowCollationPlan) Type() proto.PlanType
type ShowColumnsPlan ¶
type ShowColumnsPlan struct { plan.BasePlan Stmt *ast.ShowColumns Table string }
func (*ShowColumnsPlan) Type ¶
func (s *ShowColumnsPlan) Type() proto.PlanType
type ShowCreatePlan ¶
func NewShowCreatePlan ¶
func NewShowCreatePlan(stmt *ast.ShowCreate) *ShowCreatePlan
NewShowCreatePlan create ShowCreate Plan
func (*ShowCreatePlan) Type ¶
func (st *ShowCreatePlan) Type() proto.PlanType
type ShowCreateSequence ¶
type ShowCreateSequence struct {
Stmt *ast.ShowCreateSequence
}
func NewShowCreateSequencePlan ¶
func NewShowCreateSequencePlan(stmt *ast.ShowCreateSequence) *ShowCreateSequence
func (*ShowCreateSequence) Type ¶
func (su *ShowCreateSequence) Type() proto.PlanType
type ShowDatabaseRulesPlan ¶
type ShowDatabaseRulesPlan struct { plan.BasePlan Stmt *ast.ShowDatabaseRule // contains filtered or unexported fields }
func NewShowDatabaseRulesPlan ¶
func NewShowDatabaseRulesPlan(stmt *ast.ShowDatabaseRule) *ShowDatabaseRulesPlan
NewShowDatabaseRulesPlan create ShowDatabaseRules Plan
func (*ShowDatabaseRulesPlan) SetRule ¶
func (s *ShowDatabaseRulesPlan) SetRule(rule *rule.Rule)
func (*ShowDatabaseRulesPlan) Type ¶
func (s *ShowDatabaseRulesPlan) Type() proto.PlanType
type ShowDatabasesPlan ¶
type ShowDatabasesPlan struct { plan.BasePlan Stmt *ast.ShowDatabases }
func (*ShowDatabasesPlan) Type ¶
func (s *ShowDatabasesPlan) Type() proto.PlanType
type ShowIndexPlan ¶
func (*ShowIndexPlan) Type ¶
func (s *ShowIndexPlan) Type() proto.PlanType
type ShowMasterStatusPlan ¶
func NewShowMasterStatusPlan ¶
func NewShowMasterStatusPlan(stmt *ast.ShowMasterStatus) *ShowMasterStatusPlan
func (*ShowMasterStatusPlan) Type ¶
func (s *ShowMasterStatusPlan) Type() proto.PlanType
type ShowNodes ¶
func NewShowNodesPlan ¶
NewShowNodesPlan create ShowNodes Plan
type ShowOpenTablesPlan ¶
type ShowOpenTablesPlan struct { plan.BasePlan Database string Conn proto.DB Stmt *ast.ShowOpenTables // contains filtered or unexported fields }
func NewShowOpenTablesPlan ¶
func NewShowOpenTablesPlan(stmt *ast.ShowOpenTables) *ShowOpenTablesPlan
NewShowOpenTablesPlan create ShowTables Plan
func (*ShowOpenTablesPlan) SetDatabase ¶
func (st *ShowOpenTablesPlan) SetDatabase(database string)
func (*ShowOpenTablesPlan) SetInvertedShards ¶
func (st *ShowOpenTablesPlan) SetInvertedShards(m map[string]string)
func (*ShowOpenTablesPlan) Type ¶
func (st *ShowOpenTablesPlan) Type() proto.PlanType
type ShowProcessListPlan ¶
type ShowProcessListPlan struct { plan.BasePlan Stmt *ast.ShowProcessList // contains filtered or unexported fields }
func NewShowProcessListPlan ¶
func NewShowProcessListPlan(stmt *ast.ShowProcessList) *ShowProcessListPlan
func (*ShowProcessListPlan) SetDatabase ¶
func (s *ShowProcessListPlan) SetDatabase(db string)
func (*ShowProcessListPlan) Type ¶
func (s *ShowProcessListPlan) Type() proto.PlanType
type ShowReplicaStatusPlan ¶
func NewShowReplicaStatusPlan ¶
func NewShowReplicaStatusPlan(stmt *ast.ShowReplicaStatus) *ShowReplicaStatusPlan
func (*ShowReplicaStatusPlan) Type ¶
func (s *ShowReplicaStatusPlan) Type() proto.PlanType
type ShowReplicasPlan ¶
type ShowReplicasPlan struct { plan.BasePlan Stmt *ast.ShowReplicas }
func NewShowReplicasPlan ¶
func NewShowReplicasPlan(stmt *ast.ShowReplicas) *ShowReplicasPlan
func (*ShowReplicasPlan) Type ¶
func (s *ShowReplicasPlan) Type() proto.PlanType
type ShowShardingTable ¶
type ShowShardingTable struct { plan.BasePlan Stmt *ast.ShowShardingTable // contains filtered or unexported fields }
func NewShowShardingTablePlan ¶
func NewShowShardingTablePlan(stmt *ast.ShowShardingTable) *ShowShardingTable
NewShowShardingTablePlan create ShowShardingTable Plan
func (*ShowShardingTable) SetRule ¶
func (st *ShowShardingTable) SetRule(rule *rule.Rule)
func (*ShowShardingTable) Type ¶
func (st *ShowShardingTable) Type() proto.PlanType
type ShowStatusPlan ¶
type ShowStatusPlan struct { plan.BasePlan Database string // contains filtered or unexported fields }
func NewShowStatusPlan ¶
func NewShowStatusPlan(stmt *ast.ShowStatus) *ShowStatusPlan
func (*ShowStatusPlan) Type ¶
func (s *ShowStatusPlan) Type() proto.PlanType
type ShowTableRulesPlan ¶
type ShowTableRulesPlan struct { plan.BasePlan Stmt *ast.ShowTableRule // contains filtered or unexported fields }
func NewShowTableRulesPlan ¶
func NewShowTableRulesPlan(stmt *ast.ShowTableRule) *ShowTableRulesPlan
NewShowTableRulesPlan create ShowTableRules Plan
func (*ShowTableRulesPlan) SetRule ¶
func (s *ShowTableRulesPlan) SetRule(rule *rule.Rule)
func (*ShowTableRulesPlan) Type ¶
func (s *ShowTableRulesPlan) Type() proto.PlanType
type ShowTableStatusPlan ¶
type ShowTableStatusPlan struct { plan.BasePlan Database string Stmt *ast.ShowTableStatus Shards rule.DatabaseTables }
func (*ShowTableStatusPlan) Type ¶
func (s *ShowTableStatusPlan) Type() proto.PlanType
type ShowTablesPlan ¶
type ShowTablesPlan struct { plan.BasePlan Database string Stmt *ast.ShowTables // contains filtered or unexported fields }
func NewShowTablesPlan ¶
func NewShowTablesPlan(stmt *ast.ShowTables) *ShowTablesPlan
NewShowTablesPlan create ShowTables Plan
func (*ShowTablesPlan) SetDatabase ¶
func (st *ShowTablesPlan) SetDatabase(db string)
func (*ShowTablesPlan) SetInvertedShards ¶
func (st *ShowTablesPlan) SetInvertedShards(m map[string]string)
func (*ShowTablesPlan) SetTables ¶
func (st *ShowTablesPlan) SetTables(tables []string)
func (*ShowTablesPlan) Type ¶
func (st *ShowTablesPlan) Type() proto.PlanType
type ShowTopology ¶
type ShowTopology struct { plan.BasePlan Stmt *ast.ShowTopology // contains filtered or unexported fields }
func NewShowTopologyPlan ¶
func NewShowTopologyPlan(stmt *ast.ShowTopology) *ShowTopology
NewShowTopologyPlan create ShowTopology Plan
func (*ShowTopology) SetRule ¶
func (st *ShowTopology) SetRule(rule *rule.Rule)
func (*ShowTopology) Type ¶
func (st *ShowTopology) Type() proto.PlanType
type ShowVariablesPlan ¶
func NewShowVariablesPlan ¶
func NewShowVariablesPlan(stmt *ast.ShowVariables) *ShowVariablesPlan
func (*ShowVariablesPlan) Type ¶
func (s *ShowVariablesPlan) Type() proto.PlanType
type ShowWarningsPlan ¶
type ShowWarningsPlan struct { plan.BasePlan Stmt *ast.ShowWarnings Shards rule.DatabaseTables }
func NewShowWarningsPlan ¶
func NewShowWarningsPlan(stmt *ast.ShowWarnings, shards rule.DatabaseTables) *ShowWarningsPlan
Source Files ¶
- analyze_table.go
- constant.go
- kill.go
- show_character_set.go
- show_collation.go
- show_columns.go
- show_create.go
- show_create_sequence.go
- show_database_rules.go
- show_databases.go
- show_index.go
- show_master_status.go
- show_nodes.go
- show_open_tables.go
- show_process_list.go
- show_replica_status.go
- show_replicas.go
- show_sharding_table.go
- show_status.go
- show_table_rules.go
- show_table_status.go
- show_tables.go
- show_topology.go
- show_users.go
- show_variables.go
- show_warnings.go
Click to show internal directories.
Click to hide internal directories.