Class AnnotatedFileParser

java.lang.Object
io.trino.tempto.internal.convention.AnnotatedFileParser

public class AnnotatedFileParser extends Object
Parses files where first line can be single line header. The line must start with -- marker, and define semicolon separeated map of params.

Example contents: -- database: hive; groups: example_smoketest,blah SOME BODY BODY --- comment BODY

Example multi-section contents: -- database: hive; groups: foo -- delimiter: | --- comment --! name: foo select * from foo; -- delimiter: , --! 42|24|