Class SchemaColumn.Builder

    • Method Detail

      • name

        public SchemaColumn.Builder name​(String newName)
        Sets the name of column.
        Parameters:
        newName - The name of table
        Returns:
        cascading self
      • jdbcType

        public SchemaColumn.Builder jdbcType​(JDBCType newJdbcType)
        Sets the sql type of column.
        Parameters:
        newJdbcType - The value(nullable) of sql type, see Types.
        Returns:
        cascading self
        See Also:
        Types
      • nullable

        public SchemaColumn.Builder nullable​(boolean newNullable)
        Sets whether or not this column is nullable
        Parameters:
        newNullable - The value of nullable
        Returns:
        cascading self
      • autoIncremental

        public SchemaColumn.Builder autoIncremental​(Boolean newAutoIncremental)
        Sets whether or not this columns is auto-incremental.
        Parameters:
        newAutoIncremental - The value of auto-incremental
        Returns:
        cascading self
      • defaultValue

        public SchemaColumn.Builder defaultValue​(String newDefaultValue)
        Sets the default value of column.
        Parameters:
        newDefaultValue - the flag of having default value
        Returns:
        cascading self