Documentation ¶
Index ¶
- func NewDDLHandler(statsWriter types.StatsReadWriter, statsHandler types.StatsHandle) types.DDL
- func NewHandlerAndRegister(statsCache types.StatsCache, registry *notifier.DDLNotifier)
- func UpdateStatsWithCountDeltaAndModifyCountDeltaForTest(sctx sessionctx.Context, tableID int64, countDelta, modifyCountDelta int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDDLHandler ¶
func NewDDLHandler( statsWriter types.StatsReadWriter, statsHandler types.StatsHandle, ) types.DDL
NewDDLHandler creates a new ddl handler.
func NewHandlerAndRegister ¶
func NewHandlerAndRegister( statsCache types.StatsCache, registry *notifier.DDLNotifier, )
NewHandlerAndRegister creates a new handler and registers it to the DDL notifier.
func UpdateStatsWithCountDeltaAndModifyCountDeltaForTest ¶
func UpdateStatsWithCountDeltaAndModifyCountDeltaForTest( sctx sessionctx.Context, tableID int64, countDelta, modifyCountDelta int64, ) error
UpdateStatsWithCountDeltaAndModifyCountDeltaForTest updates the global stats with the given count delta and modify count delta.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.