Class AbstractJdbcLoader<T extends IDatabase>
java.lang.Object
org.pgcodekeeper.core.database.base.loader.AbstractLoader<T>
org.pgcodekeeper.core.database.base.loader.AbstractJdbcLoader<T>
- All Implemented Interfaces:
IJdbcLoader,ILoader
- Direct Known Subclasses:
ChJdbcLoader,MsJdbcLoader,PgJdbcLoader
public abstract class AbstractJdbcLoader<T extends IDatabase>
extends AbstractLoader<T>
implements IJdbcLoader
Base JDBC database loader
-
Method Summary
Modifier and TypeMethodDescriptionReturningISchemaof some idReturns a string representation of loaded schemas.intvoidAssociates a schema ID with a schema object.final voidsetComment(AbstractStatement f, ResultSet res) voidsetCurrentObject(ObjectReference currentObject) voidsetCurrentOperation(String operation) voidsetOwner(AbstractStatement st, String owner) voidsetVersion(int version) Methods inherited from class org.pgcodekeeper.core.database.base.loader.AbstractLoader
addError, getErrors, getMonitor, getSettings, isAllowedSchema, load, loadAndAnalyzeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.pgcodekeeper.core.database.api.loader.ILoader
getErrors, getSettings, load, loadAndAnalyze
-
Method Details
-
setOwner
-
setCurrentOperation
-
setCurrentObject
-
setVersion
public void setVersion(int version) -
putSchema
Associates a schema ID with a schema object.- Parameters:
schemaId- the schema identifierschema- the schema object to associate
-
setComment
- Throws:
SQLException
-
getVersion
public int getVersion() -
getRunner
-
getConnection
-
getCurrentLocation
-
getStatement
-
getSchemas
Returns a string representation of loaded schemas.- Returns:
- string containing schema information
-
getSchema
ReturningISchemaof some id- Parameters:
schemaId- the schema identifier- Returns:
ISchema- the schema object to associate
-