Class Column.Builder

  • Enclosing class:
    Column

    public static class Column.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public Column.Builder name​(String name)
        The column name.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • type

        public Column.Builder type​(String type)
        The column type.
        Parameters:
        type - the value to set
        Returns:
        this builder
      • isNullable

        public Column.Builder isNullable​(Boolean isNullable)
        The column nullable flag.
        Parameters:
        isNullable - the value to set
        Returns:
        this builder
      • defaultValue

        public Column.Builder defaultValue​(String defaultValue)
        The column default value.
        Parameters:
        defaultValue - the value to set
        Returns:
        this builder
      • isAsUuid

        public Column.Builder isAsUuid​(Boolean isAsUuid)
        True if the STRING column was declared AS UUID.
        Parameters:
        isAsUuid - the value to set
        Returns:
        this builder
      • isGenerated

        public Column.Builder isGenerated​(Boolean isGenerated)
        True if the STRING AS UUID column is also GENERATED BY DEFAULT.
        Parameters:
        isGenerated - the value to set
        Returns:
        this builder
      • build

        public Column build()