Class AnnotatedQueryParser

java.lang.Object
io.trino.benchto.driver.loader.AnnotatedQueryParser

@Component public class AnnotatedQueryParser extends Object
Parses sql queries from files where first line can be single line header. The line must start with --! marker, and define semicolon separated map of params.

Example contents: --! key1: value1; key2: value2a,value2b --! key3: value3 FIRST_SQL_QUERY; SECOND SQL QUERY;