(
&mut self,
ctx: &SessionContext,
reader: &mut BenchmarkFileReader,
line: &mut String,
)
| 509 | } |
| 510 | |
| 511 | async fn process_line( |
| 512 | &mut self, |
| 513 | ctx: &SessionContext, |
| 514 | reader: &mut BenchmarkFileReader, |
| 515 | line: &mut String, |
| 516 | ) -> Result<()> { |
| 517 | // Split the line into directive and arguments. |
| 518 | let cloned_line = line.trim_start().to_string(); |
| 519 | let splits: Vec<&str> = cloned_line.split_whitespace().collect(); |
| 520 | |
| 521 | BenchmarkDirective::select(reader, splits[0])? |
| 522 | .process(ctx, self, reader, line, &splits) |
| 523 | .await |
| 524 | } |
| 525 | |
| 526 | fn process_query(&mut self, splits: &[&str], mut query: String) -> Result<()> { |
| 527 | debug!("Processing query {query}"); |
no test coverage detected