MemReader is used to read the current window's data maintained in memory by StmtSummary.
| 54 | |
| 55 | // MemReader is used to read the current window's data maintained in memory by StmtSummary. |
| 56 | type 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. |
| 67 | func NewMemReader(s *StmtSummary, |
nothing calls this directly
no outgoing calls
no test coverage detected