Class ColumnInfo
java.lang.Object
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.DataFieldInfo
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.ColumnInfo
Description of a column.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.intinthashCode()Return hash code based on properties.booleanvoidsetNullable(boolean nullable) voidsetPartition_index(int partition_index) toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.DataFieldInfo
getComment, getName, getPosition, getType_interval_type, getType_json, getType_name, getType_precision, getType_scale, getType_text, setComment, setName, setPosition, setType_interval_type, setType_json, setType_name, setType_precision, setType_scale, setType_text
-
Constructor Details
-
ColumnInfo
public ColumnInfo()Constructor
-
-
Method Details
-
isNullable
public boolean isNullable() -
setNullable
public void setNullable(boolean nullable) -
getPartition_index
public int getPartition_index() -
setPartition_index
public void setPartition_index(int partition_index) -
toString
Standard toString method.- Overrides:
toStringin classDataFieldInfo- 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:
equalsin classDataFieldInfo- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classDataFieldInfo- Returns:
- int
-