java.lang.Object
java.lang.Enum<AuditLogTable>
org.odpi.openmetadata.adapters.repositoryservices.auditlogstore.postgres.schema.AuditLogTable
All Implemented Interfaces:
Serializable, Comparable<AuditLogTable>, Constable, PostgreSQLTable

public enum AuditLogTable extends Enum<AuditLogTable> implements PostgreSQLTable
Defines the tables used in a audit log database schema.
  • Enum Constant Details

    • API_CALLS

      public static final AuditLogTable API_CALLS
      Details of API calls made.
    • ASSET_ACTIVITY

      public static final AuditLogTable ASSET_ACTIVITY
      Details to the activity around assets.
    • AUDIT_EVENTS

      public static final AuditLogTable AUDIT_EVENTS
      All of the captured audit events.
    • EGERIA_COMPONENTS

      public static final AuditLogTable EGERIA_COMPONENTS
      The components producing audit log events.
    • EGERIA_EXCEPTIONS

      public static final AuditLogTable EGERIA_EXCEPTIONS
      The exceptions caught in the audit log events.
    • OMAG_SERVERS

      public static final AuditLogTable OMAG_SERVERS
      The servers producing audit log records.
  • Method Details

    • values

      public static AuditLogTable[] 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

      public static AuditLogTable valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getTableName

      public String getTableName()
      Return the name of the table.
      Specified by:
      getTableName in interface PostgreSQLTable
      Returns:
      name
    • getTableName

      public String getTableName(String schemaName)
      Return the name of the table.
      Specified by:
      getTableName in interface PostgreSQLTable
      Parameters:
      schemaName - name of schema
      Returns:
      name
    • getTableDescription

      public String getTableDescription()
      Return the description of the table.
      Specified by:
      getTableDescription in interface PostgreSQLTable
      Returns:
      text
    • getPrimaryKeys

      public List<PostgreSQLColumn> getPrimaryKeys()
      Return the columns that are primary keys.
      Specified by:
      getPrimaryKeys in interface PostgreSQLTable
      Returns:
      list of columns
    • getDataColumns

      public List<PostgreSQLColumn> getDataColumns()
      Return the columns that are not primary keys.
      Specified by:
      getDataColumns in interface PostgreSQLTable
      Returns:
      list of columns
    • getColumnNameTypeMap

      public Map<String,Integer> getColumnNameTypeMap()
      Return the name to type map for the columns in this table.
      Returns:
      map
    • getForeignKeys

      public List<PostgreSQLForeignKey> getForeignKeys()
      Return the list of foreign keys for this table.
      Specified by:
      getForeignKeys in interface PostgreSQLTable
      Returns:
      list
    • getTables

      public static List<PostgreSQLTable> getTables()
      Return the tables for schema building.
      Returns:
      list of tables
    • toString

      public String toString()
      Overrides:
      toString in class Enum<AuditLogTable>