Versions in this module Expand all Collapse all v0 v0.15.10 Jul 31, 2024 v0.15.9 Jul 31, 2024 v0.15.8 Jul 31, 2024 Changes in this version + const Cell + const ModeMulti + const ModeTwoPC + func ExplainsAsJSON(explains []*Explain) string + type ExecutorMode string + type Explain struct + Plans []*engine.Plan + SQL string + TabletActions map[string]*TabletActions + type ExplainTopo struct + KeyspaceShards map[string]map[string]*topodatapb.ShardReference + Keyspaces map[string]*vschemapb.Keyspace + Lock sync.Mutex + NumShards int + TabletConns map[string]*explainTablet + TopoServer *topo.Server + func (et *ExplainTopo) GetSrvKeyspace(ctx context.Context, cell, keyspace string) (*topodatapb.SrvKeyspace, error) + func (et *ExplainTopo) GetSrvKeyspaceNames(ctx context.Context, cell string, staleOK bool) ([]string, error) + func (et *ExplainTopo) GetTopoServer() (*topo.Server, error) + func (et *ExplainTopo) WatchSrvKeyspace(ctx context.Context, cell, keyspace string, ...) + func (et *ExplainTopo) WatchSrvVSchema(ctx context.Context, cell string, ...) + type MysqlQuery struct + SQL string + Time int + type Options struct + ExecutionMode string + Normalize bool + NumShards int + PlannerVersion querypb.ExecuteOptions_PlannerVersion + ReplicationMode string + StrictDDL bool + Target string + type TabletActions struct + MysqlQueries []*MysqlQuery + TabletQueries []*TabletQuery + type TabletQuery struct + BindVars map[string]*querypb.BindVariable + SQL string + Time int + func (tq *TabletQuery) MarshalJSON() ([]byte, error) + type VTExplain struct + func Init(ctx context.Context, env *vtenv.Environment, ts *topo.Server, ...) (*VTExplain, error) + func (vte *VTExplain) ExplainsAsText(explains []*Explain) (string, error) + func (vte *VTExplain) Run(sql string) ([]*Explain, error) + func (vte *VTExplain) Stop()