Enum Class RepositoryTable
java.lang.Object
java.lang.Enum<RepositoryTable>
org.odpi.openmetadata.adapters.repositoryservices.postgres.repositoryconnector.schema.RepositoryTable
- All Implemented Interfaces:
Serializable,Comparable<RepositoryTable>,Constable,org.odpi.openmetadata.adapters.connectors.resource.jdbc.ddl.postgres.PostgreSQLTable
public enum RepositoryTable
extends Enum<RepositoryTable>
implements org.odpi.openmetadata.adapters.connectors.resource.jdbc.ddl.postgres.PostgreSQLTable
Defines the tables used in a repository database schema.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAttributes for a classification, or for classification properties that are collections.Control table to identify the server, metadata collection and version that this repository serves.Common information about an entity instance.Attributes for an entity, or for entity properties that are collections.Common information about a relationship instance.Attributes for a relationship, or for relationship properties that are collections. -
Method Summary
Modifier and TypeMethodDescriptionReturn the name to type map for the columns in this table.List<org.odpi.openmetadata.adapters.connectors.resource.jdbc.ddl.postgres.PostgreSQLColumn>Return the columns that are not primary keys.List<org.odpi.openmetadata.adapters.connectors.resource.jdbc.ddl.postgres.PostgreSQLForeignKey>Return the list of foreign keys for this table.List<org.odpi.openmetadata.adapters.connectors.resource.jdbc.ddl.postgres.PostgreSQLColumn>Return the columns that are primary keys.Return the description of the table.Return the name of the table.getTableName(String schemaName) Return the name of the table.static List<org.odpi.openmetadata.adapters.connectors.resource.jdbc.ddl.postgres.PostgreSQLTable>Return the tables for schema building.toString()Standard toString method.static RepositoryTableReturns the enum constant of this class with the specified name.static RepositoryTable[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
CONTROL
Control table to identify the server, metadata collection and version that this repository serves. -
ENTITY
Common information about an entity instance. -
RELATIONSHIP
Common information about a relationship instance. -
CLASSIFICATION
-
ENTITY_ATTRIBUTE_VALUE
Attributes for an entity, or for entity properties that are collections. -
CLASSIFICATION_ATTRIBUTE_VALUE
Attributes for a classification, or for classification properties that are collections. -
RELATIONSHIP_ATTRIBUTE_VALUE
Attributes for a relationship, or for relationship properties that are collections.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getTableName
Return the name of the table.- Specified by:
getTableNamein interfaceorg.odpi.openmetadata.adapters.connectors.resource.jdbc.ddl.postgres.PostgreSQLTable- Returns:
- name
-
getTableName
Return the name of the table.- Specified by:
getTableNamein interfaceorg.odpi.openmetadata.adapters.connectors.resource.jdbc.ddl.postgres.PostgreSQLTable- Parameters:
schemaName- name of schema- Returns:
- name
-
getTableDescription
Return the description of the table.- Specified by:
getTableDescriptionin interfaceorg.odpi.openmetadata.adapters.connectors.resource.jdbc.ddl.postgres.PostgreSQLTable- Returns:
- text
-
getPrimaryKeys
public List<org.odpi.openmetadata.adapters.connectors.resource.jdbc.ddl.postgres.PostgreSQLColumn> getPrimaryKeys()Return the columns that are primary keys.- Specified by:
getPrimaryKeysin interfaceorg.odpi.openmetadata.adapters.connectors.resource.jdbc.ddl.postgres.PostgreSQLTable- Returns:
- list of columns
-
getDataColumns
public List<org.odpi.openmetadata.adapters.connectors.resource.jdbc.ddl.postgres.PostgreSQLColumn> getDataColumns()Return the columns that are not primary keys.- Specified by:
getDataColumnsin interfaceorg.odpi.openmetadata.adapters.connectors.resource.jdbc.ddl.postgres.PostgreSQLTable- Returns:
- list of columns
-
getColumnNameTypeMap
Return the name to type map for the columns in this table.- Returns:
- map
-
getQualifiedColumnNames
-
getForeignKeys
public List<org.odpi.openmetadata.adapters.connectors.resource.jdbc.ddl.postgres.PostgreSQLForeignKey> getForeignKeys()Return the list of foreign keys for this table.- Specified by:
getForeignKeysin interfaceorg.odpi.openmetadata.adapters.connectors.resource.jdbc.ddl.postgres.PostgreSQLTable- Returns:
- list
-
getTables
public static List<org.odpi.openmetadata.adapters.connectors.resource.jdbc.ddl.postgres.PostgreSQLTable> getTables()Return the tables for schema building.- Returns:
- list of tables
-
toString
Standard toString method.- Overrides:
toStringin classEnum<RepositoryTable>- Returns:
- JSON style description of variables.
-