Package adalid.util.sql
Class SqlReader
java.lang.Object
adalid.util.sql.SqlUtil
adalid.util.sql.SqlReader
- Direct Known Subclasses:
SqlWriter
- Author:
- Jorge Campins
-
Nested Class Summary
Nested ClassesNested 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected booleanprotected SqlReader.SqlAidbooleanbooleanbooleanbooleanbooleanbooleanbooleanread(boolean close) voidsetCatalogTablesMap(Map<String, String> map) voidsetCoverConstraintIndexes(boolean b) voidsetCoverIndexes(boolean b) voidsetCoverRoutines(boolean b) voidsetCoverTabs(boolean b) voidsetLoadConfigurationTables(boolean loadConfigurationTables) voidsetLoadOperationTables(boolean loadOperationTables) voidsetSelectTemplatesPath(String selectTemplatesPath) voidsetTablesExcludeSet(String[] set) voidsetTablesExcludeSet(Set<String> set) voidsetTablesInheritMap(Map<String, String> map) voidsetTablesLoadMap(Map<String, String> map) Methods inherited from class adalid.util.sql.SqlUtil
arg, close, close, close, connect, executeStatement, executeStatement, getClassForName, getCommonsPackage, getDatabase, getDbms, getDefaultPackage, getDriver, getHost, getMetajavaPath, getNewInstanceForName, getPassword, getPort, getSchema, getSourceMetajavaPackage, getSqlUtilSyntax, getSyntax, getTargetMetajavaPackage, getUrl, getUser, isInitialised, isRemoteConnection, isSlowConnection, logInvalidArgument, logSyntaxError, logValidArgument, prepareStatement
-
Constructor Details
-
SqlReader
public SqlReader() -
SqlReader
-
-
Method Details
-
getSqlAid
-
getTablesMap
- Returns:
- the tables map
-
getTables
- Returns:
- the tables collection
-
getTablesExcludeSet
- Returns:
- the tables exclude set
-
setTablesExcludeSet
- Parameters:
set- the tables exclude set to set
-
setTablesExcludeSet
- Parameters:
set- the tables exclude set to set
-
getTablesInheritSet
- Returns:
- the tables inherit set
-
getTablesInheritMap
- Returns:
- the tables inherit map
-
setTablesInheritMap
- Parameters:
map- the tables inherit map to set
-
getTablesLoadSet
- Returns:
- the tables load set
-
getTablesLoadMap
- Returns:
- the tables load map
-
setTablesLoadMap
- Parameters:
map- the tables load map to set
-
getCatalogTablesSet
- Returns:
- the catalog tables set
-
getCatalogTablesMap
- Returns:
- the catalog tables map
-
setCatalogTablesMap
- 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
-
isCoverConstraintIndexes
public boolean isCoverConstraintIndexes()- Returns:
- the cover constraint indexes indicator
-
setCoverConstraintIndexes
public void setCoverConstraintIndexes(boolean b) - Parameters:
b- the cover constraint indexes 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
- Returns:
- the select templates path
-
setSelectTemplatesPath
- Parameters:
selectTemplatesPath- the select templates path to set
-
read
public boolean read(boolean close) -
beforeReadBuild
protected boolean beforeReadBuild() -
beforeReadClose
protected boolean beforeReadClose()
-