public class CreateDomain extends SchemaCommand
transactionalcreate, parameters, prepareAlways, session, sqlStatement, sqlTokens| 构造器和说明 |
|---|
CreateDomain(SessionLocal session,
Schema schema) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addConstraintCommand(AlterDomainAddConstraint command)
Add a constraint command.
|
int |
getType()
Get the command type as defined in CommandInterface
|
void |
setComment(String comment) |
void |
setDataType(TypeInfo dataType) |
void |
setDefaultExpression(Expression defaultExpression) |
void |
setIfNotExists(boolean ifNotExists) |
void |
setOnUpdateExpression(Expression onUpdateExpression) |
void |
setParentDomain(Domain parentDomain) |
void |
setTypeName(String name) |
long |
update()
Execute the statement.
|
getSchemaisReadOnly, 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 CreateDomain(SessionLocal session, Schema schema)
public void setTypeName(String name)
public void setIfNotExists(boolean ifNotExists)
public void setDataType(TypeInfo dataType)
public void setParentDomain(Domain parentDomain)
public void setDefaultExpression(Expression defaultExpression)
public void setOnUpdateExpression(Expression onUpdateExpression)
public void setComment(String comment)
public int getType()
Preparedpublic void addConstraintCommand(AlterDomainAddConstraint command)
command - the command to addCopyright © 2022. All rights reserved.