java.lang.Object
org.odpi.openmetadata.frameworks.connectors.tabulardatasets.TabularDataSetReport

public class TabularDataSetReport extends Object
Information about a tabular data set.
  • Constructor Details

    • TabularDataSetReport

      public TabularDataSetReport()
  • Method Details

    • getRecordCount

      public long getRecordCount()
      Return the number of records in the data source.
      Returns:
      count
    • setRecordCount

      public void setRecordCount(long recordCount)
      Set up the number of records in the data source.
      Parameters:
      recordCount - count
    • getTableName

      public String getTableName()
      Return the table name for this data source. This is in canonical word format where each word in the name should be capitalized, with spaces between the words. This format allows easy translation between different naming conventions.
      Returns:
      string
    • setTableName

      public void setTableName(String tableName)
      Set up the table name for this data source.
      Parameters:
      tableName - string
    • getTableDescription

      public String getTableDescription()
      Return the description for this data source.
      Returns:
      string
    • setTableDescription

      public void setTableDescription(String tableDescription)
      Set the description for the table in the tabular data set report.
      Parameters:
      tableDescription - the description of the table
    • getColumnDescriptions

      public List<TabularColumnDescription> getColumnDescriptions()
      Return the list of column descriptions associated with this data source. The information should be sufficient to define the schema in a target data store. The names of the columns should be in a canonical name format where each word in the name is capitalized with a space between each word. This allows simple translation between the naming conventions supported by different technologies.
      Returns:
      a list of column descriptions or null if not available.
    • setColumnDescriptions

      public void setColumnDescriptions(List<TabularColumnDescription> columnDescriptions)
      Set up the column descriptions.
      Parameters:
      columnDescriptions - list
    • getDataRecords

      public Map<String,List<String>> getDataRecords()
      Return the requested data records.
      Returns:
      map of row number to data columns.
    • setDataRecords

      public void setDataRecords(Map<String,List<String>> dataRecords)
    • toString

      public String toString()
      Standard toString method. Note SecuredProperties and other credential type properties are not displayed. This is deliberate because there is no knowing where the string will be printed.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int