Class ProjectLoader

java.lang.Object
org.pgcodekeeper.core.loader.DatabaseLoader
org.pgcodekeeper.core.loader.ProjectLoader

public class ProjectLoader extends DatabaseLoader
Database loader for pgCodeKeeper project directory structures. Reads database schemas from organized directory structures containing SQL files for different database types (PostgreSQL, Microsoft SQL Server, ClickHouse). Supports override loading and statement replacement functionality.
  • Constructor Details

    • ProjectLoader

      public ProjectLoader(String dirPath, ISettings settings)
      Creates a new project loader with basic configuration.
      Parameters:
      dirPath - path to the project directory
      settings - loader settings and configuration
    • ProjectLoader

      public ProjectLoader(String dirPath, ISettings settings, List<Object> errors)
      Creates a new project loader with error collection.
      Parameters:
      dirPath - path to the project directory
      settings - loader settings and configuration
      errors - list to collect loading errors
    • ProjectLoader

      public ProjectLoader(String dirPath, ISettings settings, IMonitor monitor, List<Object> errors, IgnoreSchemaList ignoreSchemaList)
      Creates a new project loader with full configuration.
      Parameters:
      dirPath - path to the project directory
      settings - loader settings and configuration
      monitor - progress monitor for tracking loading progress
      errors - list to collect loading errors
      ignoreSchemaList - list of schemas to ignore during loading
  • Method Details