Class Column
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.watsonxdata.watsonx_data.v3.model.Column
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Column extends com.ibm.cloud.sdk.core.service.model.GenericModelColumn details.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetComment()Gets the comment.java.lang.StringgetExtra()Gets the extra.java.lang.StringgetLength()Gets the length.java.lang.StringgetName()Gets the name.java.lang.StringgetPrecision()Gets the precision.java.lang.StringgetScale()Gets the scale.java.lang.StringgetType()Gets the type.
-
-
-
Method Detail
-
getComment
public java.lang.String getComment()
Gets the comment. Optional comment or description of the column.- Returns:
- the comment
-
getExtra
public java.lang.String getExtra()
Gets the extra. Extra column attributes, e.g., AUTO_INCREMENT, DEFAULT, etc.- Returns:
- the extra
-
getLength
public java.lang.String getLength()
Gets the length. Length for types like VARCHAR or CHAR. Should be a numeric string.- Returns:
- the length
-
getName
public java.lang.String getName()
Gets the name. Valid SQL column name.- Returns:
- the name
-
getPrecision
public java.lang.String getPrecision()
Gets the precision. Precision (total number of digits) for numeric types like DECIMAL.- Returns:
- the precision
-
getScale
public java.lang.String getScale()
Gets the scale. Scale (number of digits after the decimal point) for numeric types like DECIMAL.- Returns:
- the scale
-
getType
public java.lang.String getType()
Gets the type. SQL data type, e.g., varchar, int, decimal(10,2), etc.- Returns:
- the type
-
-