query implements the Query interface.
| 189 | |
| 190 | // query implements the Query interface. |
| 191 | type query struct { |
| 192 | // Underlying data provider. |
| 193 | queryable storage.Queryable |
| 194 | // The original query string. |
| 195 | q string |
| 196 | // Statement of the parsed query. |
| 197 | stmt parser.Statement |
| 198 | // Timer stats for the query execution. |
| 199 | stats *stats.QueryTimers |
| 200 | // Sample stats for the query execution. |
| 201 | sampleStats *stats.QuerySamples |
| 202 | // Result matrix for reuse. |
| 203 | matrix Matrix |
| 204 | // Cancellation function for the query. |
| 205 | cancel func() |
| 206 | |
| 207 | // The engine against which the query is executed. |
| 208 | ng *Engine |
| 209 | } |
| 210 | |
| 211 | type QueryOrigin struct{} |
| 212 |
nothing calls this directly
no outgoing calls
no test coverage detected