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, hintsFields 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 voidaccept0(SQLASTVisitor visitor) voidclone()voidbooleanfindColumn(long columnNameHash) findTableSourceWithColumn(long columnNameHash, String columnName, int option) findTableSourceWithColumn(String columnName) inthashCode()voidMethods 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, setHintsMethods 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, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
accept0in classSQLObjectImpl
-
cloneTo
-
clone
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLTableSource- Overrides:
clonein classSQLTableSourceImpl
-
findTableSourceWithColumn
- Specified by:
findTableSourceWithColumnin interfaceSQLTableSource- Overrides:
findTableSourceWithColumnin classSQLTableSourceImpl
-
findTableSourceWithColumn
- Specified by:
findTableSourceWithColumnin interfaceSQLTableSource- Overrides:
findTableSourceWithColumnin classSQLTableSourceImpl
-
equals
- Overrides:
equalsin classSQLTableSourceImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classSQLTableSourceImpl
-
getColumns
-
addColumn
-
findColumn
- Specified by:
findColumnin interfaceSQLTableSource- Overrides:
findColumnin classSQLTableSourceImpl
-