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

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

    • RELATIONAL_SCHEMA

      public static final HarvestSurveysView RELATIONAL_SCHEMA
      Details of known relational schemas.
    • RELATIONAL_TABLE

      public static final HarvestSurveysView RELATIONAL_TABLE
      Details of known relational tables.
    • RELATIONAL_COLUMN

      public static final HarvestSurveysView RELATIONAL_COLUMN
      Details of columns in known relational tables.
    • FILE_VOLUME

      public static final HarvestSurveysView FILE_VOLUME
      Details of a directory identified as a file volume.
    • EXECUTABLE_FUNCTION

      public static final HarvestSurveysView EXECUTABLE_FUNCTION
      Details of known executable functions.
    • ANALYTICAL_MODEL

      public static final HarvestSurveysView ANALYTICAL_MODEL
      Details of known analytical models.
    • EVENT_TOPIC

      public static final HarvestSurveysView EVENT_TOPIC
      Details of known event topics.
    • API_OPERATION

      public static final HarvestSurveysView API_OPERATION
      Details of known API operations that can be called across the network.
  • Method Details

    • values

      public static HarvestSurveysView[] 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 HarvestSurveysView 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
    • getViewName

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

      public String getViewName(String schemaName)
      Return the name of the table.
      Specified by:
      getViewName in interface PostgreSQLView
      Parameters:
      schemaName - name of schema
      Returns:
      name
    • getViewDescription

      public String getViewDescription()
      Return the description of the table.
      Specified by:
      getViewDescription in interface PostgreSQLView
      Returns:
      text
    • getTables

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

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

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

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