public class CreateSchema extends DefineCommand
transactionalcreate, parameters, prepareAlways, session, sqlStatement| Constructor and Description |
|---|
CreateSchema(Session session) |
| Modifier and Type | Method and Description |
|---|---|
int |
getType()
Get the command type as defined in CommandInterface
|
void |
setAuthorization(java.lang.String userName) |
void |
setIfNotExists(boolean ifNotExists) |
void |
setSchemaName(java.lang.String name) |
void |
setTableEngineParams(java.util.ArrayList<java.lang.String> tableEngineParams) |
int |
update()
Execute the statement.
|
isReadOnly, 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 CreateSchema(Session session)
public void setIfNotExists(boolean ifNotExists)
public int update()
Preparedpublic void setSchemaName(java.lang.String name)
public void setAuthorization(java.lang.String userName)
public void setTableEngineParams(java.util.ArrayList<java.lang.String> tableEngineParams)