Annotation Type ExportDataSet
-
@Target({METHOD,TYPE}) @Retention(RUNTIME) @Documented @Inherited public @interface ExportDataSet
Created by rafael-pestano on 30/08/2016. This annotation configures DBUnit properties (http://dbunit.sourceforge.net/properties.html) for a given dataset executor. It can be used at class or method level.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description BuilderTypebuilderTypebooleandependentTablesDataSetFormatformatString[]includeTablesStringoutputNameString[]queryList
-
-
-
Element Detail
-
format
DataSetFormat format
- Returns:
- Output format of generated dataset.
- Default:
- com.github.database.rider.core.api.dataset.DataSetFormat.YML
-
-
-
includeTables
String[] includeTables
- Returns:
- tables to inlude in exported dataset. If empty all tables will be exported
- Default:
- {}
-
-
-
queryList
String[] queryList
- Returns:
- list of select statements which the result will be present in exported dataset.
- Default:
- {}
-
-
-
outputName
String outputName
- Returns:
- file path, relative to the directory where project is executed, to generate the dataset. Ex: target/generated/my-dataset.yml. Default is current directory where the project runs.
- Default:
- ""
-
-
-
builderType
BuilderType builderType
- Returns:
- type of dataset builder, 'default' or 'column...values' syntax.
By default the type is 'NONE' meaning that dataset builder will not be generated.
Note that the builder (java) file will be generated on the same path as
outputNamebut the file suffix will be changed to .java.
- Default:
- com.github.database.rider.core.api.exporter.BuilderType.NONE
-
-