MCPcopy
hub / github.com/pingcap/tidb / MemReader

Struct MemReader

pkg/util/stmtsummary/v2/reader.go:56–64  ·  view source on GitHub ↗

MemReader is used to read the current window's data maintained in memory by StmtSummary.

Source from the content-addressed store, hash-verified

54
55// MemReader is used to read the current window's data maintained in memory by StmtSummary.
56type MemReader struct {
57 s *StmtSummary
58 columns []*model.ColumnInfo
59 instanceAddr string
60 timeLocation *time.Location
61
62 columnFactories []columnFactory
63 checker *stmtChecker
64}
65
66// NewMemReader creates a MemReader from StmtSummary and other necessary parameters.
67func NewMemReader(s *StmtSummary,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected