Class PGAlterDatabaseStatement
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.dialect.postgresql.ast.stmt.PGAlterDatabaseStatement
- All Implemented Interfaces:
SQLDbTypedObject
,SQLObject
,SQLStatement
,SQLAlterStatement
,SQLDDLStatement
,PGSQLObject
,PGSQLStatement
public class PGAlterDatabaseStatement
extends SQLStatementImpl
implements PGSQLStatement, SQLAlterStatement
- Author:
- lizongbo
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.alibaba.druid.sql.ast.statement.SQLDDLStatement
SQLDDLStatement.DDLObjectType
-
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
afterSemi, dbType, headHints
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept0
(PGASTVisitor visitor) protected void
accept0
(SQLASTVisitor visitor) boolean
boolean
boolean
void
setDatabaseName
(SQLIdentifierExpr databaseName) void
setOwnerToName
(SQLIdentifierExpr ownerToName) void
setRefreshCollationVersion
(boolean refreshCollationVersion) void
setRenameToName
(SQLIdentifierExpr renameToName) void
setResetParameterName
(SQLIdentifierExpr resetParameterName) void
setSetFromCurrent
(boolean setFromCurrent) void
setSetParameterName
(SQLIdentifierExpr setParameterName) void
setSetParameterValue
(SQLExpr setParameterValue) void
setSetTableSpaceName
(SQLIdentifierExpr setTableSpaceName) void
setUseEquals
(boolean useEquals) Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
clone, getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString, toUnformattedString
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParent
Methods inherited from interface com.alibaba.druid.sql.ast.SQLStatement
clone, getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString
-
Constructor Details
-
PGAlterDatabaseStatement
-
-
Method Details
-
getDatabaseName
-
setDatabaseName
-
getRenameToName
-
setRenameToName
-
getOwnerToName
-
setOwnerToName
-
getSetTableSpaceName
-
setSetTableSpaceName
-
isRefreshCollationVersion
public boolean isRefreshCollationVersion() -
setRefreshCollationVersion
public void setRefreshCollationVersion(boolean refreshCollationVersion) -
getSetParameterName
-
setSetParameterName
-
isUseEquals
public boolean isUseEquals() -
setUseEquals
public void setUseEquals(boolean useEquals) -
getSetParameterValue
-
setSetParameterValue
-
isSetFromCurrent
public boolean isSetFromCurrent() -
setSetFromCurrent
public void setSetFromCurrent(boolean setFromCurrent) -
getResetParameterName
-
setResetParameterName
-
getDDLObjectType
- Specified by:
getDDLObjectType
in interfaceSQLAlterStatement
- Specified by:
getDDLObjectType
in interfaceSQLDDLStatement
-
accept0
- Specified by:
accept0
in interfacePGSQLObject
-
accept0
- Overrides:
accept0
in classSQLStatementImpl
-