Package com.alibaba.druid.sql.ast
Interface SQLStatement
- All Superinterfaces:
SQLDbTypedObject,SQLObject
- All Known Subinterfaces:
DB2Statement,MySqlShowStatement,MySqlStatement,OracleAlterStatement,OracleDDLStatement,OracleStatement,OscarStatement,PGSQLStatement,SQLAlterStatement,SQLCreateStatement,SQLDDLStatement,SQLDropStatement,SQLLockTableStatement,SQLServerStatement,SQLShowStatement
- All Known Implementing Classes:
AntsparkCreateTableStatement,BlinkCreateTableStatement,ClickhouseCreateTableStatement,CobarShowStatus,DB2CreateTableStatement,DB2StatementImpl,DB2ValuesStatement,DrdsBaselineStatement,DrdsCancelDDLJob,DrdsChangeDDLJob,DrdsClearDDLJobCache,DrdsInspectDDLJobCache,DrdsRecoverDDLJob,DrdsRemoveDDLJob,DrdsRollbackDDLJob,DrdsShowDDLJobs,DrdsShowGlobalIndex,DrdsShowMetadataLock,HiveAddJarStatement,HiveCreateFunctionStatement,HiveCreateTableStatement,HiveInsert,HiveInsertStatement,HiveLoadDataStatement,HiveMsckRepairStatement,HiveMultiInsertStatement,MySqlAlterEventStatement,MysqlAlterFullTextStatement,MySqlAlterLogFileGroupStatement,MySqlAlterServerStatement,MySqlAlterTablespaceStatement,MySqlAlterUserStatement,MySqlAnalyzeStatement,MySqlBinlogStatement,MySqlCaseStatement,MySqlChecksumTableStatement,MySqlCheckTableStatement,MySqlClearPlanCacheStatement,MySqlCreateAddLogFileGroupStatement,MySqlCreateEventStatement,MySqlCreateExternalCatalogStatement,MysqlCreateFullTextAnalyzerStatement,MysqlCreateFullTextCharFilterStatement,MysqlCreateFullTextDictionaryStatement,MysqlCreateFullTextTokenFilterStatement,MysqlCreateFullTextTokenizerStatement,MySqlCreateServerStatement,MySqlCreateTableSpaceStatement,MySqlCreateTableStatement,MySqlCreateUserStatement,MySqlCursorDeclareStatement,MysqlDeallocatePrepareStatement,MySqlDeclareConditionStatement,MySqlDeclareHandlerStatement,MySqlDeclareStatement,MySqlDeleteStatement,MySqlDisabledPlanCacheStatement,MysqlDropFullTextStatement,MySqlExecuteForAdsStatement,MySqlExecuteStatement,MySqlExplainPlanCacheStatement,MySqlExplainStatement,MySqlFlashbackStatement,MySqlFlushStatement,MySqlHelpStatement,MySqlHintStatement,MySqlInsertStatement,MySqlIterateStatement,MySqlKillStatement,MySqlLeaveStatement,MySqlLoadDataInFileStatement,MySqlLoadXmlStatement,MySqlLockTableStatement,MySqlManageInstanceGroupStatement,MySqlMigrateStatement,MySqlOptimizeStatement,MySqlPrepareStatement,MySqlRaftLeaderTransferStatement,MySqlRaftMemberChangeStatement,MySqlRenameSequenceStatement,MySqlRenameTableStatement,MySqlRepeatStatement,MySqlResetStatement,MySqlSelectIntoStatement,MySqlSetTransactionStatement,MySqlShowAuthorsStatement,MySqlShowBinaryLogsStatement,MySqlShowBinLogEventsStatement,MySqlShowBroadcastsStatement,MySqlShowCharacterSetStatement,MySqlShowClusterNameStatement,MySqlShowCollationStatement,MySqlShowConfigStatement,MySqlShowContributorsStatement,MySqlShowCreateDatabaseStatement,MySqlShowCreateEventStatement,MysqlShowCreateFullTextStatement,MySqlShowCreateFunctionStatement,MySqlShowCreateProcedureStatement,MySqlShowCreateTriggerStatement,MySqlShowDatabaseStatusStatement,MySqlShowDatasourcesStatement,MysqlShowDbLockStatement,MySqlShowDdlStatusStatement,MySqlShowDsStatement,MySqlShowEnginesStatement,MySqlShowEngineStatement,MySqlShowErrorsStatement,MySqlShowEventsStatement,MysqlShowFullTextStatement,MySqlShowFunctionCodeStatement,MySqlShowFunctionStatusStatement,MySqlShowGrantsStatement,MySqlShowHelpStatement,MySqlShowHMSMetaStatement,MysqlShowHtcStatement,MySqlShowJobStatusStatement,MySqlShowMasterLogsStatement,MySqlShowMasterStatusStatement,MySqlShowMigrateTaskStatusStatement,MySqlShowNodeStatement,MySqlShowOpenTablesStatement,MySqlShowPartitionsStatement,MySqlShowPhysicalProcesslistStatement,MySqlShowPlanCacheStatement,MySqlShowPlanCacheStatusStatement,MySqlShowPluginsStatement,MySqlShowPrivilegesStatement,MySqlShowProcedureCodeStatement,MySqlShowProcedureStatusStatement,MySqlShowProcessListStatement,MySqlShowProfilesStatement,MySqlShowProfileStatement,MySqlShowRelayLogEventsStatement,MySqlShowRuleStatement,MySqlShowRuleStatusStatement,MySqlShowSequencesStatement,MySqlShowSlaveHostsStatement,MySqlShowSlaveStatusStatement,MySqlShowSlowStatement,MySqlShowStatusStatement,MysqlShowStcStatement,MySqlShowTableStatusStatement,MySqlShowTopologyStatement,MySqlShowTraceStatement,MySqlShowTriggersStatement,MySqlShowWarningsStatement,MySqlStatementImpl,MySqlUnlockTablesStatement,MySqlUpdatePlanCacheStatement,MySqlUpdateStatement,MySqlXAStatement,OdpsAddAccountProviderStatement,OdpsAddFileStatement,OdpsAddStatisticStatement,OdpsAddTableStatement,OdpsAddUserStatement,OdpsCopyStmt,OdpsCountStatement,OdpsCreateTableStatement,OdpsDeclareVariableStatement,OdpsExstoreStatement,OdpsGrantStmt,OdpsInstallPackageStatement,OdpsListStmt,OdpsPAIStmt,OdpsQueryAliasStatement,OdpsReadStatement,OdpsRemoveStatisticStatement,OdpsRemoveUserStatement,OdpsRestoreStatement,OdpsSetLabelStatement,OdpsShowChangelogsStatement,OdpsShowGrantsStmt,OdpsStatementImpl,OdpsUndoTableStatement,OdpsUnloadStatement,OracleAlterSessionStatement,OracleAlterSynonymStatement,OracleAlterTablespaceStatement,OracleAlterTriggerStatement,OracleAlterViewStatement,OracleContinueStatement,OracleCreateDatabaseDbLinkStatement,OracleCreateIndexStatement,OracleCreatePackageStatement,OracleCreateSynonymStatement,OracleCreateTableStatement,OracleCreateTypeStatement,OracleDeleteStatement,OracleDropDbLinkStatement,OracleExceptionStatement,OracleExecuteImmediateStatement,OracleExitStatement,OracleExplainStatement,OracleForStatement,OracleGotoStatement,OracleInsertStatement,OracleLabelStatement,OracleLockTableStatement,OracleMultiInsertStatement,OracleMultiInsertStatement.InsertIntoClause,OraclePipeRowStatement,OracleRaiseStatement,OracleRunStatement,OracleSetTransactionStatement,OracleStatementImpl,OracleUpdateStatement,OscarAlterSchemaStatement,OscarConnectToStatement,OscarCreateSchemaStatement,OscarDeleteStatement,OscarDropSchemaStatement,OscarInsertStatement,OscarSelectStatement,OscarShowStatement,OscarStartTransactionStatement,OscarUpdateStatement,PGAlterSchemaStatement,PGConnectToStatement,PGCreateSchemaStatement,PGDeleteStatement,PGDropSchemaStatement,PGInsertStatement,PGSelectStatement,PGShowStatement,PGStartTransactionStatement,PGUpdateStatement,PhoenixStatementImpl,PhoenixUpsertStatement,PrestoSelectStatement,SQLAlterDatabaseStatement,SQLAlterFunctionStatement,SQLAlterIndexStatement,SQLAlterMaterializedViewStatement,SQLAlterOutlineStatement,SQLAlterProcedureStatement,SQLAlterResourceGroupStatement,SQLAlterSequenceStatement,SQLAlterSystemGetConfigStatement,SQLAlterSystemSetConfigStatement,SQLAlterTableGroupStatement,SQLAlterTableStatement,SQLAlterTypeStatement,SQLAlterViewRenameStatement,SQLAlterViewStatement,SQLAnalyzeTableStatement,SQLArchiveTableStatement,SQLBackupStatement,SQLBlockStatement,SQLBuildTableStatement,SQLCallStatement,SQLCancelJobStatement,SQLCaseStatement,SQLCloneTableStatement,SQLCloseStatement,SQLCommentStatement,SQLCommitStatement,SQLCopyFromStatement,SQLCreateDatabaseStatement,SQLCreateFunctionStatement,SQLCreateIndexStatement,SQLCreateMaterializedViewStatement,SQLCreateOutlineStatement,SQLCreateProcedureStatement,SQLCreateResourceGroupStatement,SQLCreateRoleStatement,SQLCreateSequenceStatement,SQLCreateTableGroupStatement,SQLCreateTableStatement,SQLCreateTriggerStatement,SQLCreateUserStatement,SQLCreateViewStatement,SQLDeclareStatement,SQLDeleteStatement,SQLDescribeStatement,SQLDropCatalogStatement,SQLDropDatabaseStatement,SQLDropEventStatement,SQLDropFunctionStatement,SQLDropIndexStatement,SQLDropLogFileGroupStatement,SQLDropMaterializedViewStatement,SQLDropOfflineModelStatement,SQLDropOutlineStatement,SQLDropProcedureStatement,SQLDropResourceGroupStatement,SQLDropResourceStatement,SQLDropRoleStatement,SQLDropSequenceStatement,SQLDropServerStatement,SQLDropSynonymStatement,SQLDropTableGroupStatement,SQLDropTableSpaceStatement,SQLDropTableStatement,SQLDropTriggerStatement,SQLDropTypeStatement,SQLDropUserStatement,SQLDropViewStatement,SQLDumpStatement,SQLExplainAnalyzeStatement,SQLExplainStatement,SQLExportDatabaseStatement,SQLExportTableStatement,SQLExprStatement,SQLFetchStatement,SQLForStatement,SQLGrantStatement,SQLIfStatement,SQLImportDatabaseStatement,SQLImportTableStatement,SQLInsertInto,SQLInsertStatement,SQLListResourceGroupStatement,SQLLoopStatement,SQLMergeStatement,SQLOpenStatement,SQLOptimizeStatement,SQLPrivilegeStatement,SQLPurgeLogsStatement,SQLPurgeRecyclebinStatement,SQLPurgeTableStatement,SQLPurgeTemporaryOutputStatement,SQLRefreshMaterializedViewStatement,SQLReleaseSavePointStatement,SQLRenameUserStatement,SQLReplaceStatement,SQLRestoreStatement,SQLReturnStatement,SQLRevokeStatement,SQLRollbackStatement,SQLSavePointStatement,SQLScriptCommitStatement,SQLSelectStatement,SQLServerExecStatement,SQLServerInsertStatement,SQLServerRollbackStatement,SQLServerSetTransactionIsolationLevelStatement,SQLServerStatementImpl,SQLServerUpdateStatement,SQLServerWaitForStatement,SQLSetStatement,SQLShowACLStatement,SQLShowCatalogsStatement,SQLShowColumnsStatement,SQLShowCreateMaterializedViewStatement,SQLShowCreateTableStatement,SQLShowCreateViewStatement,SQLShowDatabasesStatement,SQLShowErrorsStatement,SQLShowFunctionsStatement,SQLShowGrantsStatement,SQLShowHistoryStatement,SQLShowIndexesStatement,SQLShowMaterializedViewStatement,SQLShowOutlinesStatement,SQLShowPackagesStatement,SQLShowPartitionsStmt,SQLShowProcessListStatement,SQLShowQueryTaskStatement,SQLShowRecylebinStatement,SQLShowRolesStatement,SQLShowRoleStatement,SQLShowSessionStatement,SQLShowStatisticListStmt,SQLShowStatisticStmt,SQLShowTableGroupsStatement,SQLShowTablesStatement,SQLShowUsersStatement,SQLShowVariantsStatement,SQLShowViewsStatement,SQLStartTransactionStatement,SQLStatementImpl,SQLSubmitJobStatement,SQLSyncMetaStatement,SQLTruncateStatement,SQLUpdateStatement,SQLUseStatement,SQLWhileStatement,SQLWhoamiStatement
-
Method Summary
Modifier and TypeMethodDescriptionclone()booleanvoidsetAfterSemi(boolean afterSemi) voidsetHeadHints(List<SQLCommentHint> headHints) toString()toString(VisitorFeature... features) 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
-
Method Details
-
getDbType
DbType getDbType()- Specified by:
getDbTypein interfaceSQLDbTypedObject
-
isAfterSemi
boolean isAfterSemi() -
setAfterSemi
void setAfterSemi(boolean afterSemi) -
clone
SQLStatement clone() -
getChildren
-
getHeadHintsDirect
List<SQLCommentHint> getHeadHintsDirect() -
setHeadHints
-
toString
String toString() -
toString
-
toLowerCaseString
String toLowerCaseString() -
toParameterizedString
String toParameterizedString()
-