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 class
SqlScriptParserConfiguration.Builder
Builder forSqlScriptParserConfiguration
.
-
Field Summary
Fields Modifier and Type Field Description static char
DEFAULT_DELIMITER
Default SQL delimiter (;
).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlScriptParserConfiguration.Builder
builder()
Get new builder instance.static SqlScriptParserConfiguration
defaultConfiguration()
Get new builder instance.boolean
equals(Object o)
char
getDelimiter()
Getsdelimiter
.String
getEndBlockComment()
GetsendBlockComment
.String
getLineComment()
GetslineComment
.String
getStartBlockComment()
GetsstartBlockComment
.int
hashCode()
String
toString()
-
-
-
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
-
-