Package ch.ergon.adam.postgresql
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 Summary
ConstructorsConstructorDescriptionPostgreSqlSource(String url, String schemaName) PostgreSqlSource(Connection connection, String schemaName) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetDefaultValue(org.jooq.Field<?> jooqField) ch.ergon.adam.core.db.schema.Schemaprotected StringgetViewDefinition(String name) protected ch.ergon.adam.core.db.schema.DataTypemapDataTypeFromJooq(org.jooq.Field<?> jooqField) Methods inherited from class ch.ergon.adam.jooq.JooqSource
close, getContext, getMeta, isGeneratedName, isSequence, mapFieldFromJooq, setSqlDialect
-
Constructor Details
-
PostgreSqlSource
- Throws:
SQLException
-
PostgreSqlSource
-
-
Method Details
-
getSchema
public ch.ergon.adam.core.db.schema.Schema getSchema()- Specified by:
getSchemain interfacech.ergon.adam.core.db.interfaces.SchemaSource- Overrides:
getSchemain classch.ergon.adam.jooq.JooqSource
-
getDefaultValue
- Overrides:
getDefaultValuein classch.ergon.adam.jooq.JooqSource
-
fetchViewDependencies
- Specified by:
fetchViewDependenciesin classch.ergon.adam.jooq.JooqSource
-
getViewDefinition
- Specified by:
getViewDefinitionin classch.ergon.adam.jooq.JooqSource
-
mapDataTypeFromJooq
protected ch.ergon.adam.core.db.schema.DataType mapDataTypeFromJooq(org.jooq.Field<?> jooqField) - Overrides:
mapDataTypeFromJooqin classch.ergon.adam.jooq.JooqSource
-