Package io.trino.benchto.driver.loader
Class AnnotatedQueryParser
java.lang.Object
io.trino.benchto.driver.loader.AnnotatedQueryParser
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;
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AnnotatedQueryParser
public AnnotatedQueryParser()
-
-
Method Details
-
parseFile
- Throws:
IOException
-
parseLines
-