add a new column

@param st
@param column
@param stepDepth
@param alias
962893
public void add(SchemaTable st, String column, int stepDepth, String alias) {
        add(st.getSchema(), st.getTable(), column, stepDepth, alias);
    }
52055
public void add(long timestamp, String column, Object value) {
        if (!(value instanceof Long) && !(value instanceof Integer) && !(value instanceof Double) &&
            !(value instanceof Float) && !(value instanceof Boolean) &&
            !(value instanceof String)) {
            throw new IllegalArgumentException(
                "value must be of type: Long, Integer, Double, Float, Boolean, or String");
        }
        Map<String, Object> temp = new HashMap<String, Object>();
        temp.put(column, value);
        add(timestamp, temp);
    }
988310
def add_step(self, step, step_id):
        
        assert step_id not in self._steps
        assert step_id not in self._order
        assert isinstance(step, Step)

        self._steps[step_id] = step
        self._order.append(step_id)
552926
private void addPitToStack( int row, int col ) {
        currentPitsCount = currentPitsCount + 1;
        if (currentPitsCount >= pitsStackSize) {
            pitsStackSize = (int) (pitsStackSize + nCols * nRows * .1) + 2;
            currentPitRows = realloc(currentPitRows, pitsStackSize);
            currentPitCols = realloc(currentPitCols, pitsStackSize);
            dn = realloc(dn, pitsStackSize);
        }

        currentPitRows[currentPitsCount] = row;
        currentPitCols[currentPitsCount] = col;
    }
195736
public ColumnList addColumn(IColumn column){
        return this.addColumn(column.family(), column.qualifier(), column.timestamp(), column.value());
    }
58102
private String getAlias(String schema, String table, String column, int stepDepth) {
        //PropertyType is not part of equals or hashCode so not needed for the lookup.
        Column c = new Column(schema, table, column, null, stepDepth);
        return columns.get(c);
    }
588127
def addStep(self, callback, *args, **kwargs):
    '''
    
    '''
    self.steps.append((callback, args, kwargs))
1164469
void addPartition(String tableName, String colName)
    {
        if (m_partitionMap.containsKey(tableName.toLowerCase())) {
            m_compiler.addInfo(String.format("Replacing partition column %s on table %s with column %s\n",
                        m_partitionMap.get(tableName.toLowerCase()), tableName,
                        colName));
        }

        m_partitionMap.put(tableName.toLowerCase(), colName.toLowerCase());
    }
752897
public void addSimpleColumn(float left, float right) {
        ColumnDef newCol = new ColumnDef(left, right);
        columnDefs.add(newCol);
    }
1061133
public void addColumn(Column<T, ?> column, Header<?> header,
                          boolean sortable) {
        addColumn(column, header);
        column.setSortable(sortable);
        if (sortable) {
            defaultSortOrderMap.put(column, true);
        }
    }
1112848
public function addColumn(Column $column)
    {
        $columns = func_get_args();

        foreach ($columns as $column) {
            $this->columns[$column->columnName] = $column;

            if ($column instanceof AutoIncrementColumn) {
                $this->uniqueIdentifierColumnName = $column->columnName;
            }
        }
    }
188087
def append_column(self, header, column):
        
        self.insert_column(self._column_count, header, column)
1155101
public void add(SchemaTableTree stt, String column, String alias) {
        add(stt.getSchemaTable(), column, stt.getStepDepth(), alias);
    }
454537
def add_column(self, table, name='ID', data_type='int(11)', after_col=None, null=False, primary_key=False):
        """"""
        location = 'AFTER {0}'.format(after_col) if after_col else 'FIRST'
        null_ = 'NULL' if null else 'NOT NULL'
        comment = "COMMENT 'Column auto created by mysql-toolkit'"
        pk = 'AUTO_INCREMENT PRIMARY KEY {0}'.format(comment) if primary_key else ''
        query = 'ALTER TABLE {0} ADD COLUMN {1} {2} {3} {4} {5}'.format(wrap(table), name, data_type, null_, pk,
                                                                        location)
        self.execute(query)
        self._printer("\tAdded column '{0}' to '{1}' {2}".format(name, table, '(Primary Key)' if primary_key else ''))
        return name
1335331
public void insertIntoThis(int insertRow, int insertCol, T B) {
        convertType.specify(this,B);
        B = convertType.convert(B);

        // See if this type's need to be changed or not
        if( convertType.commonType == getType() ) {
            insert(B.mat,mat,insertRow,insertCol);
        } else {
            T A = convertType.convert(this);
            A.insert(B.mat,A.mat,insertRow,insertCol);
            setMatrix(A.mat);
        }
    }
1143958
public boolean addColumn (Connection conn, String table, String column, String definition,
                              boolean check) throws SQLException
    {
        if (check && tableContainsColumn(conn, table, column)) {
            return false;
        }

        executeQuery(conn, "ALTER TABLE " + tableSQL(table) + " ADD COLUMN " +
                     columnSQL(column) + " " + definition);
        log("Database column '" + column + "' added to table '" + table + "'.");
        return true;
    }
1253101
public boolean addColumn (Connection conn, String table, String column,
                              ColumnDefinition newColumnDef, boolean check)
        throws SQLException
    {
        if (check && tableContainsColumn(conn, table, column)) {
            return false;
        }

        executeQuery(conn, "ALTER TABLE " + tableSQL(table) + " ADD COLUMN " +
                     columnSQL(column) + " " + expandDefinition(newColumnDef));
        log("Database column '" + column + "' added to table '" + table + "'.");
        return true;
    }