public class AlterTableSet extends SchemaCommand
transactional
create, parameters, prepareAlways, session, sqlStatement, sqlTokens
Constructor and Description |
---|
AlterTableSet(SessionLocal session,
Schema schema,
int type,
boolean value) |
Modifier and Type | Method and Description |
---|---|
int |
getType()
Get the command type as defined in CommandInterface
|
boolean |
isTransactional()
Check if this command is transactional.
|
void |
setCheckExisting(boolean b) |
void |
setIfTableExists(boolean b) |
void |
setTableName(java.lang.String tableName) |
long |
update()
Execute the statement.
|
getSchema
isReadOnly, isRetryable, queryMeta, setTransactional
checkCanceled, checkParameters, collectDependencies, getCteCleanups, getCurrentRowNumber, getDatabase, getObjectId, getParameters, getPersistedObjectId, getPlanSQL, getSession, getSimpleSQL, getSQL, getSQLTokens, isCacheable, isQuery, isWithParamValues, needRecompile, prepare, query, setCommand, setCteCleanups, setCurrentRowNumber, setParameterList, setPersistedObjectId, setPrepareAlways, setRow, setSession, setSQL, setWithParamValues, toString
public AlterTableSet(SessionLocal session, Schema schema, int type, boolean value)
public void setCheckExisting(boolean b)
public boolean isTransactional()
Prepared
isTransactional
in class DefineCommand
public void setIfTableExists(boolean b)
public void setTableName(java.lang.String tableName)
public long update()
Prepared