Class Column.Builder

  • Enclosing class:
    Column

    public static class Column.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public Column build()
        Builds a Column.
        Returns:
        the new Column instance
      • columnName

        public Column.Builder columnName​(java.lang.String columnName)
        Set the columnName.
        Parameters:
        columnName - the columnName
        Returns:
        the Column builder
      • comment

        public Column.Builder comment​(java.lang.String comment)
        Set the comment.
        Parameters:
        comment - the comment
        Returns:
        the Column builder
      • extra

        public Column.Builder extra​(java.lang.String extra)
        Set the extra.
        Parameters:
        extra - the extra
        Returns:
        the Column builder
      • length

        public Column.Builder length​(java.lang.String length)
        Set the length.
        Parameters:
        length - the length
        Returns:
        the Column builder
      • scale

        public Column.Builder scale​(java.lang.String scale)
        Set the scale.
        Parameters:
        scale - the scale
        Returns:
        the Column builder
      • precision

        public Column.Builder precision​(java.lang.String precision)
        Set the precision.
        Parameters:
        precision - the precision
        Returns:
        the Column builder
      • type

        public Column.Builder type​(java.lang.String type)
        Set the type.
        Parameters:
        type - the type
        Returns:
        the Column builder