Documentation ¶
Index ¶
- type Metric
- func (m *Metric) DelRowsAffected() int
- func (m *Metric) DeletingTime() time.Duration
- func (m *Metric) InsRowsAffected() int
- func (m *Metric) InsertingTime() time.Duration
- func (m *Metric) MergedTable() string
- func (m *Metric) MergingTime() time.Duration
- func (m *Metric) Report() string
- func (m *Metric) RowsAffected() int
- func (m *Metric) Summary()
- func (m *Metric) UpdRowsAffected() int
- func (m *Metric) UpdatingTime() time.Duration
- func (m *Metric) UpsRowsAffected() int
- func (m *Metric) UpsertingTime() time.Duration
- type Operation
- type Summary
- type Total
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metric ¶
type Metric struct { InSrcCnt int InDstCnt int InSrcAndDstByKeyCnt int InSrcAndDstByIdButNotByKeyCnt int JustInSrcByKeyAndIdCnt int JustInDstByKeyAndIdCnt int ToInsertCnt int ToUpdateCnt int ToUpsertCnt int ToDeleteCnt int Strategy uint8 IndexTime time.Duration CategorizeTime time.Duration FetchTime time.Duration CompareDataTime time.Duration TotalTime time.Duration Insert Summary Upsert Summary Update Summary Delete Summary Total Total Err error Table string }
func (*Metric) DelRowsAffected ¶
DelRowsAffected returns the number of rows affected by an delete.
func (*Metric) DeletingTime ¶
DeletingTime returns deleting duration.
func (*Metric) InsRowsAffected ¶
InsRowsAffected returns the number of rows affected by an insert.
func (*Metric) InsertingTime ¶
InsertingTime returns inserting duration.
func (*Metric) MergedTable ¶ added in v0.15.0
func (*Metric) MergingTime ¶
MergingTime returns total merging duration.
func (*Metric) RowsAffected ¶
RowsAffected returns the number of rows affected by an insert, upsert, update or delete.
func (*Metric) UpdRowsAffected ¶
UpdRowsAffected returns the number of rows affected by an update.
func (*Metric) UpdatingTime ¶
UpdatingTime returns updating duration.
func (*Metric) UpsRowsAffected ¶
UpsRowsAffected returns the number of rows affected by an upsert.
func (*Metric) UpsertingTime ¶
UpsertingTime returns upserting duration.
Click to show internal directories.
Click to hide internal directories.