public class CountBasedLexGridSchemaCheck extends AbstractLesGridSchemaCheck
Constructor and Description |
---|
CountBasedLexGridSchemaCheck()
Instantiates a new count based lex grid schema check.
|
CountBasedLexGridSchemaCheck(javax.sql.DataSource dataSource,
SystemVariables systemVariables)
Instantiates a new count based lex grid schema check.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkResult(org.springframework.jdbc.core.JdbcTemplate template,
java.lang.String sql)
Check result.
|
java.lang.String |
getCheckTableName()
Gets the check table name.
|
protected java.lang.String |
getDbCheckSql()
Gets the db check sql.
|
void |
setCheckTableName(java.lang.String checkTableName)
Sets the check table name.
|
getDataSource, getSystemVariables, isCommonLexGridSchemaInstalled, setDataSource, setSystemVariables
public CountBasedLexGridSchemaCheck()
public CountBasedLexGridSchemaCheck(javax.sql.DataSource dataSource, SystemVariables systemVariables)
dataSource
- the data sourceprefixResolver
- the prefix resolverprotected boolean checkResult(org.springframework.jdbc.core.JdbcTemplate template, java.lang.String sql)
AbstractLesGridSchemaCheck
checkResult
in class AbstractLesGridSchemaCheck
template
- the templatesql
- the sqlprotected java.lang.String getDbCheckSql()
AbstractLesGridSchemaCheck
getDbCheckSql
in class AbstractLesGridSchemaCheck
public void setCheckTableName(java.lang.String checkTableName)
checkTableName
- the new check table namepublic java.lang.String getCheckTableName()