Class AlterDomainExpressions
java.lang.Object
org.h2.command.Prepared
org.h2.command.ddl.DefineCommand
org.h2.command.ddl.SchemaCommand
org.h2.command.ddl.SchemaOwnerCommand
org.h2.command.ddl.AlterDomain
org.h2.command.ddl.AlterDomainExpressions
This class represents the statements
ALTER DOMAIN SET DEFAULT
ALTER DOMAIN DROP DEFAULT
ALTER DOMAIN SET ON UPDATE
ALTER DOMAIN DROP ON UPDATE
-
Field Summary
FieldsFields inherited from class AlterDomain
domainName, ifDomainExistsFields inherited from class DefineCommand
transactionalFields inherited from class Prepared
create, parameters, prepareAlways, session, sqlStatement, sqlTokens -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleancopyColumn(Domain domain, Column targetColumn) private booleancopyDomain(Domain domain, Domain targetDomain) private booleancopyExpressions(SessionLocal session, Domain domain, ColumnTemplate targetColumn) intgetType()Get the command type as defined in CommandInterfacevoidsetExpression(Expression expression) (package private) longMethods inherited from class AlterDomain
forAllDependencies, setDomainName, setIfDomainExists, updateMethods inherited from class SchemaOwnerCommand
updateMethods inherited from class SchemaCommand
getSchemaMethods inherited from class DefineCommand
isReadOnly, isTransactional, queryMeta, setTransactionalMethods inherited from class Prepared
checkCanceled, checkParameters, collectDependencies, getCteCleanups, getCurrentRowNumber, getObjectId, getParameters, getPersistedObjectId, getPlanSQL, getSession, getSimpleSQL, getSQL, getSQLTokens, isCacheable, isQuery, needRecompile, prepare, query, setCommand, setCteCleanups, setCurrentRowNumber, setParameterList, setPersistedObjectId, setPrepareAlways, setRow, setSession, setSQL, toString
-
Field Details
-
type
private final int type -
expression
-
-
Constructor Details
-
AlterDomainExpressions
-
-
Method Details
-
setExpression
-
update
- Specified by:
updatein classAlterDomain
-
copyColumn
-
copyDomain
-
copyExpressions
-
getType
-