public class CreateConstant extends SchemaCommand
transactionalcreate, parameters, prepareAlways, session, sqlStatement| Constructor and Description |
|---|
CreateConstant(Session session,
Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
int |
getType()
Get the command type as defined in CommandInterface
|
void |
setConstantName(java.lang.String constantName) |
void |
setExpression(Expression expr) |
void |
setIfNotExists(boolean ifNotExists) |
int |
update()
Execute the statement.
|
getSchemaisReadOnly, isTransactional, queryMeta, setTransactionalcheckCanceled, checkParameters, getCteCleanups, getCurrentObjectId, getCurrentRowNumber, getObjectId, getParameters, getPlanSQL, getSession, getSQL, getSQL, getSQL, isCacheable, isQuery, needRecompile, prepare, query, setCommand, setCteCleanups, setCurrentRowNumber, setObjectId, setParameterList, setPrepareAlways, setRow, setSession, setSQL, toStringpublic void setIfNotExists(boolean ifNotExists)
public int update()
Preparedpublic void setConstantName(java.lang.String constantName)
public void setExpression(Expression expr)