Class FlywaveSqlProp
-
- All Implemented Interfaces:
@ConfigurationProperties(value = FlywaveSqlProp.Key) public class FlywaveSqlProp
- Since:
2019-05-30
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringKeypublic Stringdialectpublic final static StringKey$dialectpublic StringdelimiterDefaultpublic final static StringKey$delimiterDefaultpublic StringdelimiterCommandpublic final static StringKey$delimiterCommandpublic StringcommentSinglepublic final static StringKey$commentSinglepublic StringcommentMultiplepublic final static StringKey$commentMultiplepublic StringformatShardpublic final static StringKey$formatShardpublic StringformatTracepublic final static StringKey$formatTrace
-
Constructor Summary
Constructors Constructor Description FlywaveSqlProp()
-
Method Summary
Modifier and Type Method Description StringgetDialect()sql dialect, currently only supports `mysql`. voidsetDialect(String dialect)sql dialect, currently only supports `mysql`. StringgetDelimiterDefault()the original delimiter, required. voidsetDelimiterDefault(String delimiterDefault)the original delimiter, required. StringgetDelimiterCommand()the command to redefine the delimiter. voidsetDelimiterCommand(String delimiterCommand)the command to redefine the delimiter. StringgetCommentSingle()single line comment voidsetCommentSingle(String commentSingle)single line comment StringgetCommentMultiple()multi-line comments, start and end with a space voidsetCommentMultiple(String commentMultiple)multi-line comments, start and end with a space StringgetFormatShard()set the shard table format. voidsetFormatShard(String formatShard)set the shard table format. StringgetFormatTrace()set the trace table format. voidsetFormatTrace(String formatTrace)set the trace table format. booleanequals(@Nullable() Object o)inthashCode()StringtoString()-
-
Method Detail
-
getDialect
String getDialect()
sql dialect, currently only supports `mysql`.
-
setDialect
void setDialect(String dialect)
sql dialect, currently only supports `mysql`.
-
getDelimiterDefault
String getDelimiterDefault()
the original delimiter, required.
-
setDelimiterDefault
void setDelimiterDefault(String delimiterDefault)
the original delimiter, required.
-
getDelimiterCommand
String getDelimiterCommand()
the command to redefine the delimiter.
-
setDelimiterCommand
void setDelimiterCommand(String delimiterCommand)
the command to redefine the delimiter.
-
getCommentSingle
String getCommentSingle()
single line comment
-
setCommentSingle
void setCommentSingle(String commentSingle)
single line comment
-
getCommentMultiple
String getCommentMultiple()
multi-line comments, start and end with a space
-
setCommentMultiple
void setCommentMultiple(String commentMultiple)
multi-line comments, start and end with a space
-
getFormatShard
String getFormatShard()
set the shard table format. see SqlSegmentProcessor.setShardFormat.
-
setFormatShard
void setFormatShard(String formatShard)
set the shard table format. see SqlSegmentProcessor.setShardFormat.
-
getFormatTrace
String getFormatTrace()
set the trace table format. see SqlSegmentProcessor.setTraceFormat
-
setFormatTrace
void setFormatTrace(String formatTrace)
set the trace table format. see SqlSegmentProcessor.setTraceFormat
-
hashCode
int hashCode()
-
-
-
-