Class PostgreSqlSource

java.lang.Object
ch.ergon.adam.jooq.JooqSource
ch.ergon.adam.postgresql.PostgreSqlSource
All Implemented Interfaces:
ch.ergon.adam.core.db.interfaces.SchemaSource, AutoCloseable

public class PostgreSqlSource extends ch.ergon.adam.jooq.JooqSource
  • Constructor Details

  • Method Details

    • getSchema

      public ch.ergon.adam.core.db.schema.Schema getSchema()
      Specified by:
      getSchema in interface ch.ergon.adam.core.db.interfaces.SchemaSource
      Overrides:
      getSchema in class ch.ergon.adam.jooq.JooqSource
    • getDefaultValue

      protected String getDefaultValue(org.jooq.Field<?> jooqField)
      Overrides:
      getDefaultValue in class ch.ergon.adam.jooq.JooqSource
    • fetchViewDependencies

      protected Map<String,List<String>> fetchViewDependencies()
      Specified by:
      fetchViewDependencies in class ch.ergon.adam.jooq.JooqSource
    • getViewDefinition

      protected String getViewDefinition(String name)
      Specified by:
      getViewDefinition in class ch.ergon.adam.jooq.JooqSource
    • mapDataTypeFromJooq

      protected ch.ergon.adam.core.db.schema.DataType mapDataTypeFromJooq(org.jooq.Field<?> jooqField, org.jooq.Table<?> jooqTable)
      Overrides:
      mapDataTypeFromJooq in class ch.ergon.adam.jooq.JooqSource