Package adalid.util.sql
Class SqlReader
- java.lang.Object
-
- adalid.util.sql.SqlUtil
-
- adalid.util.sql.SqlReader
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classSqlReader.SqlAid-
Nested classes/interfaces inherited from class adalid.util.sql.SqlUtil
SqlUtil.PreparedStatementWrapper
-
-
Field Summary
-
Fields inherited from class adalid.util.sql.SqlUtil
_argIndex, _args, _connection, _database, _dbms, _driver, _host, _initialised, _password, _port, _programmer, _schema, _url, _urlPattern, _user
-
-
Method Summary
-
Methods inherited from class adalid.util.sql.SqlUtil
arg, close, close, close, connect, executeStatement, getClassForName, getCommonsPackage, getDatabase, getDbms, getDefaultPackage, getDriver, getHost, getMetajavaPath, getNewInstanceForName, getPassword, getPort, getSchema, getSourceMetajavaPackage, getSqlUtilSyntax, getSyntax, getTargetMetajavaPackage, getUrl, getUser, isInitialised, isRemoteConnection, logInvalidArgument, logSyntaxError, logValidArgument, prepareStatement
-
-
-
-
Constructor Detail
-
SqlReader
public SqlReader()
-
SqlReader
public SqlReader(String[] args)
-
-
Method Detail
-
getSqlAid
protected SqlReader.SqlAid getSqlAid()
-
getTables
public Collection<SqlTable> getTables()
- Returns:
- the tables list
-
setTablesExcludeSet
public void setTablesExcludeSet(Set<String> set)
- Parameters:
set- the tables exclude set to set
-
setTablesExcludeSet
public void setTablesExcludeSet(String[] set)
- Parameters:
set- the tables exclude set to set
-
getTablesInheritMap
public Map<String,String> getTablesInheritMap()
- Returns:
- the tables inherit map
-
setTablesInheritMap
public void setTablesInheritMap(Map<String,String> map)
- Parameters:
map- the tables inherit map to set
-
setTablesLoadMap
public void setTablesLoadMap(Map<String,String> map)
- Parameters:
map- the tables load map to set
-
getCatalogTablesMap
public Map<String,String> getCatalogTablesMap()
- Returns:
- the catalog tables map
-
setCatalogTablesMap
public void setCatalogTablesMap(Map<String,String> map)
- Parameters:
map- the catalog tables map to set
-
isLoadConfigurationTables
public boolean isLoadConfigurationTables()
- Returns:
- the load configuration tables indicator
-
setLoadConfigurationTables
public void setLoadConfigurationTables(boolean loadConfigurationTables)
- Parameters:
loadConfigurationTables- the load configuration tables indicator to set
-
isLoadOperationTables
public boolean isLoadOperationTables()
- Returns:
- the load operation tables indicator
-
setLoadOperationTables
public void setLoadOperationTables(boolean loadOperationTables)
- Parameters:
loadOperationTables- the load operation tables indicator to set
-
isCoverIndexes
public boolean isCoverIndexes()
- Returns:
- the cover indexes indicator
-
setCoverIndexes
public void setCoverIndexes(boolean b)
- Parameters:
b- the cover indexes indicator to set
-
isCoverTabs
public boolean isCoverTabs()
- Returns:
- the cover tabs indicator
-
setCoverTabs
public void setCoverTabs(boolean b)
- Parameters:
b- the cover tabs indicator to set
-
isCoverRoutines
public boolean isCoverRoutines()
- Returns:
- the cover routines indicator
-
setCoverRoutines
public void setCoverRoutines(boolean b)
- Parameters:
b- the cover routines indicator to set
-
getSelectTemplatesPath
public String getSelectTemplatesPath()
- Returns:
- the select templates path
-
setSelectTemplatesPath
public void setSelectTemplatesPath(String selectTemplatesPath)
- Parameters:
selectTemplatesPath- the select templates path to set
-
read
public boolean read(boolean close)
-
beforeReadBuild
protected boolean beforeReadBuild()
-
beforeReadClose
protected boolean beforeReadClose()
-
-