Class PgWorkDirs
java.lang.Object
org.pgcodekeeper.core.database.base.project.AbstractWorkDirs
org.pgcodekeeper.core.database.pg.project.PgWorkDirs
- All Implemented Interfaces:
IWorkDirs
Directory structure definitions for PostgreSQL project loader.
-
Field Summary
Fields inherited from class org.pgcodekeeper.core.database.base.project.AbstractWorkDirs
ALT_DIRS_FILENAME, IS_SPLIT_BY_SCHEMAFields inherited from interface org.pgcodekeeper.core.database.api.project.IWorkDirs
SCHEMA_KEY -
Constructor Summary
ConstructorsConstructorDescriptionCreates PgWorkDirs with default directory structure only.PgWorkDirs(Path altDirsFile) Creates PgWorkDirs and applies overrides from the given alt-dirs properties file. -
Method Summary
Methods inherited from class org.pgcodekeeper.core.database.base.project.AbstractWorkDirs
getDirMapping, getDirNameForType, getRelativeFilePath, isSplitBySchema, resolveAltDirsFile, saveAltDirs
-
Constructor Details
-
PgWorkDirs
public PgWorkDirs()Creates PgWorkDirs with default directory structure only. -
PgWorkDirs
Creates PgWorkDirs and applies overrides from the given alt-dirs properties file. Supports standardDbObjTypekeys and the following custom keys:MAT_VIEW— materialized views (subset ofVIEW)FOREIGN_TABLE— foreign tables (subset ofTABLE)TRIGGER_FUNC— trigger functions (subset ofFUNCTION)
- Parameters:
altDirsFile- path to the alt-dirs properties file (any filename), ornullfor defaults only
-