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:
- alter table
-
-
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 Constructor Description PGAlterDatabaseStatement(DbType dbType)
-
Method Summary
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
clone, cloneTo, 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, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, 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, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLStatement
clone, getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString
-
-
-
-
Constructor Detail
-
PGAlterDatabaseStatement
public PGAlterDatabaseStatement(DbType dbType)
-
-
Method Detail
-
getDatabaseName
public SQLIdentifierExpr getDatabaseName()
-
setDatabaseName
public void setDatabaseName(SQLIdentifierExpr databaseName)
-
getRenameToName
public SQLIdentifierExpr getRenameToName()
-
setRenameToName
public void setRenameToName(SQLIdentifierExpr renameToName)
-
getOwnerToName
public SQLIdentifierExpr getOwnerToName()
-
setOwnerToName
public void setOwnerToName(SQLIdentifierExpr ownerToName)
-
getSetTableSpaceName
public SQLIdentifierExpr getSetTableSpaceName()
-
setSetTableSpaceName
public void setSetTableSpaceName(SQLIdentifierExpr setTableSpaceName)
-
isRefreshCollationVersion
public boolean isRefreshCollationVersion()
-
setRefreshCollationVersion
public void setRefreshCollationVersion(boolean refreshCollationVersion)
-
getSetParameterName
public SQLIdentifierExpr getSetParameterName()
-
setSetParameterName
public void setSetParameterName(SQLIdentifierExpr setParameterName)
-
isUseEquals
public boolean isUseEquals()
-
setUseEquals
public void setUseEquals(boolean useEquals)
-
getSetParameterValue
public SQLExpr getSetParameterValue()
-
setSetParameterValue
public void setSetParameterValue(SQLExpr setParameterValue)
-
isSetFromCurrent
public boolean isSetFromCurrent()
-
setSetFromCurrent
public void setSetFromCurrent(boolean setFromCurrent)
-
getResetParameterName
public SQLIdentifierExpr getResetParameterName()
-
setResetParameterName
public void setResetParameterName(SQLIdentifierExpr resetParameterName)
-
isHaveWith
public boolean isHaveWith()
-
setHaveWith
public void setHaveWith(boolean haveWith)
-
getAllowConnections
public Boolean getAllowConnections()
-
setAllowConnections
public void setAllowConnections(Boolean allowConnections)
-
getSetTemplateMark
public Boolean getSetTemplateMark()
-
setSetTemplateMark
public void setSetTemplateMark(Boolean setTemplateMark)
-
getDDLObjectType
public SQLDDLStatement.DDLObjectType getDDLObjectType()
- Specified by:
getDDLObjectTypein interfaceSQLAlterStatement- Specified by:
getDDLObjectTypein interfaceSQLDDLStatement
-
accept0
public void accept0(PGASTVisitor visitor)
- Specified by:
accept0in interfacePGSQLObject
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Overrides:
accept0in classSQLStatementImpl
-
-