Class SQLSubqueryTableSource
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
com.alibaba.druid.sql.ast.statement.SQLSubqueryTableSource
- All Implemented Interfaces:
SQLObject
,SQLTableSource
- Direct Known Subclasses:
OracleSelectSubqueryTableSource
-
Field Summary
FieldsFields inherited from class com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
alias, aliasHashCode64, flashback, hints
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
Constructor Summary
ConstructorsConstructorDescriptionSQLSubqueryTableSource
(SQLSelect select) SQLSubqueryTableSource
(SQLSelectQuery query, String alias) SQLSubqueryTableSource
(SQLSelect select, String alias) SQLSubqueryTableSource
(String alias) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
accept0
(SQLASTVisitor visitor) void
clone()
void
boolean
findColumn
(long columnNameHash) findTableSourceWithColumn
(long columnNameHash, String columnName, int option) findTableSourceWithColumn
(String columnName) int
hashCode()
void
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
aliasHashCode64, computeAlias, containsAlias, findColumn, findTableSource, findTableSource, findTableSourceWithColumn, findTableSourceWithColumn, getAlias, getAlias2, getFlashback, getHints, getHintsSize, resolveColum, setAlias, setFlashback, setHints
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, toString
Methods inherited from class java.lang.Object
finalize, getClass, 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
-
Field Details
-
select
-
columns
-
-
Constructor Details
-
SQLSubqueryTableSource
public SQLSubqueryTableSource() -
SQLSubqueryTableSource
-
SQLSubqueryTableSource
-
SQLSubqueryTableSource
-
SQLSubqueryTableSource
-
SQLSubqueryTableSource
-
-
Method Details
-
getSelect
-
setSelect
-
accept0
- Specified by:
accept0
in classSQLObjectImpl
-
cloneTo
-
clone
- Specified by:
clone
in interfaceSQLObject
- Specified by:
clone
in interfaceSQLTableSource
- Overrides:
clone
in classSQLTableSourceImpl
-
findTableSourceWithColumn
- Specified by:
findTableSourceWithColumn
in interfaceSQLTableSource
- Overrides:
findTableSourceWithColumn
in classSQLTableSourceImpl
-
findTableSourceWithColumn
- Specified by:
findTableSourceWithColumn
in interfaceSQLTableSource
- Overrides:
findTableSourceWithColumn
in classSQLTableSourceImpl
-
equals
- Overrides:
equals
in classSQLTableSourceImpl
-
hashCode
public int hashCode()- Overrides:
hashCode
in classSQLTableSourceImpl
-
getColumns
-
addColumn
-
findColumn
- Specified by:
findColumn
in interfaceSQLTableSource
- Overrides:
findColumn
in classSQLTableSourceImpl
-