java.lang.Object
java.lang.Enum<HarvestSurveysTable>
org.odpi.openmetadata.adapters.connectors.nannyconnectors.harvestsurveys.schema.HarvestSurveysTable
All Implemented Interfaces:
Serializable, Comparable<HarvestSurveysTable>, Constable, PostgreSQLTable

public enum HarvestSurveysTable extends Enum<HarvestSurveysTable> implements PostgreSQLTable
Defines the tables used in a survey report database schema.
  • Enum Constant Details

    • SURVEY_REPORT

      public static final HarvestSurveysTable SURVEY_REPORT
      Details of a Survey report.
    • ANNOTATION

      public static final HarvestSurveysTable ANNOTATION
    • REQUEST_FOR_ACTION

      public static final HarvestSurveysTable REQUEST_FOR_ACTION
      Request for actions generated by the surveys.
    • REQUEST_FOR_ACTION_TARGET

      public static final HarvestSurveysTable REQUEST_FOR_ACTION_TARGET
      Request for actions generated by the surveys.
    • RELATIONAL_DATA_MANAGER_MEASUREMENTS

      public static final HarvestSurveysTable RELATIONAL_DATA_MANAGER_MEASUREMENTS
      Details of a Data Manager Catalog survey.
    • FILE_MEASUREMENTS

      public static final HarvestSurveysTable FILE_MEASUREMENTS
    • DIRECTORY_MEASUREMENTS

      public static final HarvestSurveysTable DIRECTORY_MEASUREMENTS
    • RESOURCE_MEASURES

      public static final HarvestSurveysTable RESOURCE_MEASURES
    • PROFILE_MEASURES

      public static final HarvestSurveysTable PROFILE_MEASURES
    • MISSING_FILE_CLASSIFIERS

      public static final HarvestSurveysTable MISSING_FILE_CLASSIFIERS
      List of files that could not be classified using the file reference data supplied by the Open Metadata Framework (OMF).
  • Method Details

    • values

      public static HarvestSurveysTable[] 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 HarvestSurveysTable 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()
      Standard toString method.
      Overrides:
      toString in class Enum<HarvestSurveysTable>
      Returns:
      JSON style description of variables.