Class SQLUnionQueryTableSource
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
com.alibaba.druid.sql.ast.statement.SQLUnionQueryTableSource
- All Implemented Interfaces:
SQLObject,SQLTableSource
-
Field Summary
FieldsFields inherited from class com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
alias, aliasHashCode64, flashback, hints, pivot, unpivotFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
ConstructorsConstructorDescriptionSQLUnionQueryTableSource(SQLUnionQuery union, String alias) SQLUnionQueryTableSource(String alias) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaccept0(SQLASTVisitor visitor) clone()booleanfindTableSourceWithColumn(long columnNameHash, String columnName, int option) getUnion()inthashCode()voidoutput(StringBuilder buf) voidsetUnion(SQLUnionQuery union) Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
aliasHashCode64, computeAlias, containsAlias, findColumn, findColumn, findTableSource, findTableSource, findTableSourceWithColumn, findTableSourceWithColumn, findTableSourceWithColumn, getAlias, getAlias2, getFlashback, getHints, getHintsSize, getPivot, getUnpivot, resolveColum, setAlias, setFlashback, setHints, setPivot, setUnpivotMethods 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, 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, putAttribute, setParent
-
Field Details
-
columns
-
-
Constructor Details
-
SQLUnionQueryTableSource
public SQLUnionQueryTableSource() -
SQLUnionQueryTableSource
-
SQLUnionQueryTableSource
-
SQLUnionQueryTableSource
-
-
Method Details
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
output
- Specified by:
outputin interfaceSQLObject- Overrides:
outputin classSQLObjectImpl
-
getUnion
-
setUnion
-
clone
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLTableSource- Overrides:
clonein classSQLTableSourceImpl
-
getColumns
-
equals
- Overrides:
equalsin classSQLTableSourceImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classSQLTableSourceImpl
-
findTableSourceWithColumn
- Specified by:
findTableSourceWithColumnin interfaceSQLTableSource- Overrides:
findTableSourceWithColumnin classSQLTableSourceImpl
-