Class SqlScriptParserConfiguration
- java.lang.Object
-
- com.github.mjeanroy.dbunit.core.sql.SqlScriptParserConfiguration
-
public class SqlScriptParserConfiguration extends Object
Configuration for SQL scripts parser. Default values are:- Delimiter:
; - Line comment:
-- - Block comment: starts with
/*and ends with*/
- Delimiter:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSqlScriptParserConfiguration.BuilderBuilder forSqlScriptParserConfiguration.
-
Field Summary
Fields Modifier and Type Field Description static charDEFAULT_DELIMITERDefault SQL delimiter (;).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlScriptParserConfiguration.Builderbuilder()Get new builder instance.static SqlScriptParserConfigurationdefaultConfiguration()Get new builder instance.booleanequals(Object o)chargetDelimiter()Getsdelimiter.StringgetEndBlockComment()GetsendBlockComment.StringgetLineComment()GetslineComment.StringgetStartBlockComment()GetsstartBlockComment.inthashCode()StringtoString()
-
-
-
Field Detail
-
DEFAULT_DELIMITER
public static final char DEFAULT_DELIMITER
Default SQL delimiter (;).- See Also:
- Constant Field Values
-
-
Method Detail
-
builder
public static SqlScriptParserConfiguration.Builder builder()
Get new builder instance.- Returns:
- Builder.
-
defaultConfiguration
public static SqlScriptParserConfiguration defaultConfiguration()
Get new builder instance.- Returns:
- Builder.
-
getLineComment
public String getLineComment()
GetslineComment.- Returns:
lineComment
-
getStartBlockComment
public String getStartBlockComment()
GetsstartBlockComment.- Returns:
startBlockComment
-
getEndBlockComment
public String getEndBlockComment()
GetsendBlockComment.- Returns:
endBlockComment
-
-