public class SST_AddColumn extends SchemaSpecTask
| Constructor and Description |
|---|
SST_AddColumn() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
void |
setColumn(String c)
Sets the new column name.
|
void |
setColumnType(String ct)
Sets the generic DB column type of the new column.
|
void |
setPrecision(String p)
If the new column holds numeric data or data that can be limited to a particular precision, this defines its
precision.
|
void |
setTable(String t)
Sets the name of the table that will get the new column added to it.
|
getConnection, getDatabaseType, getDBSpecificTypeName, getIgnoreError, getNewConnection, getTargetDBVendor, getTargetDBVersion, initialize, isDBTargeted, isIgnoreError, setIgnoreError, setTargetDBVendor, setTargetDBVersion, translateSqlTypegetDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void setTable(String t)
t - table namepublic void setColumn(String c)
c - name of the new columnpublic void setColumnType(String ct)
ct - new column's generic column typepublic void setPrecision(String p)
p - new column's precisionpublic void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionTask.execute()Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.