Class Column

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class Column
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Column details.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getComment()
      Gets the comment.
      java.lang.String getExtra()
      Gets the extra.
      java.lang.String getLength()
      Gets the length.
      java.lang.String getName()
      Gets the name.
      java.lang.String getPrecision()
      Gets the precision.
      java.lang.String getScale()
      Gets the scale.
      java.lang.String getType()
      Gets the type.
      • Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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