Class TableInfo
java.lang.Object
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.BasicElementProperties
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.CatalogNamespaceProperties
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.SchemaNamespaceProperties
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.StoredDataProperties
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.TableProperties
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.TableInfo
- All Implemented Interfaces:
ElementBase
Description of a table. These are the values that are returned from UC.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.long
Return the time that the element was created.Return the internal identifier of the table.long
Return the time that the element was last updated.int
hashCode()
Return hash code based on properties.void
setCreated_at
(long created_at) Set up the time that the element was created.void
setTable_id
(String table_id) Set up the internal identifier of the table.void
setUpdated_at
(long updated_at) Set up the time that the element was last updated.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.TableProperties
getColumns, getData_source_format, getTable_type, setColumns, setData_source_format, setTable_type
Methods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.StoredDataProperties
getStorage_location, setStorage_location
Methods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.SchemaNamespaceProperties
getSchema_name, setSchema_name
Methods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.CatalogNamespaceProperties
getCatalog_name, setCatalog_name
Methods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.BasicElementProperties
getComment, getName, setComment, setName
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.ElementBase
getComment, getName, setComment, setName
-
Constructor Details
-
TableInfo
public TableInfo()Constructor
-
-
Method Details
-
getCreated_at
public long getCreated_at()Return the time that the element was created.- Specified by:
getCreated_at
in interfaceElementBase
- Returns:
- date/time as long
-
setCreated_at
public void setCreated_at(long created_at) Set up the time that the element was created.- Specified by:
setCreated_at
in interfaceElementBase
- Parameters:
created_at
- date/time as long
-
getUpdated_at
public long getUpdated_at()Return the time that the element was last updated.- Specified by:
getUpdated_at
in interfaceElementBase
- Returns:
- date/time as long
-
setUpdated_at
public void setUpdated_at(long updated_at) Set up the time that the element was last updated.- Specified by:
setUpdated_at
in interfaceElementBase
- Parameters:
updated_at
- date/time as long
-
getTable_id
Return the internal identifier of the table.- Returns:
- string
-
setTable_id
Set up the internal identifier of the table.- Parameters:
table_id
- string
-
toString
Standard toString method.- Overrides:
toString
in classTableProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classTableProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classTableProperties
- Returns:
- int
-