Class AbstractDumpLoader<T extends IDatabase>
java.lang.Object
org.pgcodekeeper.core.database.base.loader.AbstractLoader<T>
org.pgcodekeeper.core.database.base.loader.AbstractDumpLoader<T>
- All Implemented Interfaces:
IDumpLoader,ILoader
- Direct Known Subclasses:
ChDumpLoader,MsDumpLoader,PgDumpLoader
public abstract class AbstractDumpLoader<T extends IDatabase>
extends AbstractLoader<T>
implements IDumpLoader
Base database dump loader
-
Method Summary
Modifier and TypeMethodDescriptionload()Loads the database schema.abstract voidloadWithoutAnalyze(T db, Queue<AntlrTask<?>> antlrTasks) voidsetMode(ParserListenerMode mode) Sets loader modevoidsetOverridesMap(Map<AbstractStatement, StatementOverride> overrides) Methods inherited from class org.pgcodekeeper.core.database.base.loader.AbstractLoader
addError, getErrors, getMonitor, getSettings, isAllowedSchema, 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, loadAndAnalyze
-
Method Details
-
load
Description copied from interface:ILoaderLoads the database schema.- Specified by:
loadin interfaceILoader- Specified by:
loadin classAbstractLoader<T extends IDatabase>- Returns:
- loaded database
- Throws:
IOExceptionInterruptedException
-
createDatabaseWithSchema
-
setMode
Description copied from interface:IDumpLoaderSets loader mode- Specified by:
setModein interfaceIDumpLoader- Parameters:
mode- loader mode
-
setOverridesMap
-
loadWithoutAnalyze
-