Class PostgresMapper
- java.lang.Object
-
- org.odpi.openmetadata.adapters.connectors.integration.postgres.mapper.PostgresMapper
-
public class PostgresMapper extends java.lang.ObjectUtility class that provides bean mapping functions
-
-
Constructor Summary
Constructors Constructor Description PostgresMapper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.odpi.openmetadata.accessservices.datamanager.properties.DatabaseColumnPropertiesgetColumnProperties(PostgresColumn col)mapping function that reads tables, columns and primmary keys for a schema from Postgres and adds the data to Egeriastatic org.odpi.openmetadata.accessservices.datamanager.properties.DatabasePropertiesgetDatabaseProperties(PostgresDatabase db)mapping function that reads tables, columns and primmary keys for a schema from Postgres and adds the data to Egeriastatic org.odpi.openmetadata.accessservices.datamanager.properties.DatabaseSchemaPropertiesgetSchemaProperties(PostgresSchema sch)mapping function that reads tables, columns and primmary keys for a schema from Postgres and adds the data to Egeriastatic org.odpi.openmetadata.accessservices.datamanager.properties.DatabaseTablePropertiesgetTableProperties(PostgresTable table)mapping function that reads tables, columns and primmary keys for a schema from Postgres and adds the data to Egeriastatic org.odpi.openmetadata.accessservices.datamanager.properties.DatabaseViewPropertiesgetViewProperties(PostgresTable table)mapping function that reads converts a Postgres table properties to an Egeria DatabaseViewProperties for a schema from Postgres and adds the data to Egeria
-
-
-
Method Detail
-
getDatabaseProperties
public static org.odpi.openmetadata.accessservices.datamanager.properties.DatabaseProperties getDatabaseProperties(PostgresDatabase db)
mapping function that reads tables, columns and primmary keys for a schema from Postgres and adds the data to Egeria- Parameters:
db- the Postgres database attributes to be- Returns:
- the Egeria database properties
-
getSchemaProperties
public static org.odpi.openmetadata.accessservices.datamanager.properties.DatabaseSchemaProperties getSchemaProperties(PostgresSchema sch)
mapping function that reads tables, columns and primmary keys for a schema from Postgres and adds the data to Egeria- Parameters:
sch- the Postgres database attributes to be- Returns:
- the Egeria schema properties
-
getTableProperties
public static org.odpi.openmetadata.accessservices.datamanager.properties.DatabaseTableProperties getTableProperties(PostgresTable table)
mapping function that reads tables, columns and primmary keys for a schema from Postgres and adds the data to Egeria- Parameters:
table- the Postgres table properties- Returns:
- the Egeria table properties
-
getViewProperties
public static org.odpi.openmetadata.accessservices.datamanager.properties.DatabaseViewProperties getViewProperties(PostgresTable table)
mapping function that reads converts a Postgres table properties to an Egeria DatabaseViewProperties for a schema from Postgres and adds the data to Egeria- Parameters:
table- the Postgres table properties- Returns:
- the Egeria view properties
-
getColumnProperties
public static org.odpi.openmetadata.accessservices.datamanager.properties.DatabaseColumnProperties getColumnProperties(PostgresColumn col)
mapping function that reads tables, columns and primmary keys for a schema from Postgres and adds the data to Egeria- Parameters:
col- the Postgres column properties- Returns:
- the Egeria column properties
-
-