Class TabularDataSetReport
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.tabulardatasets.TabularDataSetReport
Information about a tabular data set.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the list of column descriptions associated with this data source.Return the requested data records.longReturn the number of records in the data source.Return the description for this data source.Return the table name for this data source.inthashCode()Return hash code based on properties.voidsetColumnDescriptions(List<TabularColumnDescription> columnDescriptions) Set up the column descriptions.voidsetDataRecords(Map<String, List<String>> dataRecords) voidsetRecordCount(long recordCount) Set up the number of records in the data source.voidsetTableDescription(String tableDescription) Set the description for the table in the tabular data set report.voidsetTableName(String tableName) Set up the table name for this data source.toString()Standard toString method.
-
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
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
Set up the table name for this data source.- Parameters:
tableName- string
-
getTableDescription
Return the description for this data source.- Returns:
- string
-
setTableDescription
Set the description for the table in the tabular data set report.- Parameters:
tableDescription- the description of the table
-
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
Set up the column descriptions.- Parameters:
columnDescriptions- list
-
getDataRecords
Return the requested data records.- Returns:
- map of row number to data columns.
-
setDataRecords
-
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. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-