package
0.0.0-20181009085715-d60a1a227b92
Repository: https://github.com/lightkool/tidb.git
Documentation: pkg.go.dev

# Functions

NewFrameItemFromRegionKey creates a FrameItem with region's startKey or endKey, returns err when key is illegal.
NewRegionFrameRange init a NewRegionFrameRange with region info.
NewServer creates a new Server.
NewTiDBDriver creates a new TiDBDriver.
NewTokenLimiter creates a TokenLimiter with count tokens.

# Structs

ColumnInfo contains information of a column.
FrameItem includes a index's or record's meta data with table's info.
IndexRegions is the region info for one index.
RegionDetail is the response data for get region by ID it includes indices and records detail in current region.
RegionFrameRange contains a frame range info which the region covered.
RegionMeta contains a region's peer detail.
Server is the MySQL protocol server.
StatsHandler is the handler for dumping statistics.
TableRegions is the response data for list table's regions.
TiDBContext implements QueryCtx.
TiDBDriver implements IDriver.
TiDBStatement implements PreparedStatement.
Token is used as a permission to keep on running.
TokenLimiter is used to limit the number of concurrent tasks.

# Interfaces

IDriver opens IContext.
PreparedStatement is the interface to use a prepared statement.
QueryCtx is the interface to execute command.
ResultSet is the result set of an query.