public class CreateUser extends DefineCommand
transactionalcreate, parameters, prepareAlways, session, sqlStatement, sqlTokens| 构造器和说明 |
|---|
CreateUser(SessionLocal session) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getType()
Get the command type as defined in CommandInterface
|
void |
setAdmin(boolean b) |
void |
setComment(String comment) |
void |
setHash(Expression e) |
void |
setIfNotExists(boolean ifNotExists) |
void |
setPassword(Expression password) |
void |
setSalt(Expression e) |
void |
setUserName(String userName) |
long |
update()
Execute the statement.
|
isReadOnly, isTransactional, queryMeta, setTransactionalcheckCanceled, checkParameters, collectDependencies, getCteCleanups, getCurrentRowNumber, getObjectId, getParameters, getPersistedObjectId, getPlanSQL, getSession, getSimpleSQL, getSQL, getSQLTokens, isCacheable, isQuery, isWithParamValues, needRecompile, prepare, query, setCommand, setCteCleanups, setCurrentRowNumber, setParameterList, setPersistedObjectId, setPrepareAlways, setRow, setSession, setSQL, setWithParamValues, toStringpublic CreateUser(SessionLocal session)
public void setIfNotExists(boolean ifNotExists)
public void setUserName(String userName)
public void setPassword(Expression password)
public long update()
Preparedpublic void setSalt(Expression e)
public void setHash(Expression e)
public void setAdmin(boolean b)
public void setComment(String comment)
Copyright © 2022. All rights reserved.