public class CreateConstant extends SchemaCommand
transactional
create, 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(String constantName) |
void |
setExpression(Expression expr) |
void |
setIfNotExists(boolean ifNotExists) |
int |
update()
Execute the statement.
|
getSchema
isReadOnly, isTransactional, queryMeta, setTransactional
checkCanceled, checkParameters, getCurrentObjectId, getCurrentRowNumber, getObjectId, getParameters, getPlanSQL, getSQL, getSQL, getSQL, isCacheable, isQuery, needRecompile, prepare, query, setCommand, setCurrentRowNumber, setObjectId, setParameterList, setPrepareAlways, setRow, setSession, setSQL, toString
public void setIfNotExists(boolean ifNotExists)
public int update()
Prepared
public void setConstantName(String constantName)
public void setExpression(Expression expr)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.